• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • m2release-plugin
    • None
    • nexus 1.5.0 pro

      occaisionally hudson closes an incorrect repository for an artifact.

          [JENKINS-6630] plugin can close incorrect nexus stage

          James Nord added a comment -

          The client library that is used (nexus-stage-client) assumes it is run from the same machine with the same user agent settings as the build was deployed with.
          Hudson and Maven are in separate processes and may have different user agents.

          The use of the stage client needs to be removed and replaced with a custome solution using the Staging REST API.

          James Nord added a comment - The client library that is used (nexus-stage-client) assumes it is run from the same machine with the same user agent settings as the build was deployed with. Hudson and Maven are in separate processes and may have different user agents. The use of the stage client needs to be removed and replaced with a custome solution using the Staging REST API.

          James Nord added a comment - see http://nexus.sonatype.org/mailing-list-dev-archives.html#nabble-td27501709 and http://nexus.sonatype.org/mailing-list-dev-archives.html#nabble-td27501709

          Alan Harder added a comment -

          r32289 | teilo | 2010-06-25 10:02:18 -0700 (Fri, 25 Jun 2010)
          Changed paths:
          M /trunk/hudson/plugins/m2release/plugin/src/main/java/org/jvnet/hudson/plugins/m2release/M2Relea
          seAction.java
          M /trunk/hudson/plugins/m2release/plugin/src/main/java/org/jvnet/hudson/plugins/m2release/M2Relea
          seBuildWrapper.java
          M /trunk/hudson/plugins/m2release/plugin/src/main/java/org/jvnet/hudson/plugins/m2release/nexus/S
          tageClient.java
          M /trunk/hudson/plugins/m2release/plugin/src/main/resources/org/jvnet/hudson/plugins/m2release/M2
          ReleaseAction/index.jelly
          M /trunk/hudson/plugins/m2release/plugin/src/main/resources/org/jvnet/hudson/plugins/m2release/M2
          ReleaseBuildWrapper/config.jelly
          M /trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-actionRelease-appendHudsonUsername.
          html
          M /trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-actionRelease-specifyCustomScmComme
          ntPrefix.html
          M /trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-actionRelease-versioningMode.html
          M /trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-globalConfig.html
          M /trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-nexusURL.html
          M /trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-nexusUserPass.html
          M /trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-projectConfig-releaseGoals.html
          M /trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-projectConfig-selectAppendHudsonUse
          rname.html
          M /trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-projectConfig-selectCustomScmCommen
          tPrefix.html
          M /trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-projectConfig-versioningMode.html
          M /trunk/hudson/plugins/m2release/plugin/src/test/java/org/jvnet/hudson/plugins/m2release/nexus/S
          tageTest.java

          [FIXED JENKINS-6630] final bits of the puzzle to close the correct stage.

          Alan Harder added a comment - r32289 | teilo | 2010-06-25 10:02:18 -0700 (Fri, 25 Jun 2010) Changed paths: M /trunk/hudson/plugins/m2release/plugin/src/main/java/org/jvnet/hudson/plugins/m2release/M2Relea seAction.java M /trunk/hudson/plugins/m2release/plugin/src/main/java/org/jvnet/hudson/plugins/m2release/M2Relea seBuildWrapper.java M /trunk/hudson/plugins/m2release/plugin/src/main/java/org/jvnet/hudson/plugins/m2release/nexus/S tageClient.java M /trunk/hudson/plugins/m2release/plugin/src/main/resources/org/jvnet/hudson/plugins/m2release/M2 ReleaseAction/index.jelly M /trunk/hudson/plugins/m2release/plugin/src/main/resources/org/jvnet/hudson/plugins/m2release/M2 ReleaseBuildWrapper/config.jelly M /trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-actionRelease-appendHudsonUsername. html M /trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-actionRelease-specifyCustomScmComme ntPrefix.html M /trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-actionRelease-versioningMode.html M /trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-globalConfig.html M /trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-nexusURL.html M /trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-nexusUserPass.html M /trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-projectConfig-releaseGoals.html M /trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-projectConfig-selectAppendHudsonUse rname.html M /trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-projectConfig-selectCustomScmCommen tPrefix.html M /trunk/hudson/plugins/m2release/plugin/src/main/webapp/help-projectConfig-versioningMode.html M /trunk/hudson/plugins/m2release/plugin/src/test/java/org/jvnet/hudson/plugins/m2release/nexus/S tageTest.java [FIXED JENKINS-6630] final bits of the puzzle to close the correct stage.

            Unassigned Unassigned
            teilo James Nord
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: