-
-
Save bstopp/2e9fe6eef1e80f97e90b37544cb5053f to your computer and use it in GitHub Desktop.
Mask Passwords Issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node { | |
stage('Build') { | |
def pw = 'My Secret!' | |
List pairs = [] | |
pairs << [var: 'SECRET_WORD', password: pw] | |
maskPasswords(varPasswordPairs: pairs) { | |
echo "Hello ${pw}!" | |
} | |
} | |
} |
Author
bstopp
commented
Apr 20, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment