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.
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.