Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-68062

blueocean not respect masked passwords

XMLWordPrintable

      When I'm masing a password by using MaskPasswordsBuildWrapper the password will be shown with ***** on the jenkins console, while in the blue ocean on the step header description (class="result-item-label-desc")

       

       

      how to reproduce 

      wrap([$class: 'MaskPasswordsBuildWrapper', varPasswordPairs: [[password: app_password, var: 'SECRET']]]) {      
        def APP_TOKEN = sh(returnStdout: true, script: "curl -fsSL -X POST "$APP_URL\" -H 'Content-Type: application/json' --data {\"email\":\"user@bla.com\",\"password\":\"$app_password\"}' | jq -r data.token").trim()
      }
      

       

       

            Unassigned Unassigned
            dordor dor s
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: