-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Minor
-
Component/s: credentials-binding-plugin
-
None
-
Environment:Jenkins ver. 1.651.3.1
Credentials 2.1.4
Pipeline 2.1
If a password have some especial characters it is nor mask
Steps to reproduce
- create a credential with password
\!|"@·#$%&¬/()≠=?¿'`+*´¨{.,;:-_<>}ªºand ID ID-NOT-MASK
- Create a Pipeline Job with this Pipeline Script
stage 'test' node(){ withCredentials([[$class: 'UsernamePasswordMultiBinding', credentialsId: 'ID-NOT-MASK', passwordVariable: 'PASSWORD', usernameVariable: 'USERNAME']]) { sh 'echo $USERNAME $PASSWORD' } }
- Run the job and you will see the password on console output
- relates to
-
JENKINS-31096 Unicode characters in console logs do not print correctly in Workflow builds
-
- Resolved
-