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

withMaven Disables Containing MaskPasswordsBuildWrapper

    Details

    • Similar Issues:

      Description

      If a withMaven block is placed inside a MaskPasswordsBuildWrapper, passwords are displayed in clear text. i.e.

      node {
      wrap([$class: 'MaskPasswordsBuildWrapper']) {
         //Password masked here.
         withMaven(...) {
             //Password printed in Clear Text
          }
      }
      }
      

      Placing the wrapper inside the withMaven works correctly.

        Attachments

          Issue Links

            Activity

            mbidewel Mark Bidewell created issue -
            cleclerc Cyrille Le Clerc made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-38027 [ JENKINS-38027 ]
            alobato Alvaro Lobato made changes -
            Remote Link This issue links to "PR (Web Link)" [ 14954 ]
            alobato Alvaro Lobato made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            alobato Alvaro Lobato made changes -
            Link This issue is blocked by JENKINS-38027 [ JENKINS-38027 ]
            alobato Alvaro Lobato made changes -
            Status In Progress [ 3 ] Closed [ 6 ]
            Resolution Fixed [ 1 ]
            cleclerc Cyrille Le Clerc made changes -
            Description If a withMaven block is placed inside a MaskPasswordsBuildWrapper, passwords are displayed in clear text. i.e.

            node {
            wrap([$class: 'MaskPasswordsBuildWrapper']) {
               //Password masked here.
               withMaven(...) {
                   //Password printed in Clear Text
                }
            }
            }

            Placing the wrapper inside the withMaven works correctly.
            If a withMaven block is placed inside a MaskPasswordsBuildWrapper, passwords are displayed in clear text. i.e.

            {code}
            node {
            wrap([$class: 'MaskPasswordsBuildWrapper']) {
               //Password masked here.
               withMaven(...) {
                   //Password printed in Clear Text
                }
            }
            }
            {code}

            Placing the wrapper inside the withMaven works correctly.

              People

              • Assignee:
                alobato Alvaro Lobato
                Reporter:
                mbidewel Mark Bidewell
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: