Hide password in Jenkins console

How to hide the password in Jenkins console output? some build Jobs may require a username and the password is hidden for security. I use Jenkins mask password plugin to hide the password in Jenkins console output.

Jenkins Mask Passwords plugin

This plugin allows masking passwords that may appear in the console.

You need to install the Mask passwords plugin in Jenkins.

Jenkins Mask Passwords plugin

For example

I will Mask_Passwords_Before job as a picture below

Jenkins Mask Passwords plugin

As picture top. Password will show in console. it is dangerous.

Jenkins Mask Passwords plugin

Now, I use the mask password plugin for the hidden passwords in console output Jenkins.

Create Mask_Passwords_After job

Jenkins Mask Passwords plugin

The result, Passwords have hidden in console output Jenkins.

Hide password in Jenkins console

Link Youtube Hide password in Jenkins console

Conclusion

Through the article, You can “Hide password in Jenkins console as above. I hope will this your helpful. Thank you for reading the DevopsRoles page!

About HuuPV

My name is Huu. I love technology and especially Devops Skill such as Docker, vagrant, git so forth. I likes open-sources. so I created DevopsRoles.com site to share the knowledge that I have learned. My Job: IT system administrator. Hobbies: summoners war game, gossip.
View all posts by HuuPV →

1 thought on “Hide password in Jenkins console

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.