If password have some characters it is not mask

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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

            Assignee:
            Jesse Glick
            Reporter:
            Ivan Fernandez Calvo
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: