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
[JENKINS-64338] - mask credentials also outside of log #174
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution.
Seems like the test are broken on Jenkins 2.277.1, JDK 8 and ubuntu-20.04 |
Neat, I forgot that we actually do have non mock test for withVault hashicorp-vault-plugin/src/test/resources/com/datapipe/jenkins/vault/util/pipeline.groovy Line 12 in 2e2760b
Lines 280 to 292 in 2e2760b
hashicorp-vault-plugin/src/test/resources/com/datapipe/jenkins/vault/util/custom_credential.groovy Line 28 in 5a1eeda
Lines 46 to 64 in 5a1eeda
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, is there anything missing on your end @scddev ?
Looks fine for me also. |
https://issues.jenkins.io/browse/JENKINS-64338
To have proper masking like in credential-plugin, a similar approach is chosen by using also a Step instead of the BuildWrapper.