The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.
For a list of other such plugins, see the Pipeline Steps Reference page.
maskPasswords: Mask passwords and regexes (and enable global passwords)
When enabled, allows masking passwords that may appear in the console.
Passwords or regexes to be masked can be defined at three levels.
First, it is possible to select in Jenkins configuration screen the build parameters whose value must be masked. For example, selecting the Password Parameter type is a good idea.
Second, still in Jenkins' configuration screen, it is possible to define passwords to be masked as global Name/Password pairs, or regexes to be masked.
Third, on a per job basis (that is, in the current configuration screen), passwords to be masked can be defined as local Name/Password pairs, or regexes can be masked:
var : String
key : String
value : String
Please submit your feedback about this page through this quick form.
Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?
See existing feedback here.