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

withMaven Disables Containing MaskPasswordsBuildWrapper

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • pipeline-maven-plugin
    • None
    • Jenkins 2.7.4

      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.

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

              Created:
              Updated:
              Resolved: