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

promoted-builds plugin can't deploy to Maven repo

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Since commit c85e60f1 to the maven plugin in the main Jenkins repo, the promoted-builds plugin has not been able to deploy to a Maven repo. I have a pair of patches to fix it: one for the maven plugin and one for the promoted-builds plugin.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Michael Smith
          Path:
          changelog.html
          maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java
          http://jenkins-ci.org/commit/jenkins/e5c96723f3d77ada3c8a1e4da161d8e5134365c2
          Log:
          JENKINS-11766 Maven RedeployPublisher: fix promoted-builds deployment to Maven

          Add some indirection to allow the promoted-builds plugin's
          RedeployBatchTaskPublisher to override getMavenBuild() and return the
          promotion target's MavenModuleSetBuild object.

          Also requires a fix in promoted-builds.

          Signed-off-by: Michael Smith <msmith@cbnco.com>

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Michael Smith Path: changelog.html maven-plugin/src/main/java/hudson/maven/RedeployPublisher.java http://jenkins-ci.org/commit/jenkins/e5c96723f3d77ada3c8a1e4da161d8e5134365c2 Log: JENKINS-11766 Maven RedeployPublisher: fix promoted-builds deployment to Maven Add some indirection to allow the promoted-builds plugin's RedeployBatchTaskPublisher to override getMavenBuild() and return the promotion target's MavenModuleSetBuild object. Also requires a fix in promoted-builds. Signed-off-by: Michael Smith <msmith@cbnco.com>
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Michael Smith
          Path:
          pom.xml
          src/main/java/hudson/plugins/promoted_builds/tasks/RedeployBatchTaskPublisher.java
          http://jenkins-ci.org/commit/promoted-builds-plugin/3f78089153c44742f3c4c983938aa38c9bfa6cd0
          Log:
          RedeployBatchTaskPublisher: fix deployment to Maven repo (JENKINS-11766)

          Requires a corresponding fix in the maven plugin.

          Signed-off-by: Michael Smith <msmith@cbnco.com>

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Michael Smith Path: pom.xml src/main/java/hudson/plugins/promoted_builds/tasks/RedeployBatchTaskPublisher.java http://jenkins-ci.org/commit/promoted-builds-plugin/3f78089153c44742f3c4c983938aa38c9bfa6cd0 Log: RedeployBatchTaskPublisher: fix deployment to Maven repo ( JENKINS-11766 ) Requires a corresponding fix in the maven plugin. Signed-off-by: Michael Smith <msmith@cbnco.com>
          Hide
          dogfood dogfood added a comment -
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #1409
          Hide
          oliver_2013 Oliver Fabry added a comment -

          Are there any news about this issue?

          Show
          oliver_2013 Oliver Fabry added a comment - Are there any news about this issue?
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Michael Smith
          Path:
          src/main/java/hudson/maven/RedeployPublisher.java
          http://jenkins-ci.org/commit/maven-plugin/608c35fe15c23f21eaa85f8f3888c5c180b6a5b4
          Log:
          JENKINS-11766 Maven RedeployPublisher: fix promoted-builds deployment to Maven

          Add some indirection to allow the promoted-builds plugin's
          RedeployBatchTaskPublisher to override getMavenBuild() and return the
          promotion target's MavenModuleSetBuild object.

          Also requires a fix in promoted-builds.

          Signed-off-by: Michael Smith <msmith@cbnco.com>

          Originally-Committed-As: e5c96723f3d77ada3c8a1e4da161d8e5134365c2

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Michael Smith Path: src/main/java/hudson/maven/RedeployPublisher.java http://jenkins-ci.org/commit/maven-plugin/608c35fe15c23f21eaa85f8f3888c5c180b6a5b4 Log: JENKINS-11766 Maven RedeployPublisher: fix promoted-builds deployment to Maven Add some indirection to allow the promoted-builds plugin's RedeployBatchTaskPublisher to override getMavenBuild() and return the promotion target's MavenModuleSetBuild object. Also requires a fix in promoted-builds. Signed-off-by: Michael Smith <msmith@cbnco.com> Originally-Committed-As: e5c96723f3d77ada3c8a1e4da161d8e5134365c2
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Both fixes has been integrated. I assume it is fixed in promoted-builds-2.5

          Show
          oleg_nenashev Oleg Nenashev added a comment - Both fixes has been integrated. I assume it is fixed in promoted-builds-2.5

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            msmith Michael Smith
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: