Reputation: 29514
I am working on Jenkins.
I have added secret text with Username and Password variable.
I am accessing the password variable using ${password_var1}
.
Currently this prints the password as such in the console output.
How to mask this Secret text Password variable in the console output.
Upvotes: 1
Views: 2874
Reputation: 31
try using "Inject passwords to the build as environment variables" from Build Environment. It works.
Upvotes: 0