-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to download git repo within withVault block breaks #311
Comments
We also have this problem. It happens whenever we call anything that requires a node within a withVault block. For example, we found it when using "tool":
Output:
But if we just do, say, "echo" it works fine:
Output:
It does not matter if we use withVault in the Pipeline options, even if that is run with "agent none" and the agent is assigned in the stage instead:
So it seems related specifically to printing masked values. I believe it is related to a new version of the credentials-binding plugin (631.v861c06d062b_4) that includes the following PR: jenkinsci/credentials-binding-plugin#260 The PR is related to: https://www.jenkins.io/security/advisory/2023-04-12/#SECURITY-3075 It might be related to: https://www.jenkins.io/security/advisory/2023-05-16/#SECURITY-3077 |
I confirm that it's linked to this PR, I've downgraded the version of this plugin to make my pipelines work again. |
Tracked as https://issues.jenkins.io/browse/JENKINS-71788 but unfortunately this plugin seems to have kept both GitHub Issues and Jira open, so it is unclear which is authoritative. |
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Running on kubernetes 1.24.6 on AKS
Reproduction steps
This is producing the error for me.
Expected Results
The repo should be downloaded
Actual Results
Anything else?
No response
The text was updated successfully, but these errors were encountered: