• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 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

      1. create a credential with password
        \!|"@·#$%&¬/()≠=?¿'`+*´¨{.,;:-_<>}ªº
        

        and ID ID-NOT-MASK

      2. 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'
            }
        }
        
      3. Run the job and you will see the password on console output

          [JENKINS-36566] If password have some characters it is not mask

            jglick Jesse Glick
            ifernandezcalvo Ivan Fernandez Calvo
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: