-
Bug
-
Resolution: Fixed
-
Major
-
None
We want to have a block statement that allows sensitive tokens to be masked from the console output inside the body, such as:
maskPassword("s3cr3t!") { echo "Hello s3cr3t!" // this should produce "Hello ***********" or something }
The exact syntax can be anything, but the above one would prove the concept that this can be done in a composable manner.
- depends on
-
JENKINS-27392 API to decorate console output
-
- Resolved
-
- is related to
-
JENKINS-28219 After entering a username/password combo in Credentials Binding, I can print out the value of the password inside a Jenkins job
-
- Resolved
-
-
JENKINS-28719 Store environment variable values for CoreWrapperStep as Secret
-
- Open
-
- relates to
-
JENKINS-36007 Way to mask arbitrary Secret (was: Password is clear on log with input parameter)
-
- Open
-
- links to
Would like the Mask Passwords plugin to be able to do this via SimpleBuildWrapper; and BindingStep in the Credentials Binding plugin should also do this.