Search code examples
jenkinsjenkins-pipelinejenkins-pluginspassword-protection

How to mask parameters and password in Jenkins build history?


When using Password parameter to accept user credentials, Jenkins Build History -> Parameters is showing Password in plain text.

enter image description here

How to mask it?


Solution

  • You can use Mask Passwords Plugin.

    With this plugin, passwords don't appear as plain text in the job configuration or in the console.