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

promoted-builds plugin can't deploy to Maven repo

      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.

          [JENKINS-11766] promoted-builds plugin can't deploy to Maven repo

          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>

          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>

          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>

          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>

          dogfood added a comment -

          dogfood added a comment - Integrated in jenkins_main_trunk #1409

          Oliver Fabry added a comment -

          Are there any news about this issue?

          Oliver Fabry added a comment - Are there any news about this issue?

          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

          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

          Oleg Nenashev added a comment -

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

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

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

              Created:
              Updated:
              Resolved: