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

Maven SettingsProvider and GlobalSettingsProvider should support Pipeline jobs

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Maven SettingsProvider and GlobalSettingsProvider are designed for 'classic' Jenkins jobs relying on "AbstractBuild" and are NOT compatible with pipeline jobs that rely on "WorkflowRun" and "Run" (see jenkins.mvn.SettingsProvider#supplySettings(AbstractBuild<?, ?> build, TaskListener listener))".

      Maven SettingsProvider and GlobalSettingsProvider should be able to supply Maven settings.xml and global settings.xml to "Run".

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Cyrille Le Clerc
            Path:
            pom.xml
            src/main/java/org/jenkinsci/plugins/configfiles/buildwrapper/ConfigFileBuildWrapper.java
            src/main/java/org/jenkinsci/plugins/configfiles/maven/job/MvnGlobalSettingsProvider.java
            src/main/java/org/jenkinsci/plugins/configfiles/maven/job/MvnSettingsProvider.java
            http://jenkins-ci.org/commit/config-file-provider-plugin/58621a3f59c16401070853497640c7f0dd7e4ec9
            Log:
            JENKINS-40665JENKINS-39407 Support Maven Settings Provider and Maven Global Settings Provider for pipeline

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Cyrille Le Clerc Path: pom.xml src/main/java/org/jenkinsci/plugins/configfiles/buildwrapper/ConfigFileBuildWrapper.java src/main/java/org/jenkinsci/plugins/configfiles/maven/job/MvnGlobalSettingsProvider.java src/main/java/org/jenkinsci/plugins/configfiles/maven/job/MvnSettingsProvider.java http://jenkins-ci.org/commit/config-file-provider-plugin/58621a3f59c16401070853497640c7f0dd7e4ec9 Log: JENKINS-40665 JENKINS-39407 Support Maven Settings Provider and Maven Global Settings Provider for pipeline
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Cyrille Le Clerc
            Path:
            jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/WithMavenStepExecution.java
            jenkins-plugin/src/test/java/org/jenkinsci/plugins/pipeline/maven/WithMavenStepOnMasterTest.java
            http://jenkins-ci.org/commit/pipeline-maven-plugin/28d1d2a4f172ad5c823731d960ea6541deba8c35
            Log:
            JENKINS-40665 Add support for Maven global settings defined through Jenkins global configuration

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Cyrille Le Clerc Path: jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/WithMavenStepExecution.java jenkins-plugin/src/test/java/org/jenkinsci/plugins/pipeline/maven/WithMavenStepOnMasterTest.java http://jenkins-ci.org/commit/pipeline-maven-plugin/28d1d2a4f172ad5c823731d960ea6541deba8c35 Log: JENKINS-40665 Add support for Maven global settings defined through Jenkins global configuration
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Cyrille Le Clerc
            Path:
            jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/WithMavenStepExecution.java
            jenkins-plugin/src/test/java/org/jenkinsci/plugins/pipeline/maven/WithMavenStepOnMasterTest.java
            http://jenkins-ci.org/commit/pipeline-maven-plugin/90db6c5ed2a752c587aebfeba95d4372cf296fe6
            Log:
            JENKINS-40665 Add support for Maven settings defined through Jenkins global configuration

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Cyrille Le Clerc Path: jenkins-plugin/src/main/java/org/jenkinsci/plugins/pipeline/maven/WithMavenStepExecution.java jenkins-plugin/src/test/java/org/jenkinsci/plugins/pipeline/maven/WithMavenStepOnMasterTest.java http://jenkins-ci.org/commit/pipeline-maven-plugin/90db6c5ed2a752c587aebfeba95d4372cf296fe6 Log: JENKINS-40665 Add support for Maven settings defined through Jenkins global configuration
            Hide
            imod Dominik Bartholdi added a comment -

              i think this is done since a long time - please reopen if it is not as expected

            Show
            imod Dominik Bartholdi added a comment -   i think this is done since a long time - please reopen if it is not as expected

              People

              Assignee:
              imod Dominik Bartholdi
              Reporter:
              cleclerc Cyrille Le Clerc
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: