I feel as though I must be missing something simple here - what I want to do is create a parameterized build, where one of the parameters is a password. I do not want to store the password permanently in Jenkins. So far I have been able to mask the password in the console output using the "Mask Passwords" plugin, but no matter what, the EnvInject's "Injected environment variables" page on any of the builds displays the password in plain text.
I've tried a variety of things, including, but not limited to: Naming a "Mask Passwords" password the same as one of my password parameters Naming an "EnvInject" passwords the same as one of my password parameters
I've found https://issues.jenkins-ci.org/browse/JENKINS-12423 but I think it just refers to masking passwords from the console output.
I've tried this on a couple different OS and version combinations, but right now I'm just attempting to get this to work on: Windows 7 64bit Jenkins ver. 1.470 Environment Injector Plugin 1.55 Mask Passwords Plugin 2.7.2
But I can't seem to figure this out. I feel as though this is probably not an extremely uncommon setup, so I'm probably just missing something stupid.
Any help is greatly appreciated!
You can use Inject Environment Variable plugin via Flexible Publish plugin to inject an empty value into password parameter in the end of the build. In the Injected Vars tab you will see an empty value.