For a list of other such plugins, see the Pipeline Steps Reference page.
wrap([$class: 'MaskPasswordsBuildWrapper']): 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 Hudson's/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 Hudson's/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: