Skip to content
Permalink
Browse files
JENKINS-30146 Plugin is hanging builds when running concurrently
Signed-off-by: Shuaibing Li <Shuaibing.Li@lombardrisk.com>
  • Loading branch information
Shuaibing Li authored and Shuaibing Li committed Jan 18, 2016
1 parent d7a8741 commit c61dc3a416ff9adb6a3e59a25396877bae5632e0
@@ -115,7 +115,7 @@ public String getUrlName() {
AbstractBuild<?, ?> lastBuild = project.getLastBuild();
while (lastBuild != null && (lastBuild.isBuilding()
|| lastBuild.getAction(ACIPluginBuildAction.class) == null)) {
lastBuild = lastBuild.getPreviousBuild();
lastBuild = lastBuild.getPreviousCompletedBuild();
}
return lastBuild;
}
@@ -175,6 +175,6 @@ public boolean perform(
* Method that returns the status of the service required.
*/
public BuildStepMonitor getRequiredMonitorService() {
return BuildStepMonitor.BUILD;
return BuildStepMonitor.NONE;
}
}

0 comments on commit c61dc3a

Please sign in to comment.