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

mark maven settings / global settings as default for new jobs

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      As I have define a settings / global settings for my infrastructure, I'd like all maven jobs to use it without users to manually configure in advanced section - they probably don't know about this.

      ItemListener.onCreate could be used to enforce a maven setting/global setting that has been set to "apply by default"

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: imod
            Path:
            test/src/test/java/hudson/maven/MavenProjectTest.java
            test/src/test/java/hudson/tasks/MavenTest.java
            http://jenkins-ci.org/commit/jenkins/ad286c5197128e1a625c1a724350ea93b5c406a7
            Log:
            [FIXED JENKINS-17723] add test cases to verify defaulting global settings providers

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: imod Path: test/src/test/java/hudson/maven/MavenProjectTest.java test/src/test/java/hudson/tasks/MavenTest.java http://jenkins-ci.org/commit/jenkins/ad286c5197128e1a625c1a724350ea93b5c406a7 Log: [FIXED JENKINS-17723] add test cases to verify defaulting global settings providers
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Olivier Lamy
            Path:
            core/src/main/java/hudson/tasks/Maven.java
            core/src/main/java/jenkins/mvn/GlobalMavenConfig.java
            core/src/main/resources/hudson/tasks/Maven/config.jelly
            core/src/main/resources/jenkins/mvn/GlobalMavenConfig/config.groovy
            maven-plugin/src/main/java/hudson/maven/MavenModuleSet.java
            test/src/test/java/hudson/maven/MavenProjectTest.java
            test/src/test/java/hudson/tasks/MavenTest.java
            http://jenkins-ci.org/commit/jenkins/70f457d90eed4af593fd7817f49eb6e1fa366b5b
            Log:
            Merge pull request #772 from imod/default-maven-settings

            FIXES JENKINS-17723 - Default maven settings
            Good change !

            Compare: https://github.com/jenkinsci/jenkins/compare/4e37084360a3...70f457d90eed

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: core/src/main/java/hudson/tasks/Maven.java core/src/main/java/jenkins/mvn/GlobalMavenConfig.java core/src/main/resources/hudson/tasks/Maven/config.jelly core/src/main/resources/jenkins/mvn/GlobalMavenConfig/config.groovy maven-plugin/src/main/java/hudson/maven/MavenModuleSet.java test/src/test/java/hudson/maven/MavenProjectTest.java test/src/test/java/hudson/tasks/MavenTest.java http://jenkins-ci.org/commit/jenkins/70f457d90eed4af593fd7817f49eb6e1fa366b5b Log: Merge pull request #772 from imod/default-maven-settings FIXES JENKINS-17723 - Default maven settings Good change ! Compare: https://github.com/jenkinsci/jenkins/compare/4e37084360a3...70f457d90eed
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Olivier Lamy
            Path:
            changelog.html
            http://jenkins-ci.org/commit/jenkins/4627ec9f99d842f22c97023db00f5e3ded98d0b0
            Log:
            Update changelog.html

            changelog entry for JENKINS-17723

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: changelog.html http://jenkins-ci.org/commit/jenkins/4627ec9f99d842f22c97023db00f5e3ded98d0b0 Log: Update changelog.html changelog entry for JENKINS-17723
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #2511
            [FIXED JENKINS-17723] add test cases to verify defaulting global settings providers (Revision ad286c5197128e1a625c1a724350ea93b5c406a7)

            Result = UNSTABLE
            imod : ad286c5197128e1a625c1a724350ea93b5c406a7
            Files :

            • test/src/test/java/hudson/maven/MavenProjectTest.java
            • test/src/test/java/hudson/tasks/MavenTest.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #2511 [FIXED JENKINS-17723] add test cases to verify defaulting global settings providers (Revision ad286c5197128e1a625c1a724350ea93b5c406a7) Result = UNSTABLE imod : ad286c5197128e1a625c1a724350ea93b5c406a7 Files : test/src/test/java/hudson/maven/MavenProjectTest.java test/src/test/java/hudson/tasks/MavenTest.java
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Olivier Lamy
            Path:
            src/main/java/hudson/maven/MavenModuleSet.java
            http://jenkins-ci.org/commit/maven-plugin/21fbd55cfdc857b4a33614608b29fba5b21c3bb7
            Log:
            Merge pull request #772 from imod/default-maven-settings

            FIXES JENKINS-17723 - Default maven settings
            Good change !
            Originally-Committed-As: 70f457d90eed4af593fd7817f49eb6e1fa366b5b

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: src/main/java/hudson/maven/MavenModuleSet.java http://jenkins-ci.org/commit/maven-plugin/21fbd55cfdc857b4a33614608b29fba5b21c3bb7 Log: Merge pull request #772 from imod/default-maven-settings FIXES JENKINS-17723 - Default maven settings Good change ! Originally-Committed-As: 70f457d90eed4af593fd7817f49eb6e1fa366b5b

              People

              Assignee:
              domi Dominik Bartholdi
              Reporter:
              ndeloof Nicolas De Loof
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: