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

            Hide
            alobato Alvaro Lobato added a comment -

            A PR with a fix has been submitted.

            Show
            alobato Alvaro Lobato added a comment - A PR with a fix has been submitted.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Alvaro Lobato
            Path:
            src/main/java/org/jenkinsci/plugins/pipeline/maven/WithMavenStepExecution.java
            http://jenkins-ci.org/commit/pipeline-maven-plugin/af602060a639d9bc2817cda98280feb2f549fc9a
            Log:
            JENKINS-38709 - Merge previous console log filter instead of overriding it.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Alvaro Lobato Path: src/main/java/org/jenkinsci/plugins/pipeline/maven/WithMavenStepExecution.java http://jenkins-ci.org/commit/pipeline-maven-plugin/af602060a639d9bc2817cda98280feb2f549fc9a Log: JENKINS-38709 - Merge previous console log filter instead of overriding it.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Alvaro Lobato
            Path:
            src/main/java/org/jenkinsci/plugins/pipeline/maven/WithMavenStepExecution.java
            http://jenkins-ci.org/commit/pipeline-maven-plugin/1d71349cffe4fbb4d3776c11ad2eea4584150f08
            Log:
            Merge pull request #7 from alvarolobato/JENKINS-38709

            JENKINS-38709 - Merge previous console log filter instead of overriding it.

            Compare: https://github.com/jenkinsci/pipeline-maven-plugin/compare/c2d13653159c...1d71349cffe4

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Alvaro Lobato Path: src/main/java/org/jenkinsci/plugins/pipeline/maven/WithMavenStepExecution.java http://jenkins-ci.org/commit/pipeline-maven-plugin/1d71349cffe4fbb4d3776c11ad2eea4584150f08 Log: Merge pull request #7 from alvarolobato/ JENKINS-38709 JENKINS-38709 - Merge previous console log filter instead of overriding it. Compare: https://github.com/jenkinsci/pipeline-maven-plugin/compare/c2d13653159c...1d71349cffe4
            Hide
            alobato Alvaro Lobato added a comment -

            Release 0.3 was created with a fix to this bug.

            Show
            alobato Alvaro Lobato added a comment - Release 0.3 was created with a fix to this bug.

              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: