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

Regression in jenkins .401 maven plugin - deploy to repository post-task

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • maven-plugin
    • None
    • jenkins .401

    Description

      After upgrading to latest jenkins .401 the post-build task deploy to maven repository has resurfaced:

      Failed to transfer file: http://xxxx/nexus/content/repositories/snapshots/some/artifact-1.2-20110317.153602-23.pom. Return code is: 401

      This worked before upgrading.
      I put in the url to deploy to + the server id in settings.xml containing the credentials

      Attachments

        Issue Links

          Activity

            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #1912
            JENKINS-9084 setting maven home is enough for global settings to be m.getHome()/conf/settings.xml (Revision 31b0ebee0303432683a7f805c901a6ecaa7ab26d)

            Result = UNSTABLE
            Nicolas De Loof : 31b0ebee0303432683a7f805c901a6ecaa7ab26d
            Files :

            • maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #1912 JENKINS-9084 setting maven home is enough for global settings to be m.getHome()/conf/settings.xml (Revision 31b0ebee0303432683a7f805c901a6ecaa7ab26d) Result = UNSTABLE Nicolas De Loof : 31b0ebee0303432683a7f805c901a6ecaa7ab26d Files : maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #1913
            JENKINS-9084 setting maven home is enough for global settings to be m.getHome()/conf/settings.xml (Revision 51d5220f6c19c4e7d5c35a07b62219472b2a7870)

            Result = UNSTABLE
            Nicolas De Loof : 51d5220f6c19c4e7d5c35a07b62219472b2a7870
            Files :

            • maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #1913 JENKINS-9084 setting maven home is enough for global settings to be m.getHome()/conf/settings.xml (Revision 51d5220f6c19c4e7d5c35a07b62219472b2a7870) Result = UNSTABLE Nicolas De Loof : 51d5220f6c19c4e7d5c35a07b62219472b2a7870 Files : maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java

            Code changed in jenkins
            User: Olivier Lamy
            Path:
            src/main/java/hudson/maven/RedeployPublisher.java
            http://jenkins-ci.org/commit/maven-plugin/dd2fafb45e1d23c347674a7bdcd2f222b5a10113
            Log:
            [FIXED JENKINS-9084] Regression in jenkins .401 maven plugin - deploy to repository post-task
            logic to get remote settings.xml file, test in this order (as maven do)
            1. configured alternateSettings
            2. ~/.m2/settings.xml
            3. $M2_HOME/conf/settings.xml

            Originally-Committed-As: 0868af63972351c8fdf051fbc3673aa1be03e5a2

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: src/main/java/hudson/maven/RedeployPublisher.java http://jenkins-ci.org/commit/maven-plugin/dd2fafb45e1d23c347674a7bdcd2f222b5a10113 Log: [FIXED JENKINS-9084] Regression in jenkins .401 maven plugin - deploy to repository post-task logic to get remote settings.xml file, test in this order (as maven do) 1. configured alternateSettings 2. ~/.m2/settings.xml 3. $M2_HOME/conf/settings.xml Originally-Committed-As: 0868af63972351c8fdf051fbc3673aa1be03e5a2

            Code changed in jenkins
            User: Martijn Baay
            Path:
            src/main/java/hudson/maven/RedeployPublisher.java
            http://jenkins-ci.org/commit/maven-plugin/ee3d323696a97069294bf92ba4c550d42ad40af1
            Log:
            Fixed JENKINS-9084: Made sure the correct slave is detected even when it's the Master

            Originally-Committed-As: fe9347435fd326cdd3bc2b7482d4b10922f1c160

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Martijn Baay Path: src/main/java/hudson/maven/RedeployPublisher.java http://jenkins-ci.org/commit/maven-plugin/ee3d323696a97069294bf92ba4c550d42ad40af1 Log: Fixed JENKINS-9084 : Made sure the correct slave is detected even when it's the Master Originally-Committed-As: fe9347435fd326cdd3bc2b7482d4b10922f1c160

            Code changed in jenkins
            User: Nicolas De Loof
            Path:
            src/main/java/hudson/maven/RedeployPublisher.java
            http://jenkins-ci.org/commit/maven-plugin/d7527cbf0fd33c06e8ba206eef1de00ccaa1a2b7
            Log:
            JENKINS-9084 setting maven home is enough for global settings to be m.getHome()/conf/settings.xml
            @see hudson.maven.MavenUtil#createEmbedder
            Originally-Committed-As: 51d5220f6c19c4e7d5c35a07b62219472b2a7870

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De Loof Path: src/main/java/hudson/maven/RedeployPublisher.java http://jenkins-ci.org/commit/maven-plugin/d7527cbf0fd33c06e8ba206eef1de00ccaa1a2b7 Log: JENKINS-9084 setting maven home is enough for global settings to be m.getHome()/conf/settings.xml @see hudson.maven.MavenUtil#createEmbedder Originally-Committed-As: 51d5220f6c19c4e7d5c35a07b62219472b2a7870

            People

              olamy Olivier Lamy
              davidkarlsen2 David Karlsen
              Votes:
              13 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: