Hide password in Jenkins console

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

Jenkins Mask Passwords plugin

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

You need installed Mask passwords plugin in Jenkins.

Jenkins Mask Passwords plugin

For example

I will Mask_Passwords_Before job as picture

Jenkins Mask Passwords plugin

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

Jenkins Mask Passwords plugin

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

Create Mask_Passwords_After job

Jenkins Mask Passwords plugin

The result, Password have hidden in console output jenkins.

Jenkins Mask Passwords plugin

Link Youtube

Conclusion

Thought the article, You can “Hide password in Jenkins console as above. I hope will this your helpful.

, ,

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 *

Comment moderation is enabled. Your comment may take some time to appear.

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