-
Bug
-
Resolution: Fixed
-
Minor
-
None
if you try to schedule a release when there is already a another build scheduled the release request will silently ignored, and the user may think that the build is scheduled.
If you have a long build time then you will not know about this for a while
Should either let the user know a another build is in progress or kil the current scheduled build.
Code changed in hudson
User: : teilo
Path:
trunk/hudson/plugins/m2release/src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseAction.java
trunk/hudson/plugins/m2release/src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseBadgeAction.java
trunk/hudson/plugins/m2release/src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseBuildWrapper.java
trunk/hudson/plugins/m2release/src/main/java/org/jvnet/hudson/plugins/m2release/nexus/StageClient.java
trunk/hudson/plugins/m2release/src/main/resources/org/jvnet/hudson/plugins/m2release/M2ReleaseAction/failed.jelly
trunk/hudson/plugins/m2release/src/main/resources/org/jvnet/hudson/plugins/m2release/M2ReleaseBadgeAction/badge.jelly
http://jenkins-ci.org/commit/34936
Log:
[FIXED JENKINS-6791] - Scheduling a release will fail silently if a build is already in the queue.
Modified badge.