Skip to content
Permalink
Browse files

Don't make concurrent builds wait for the previous build to finish [FIX

JENKINS-26892]
  • Loading branch information...
kutzi committed Feb 14, 2015
1 parent b27e1c4 commit bcd6474c089465e21013b729d3444def112294be
@@ -656,7 +656,7 @@ private IMMessageTarget calculateIMTarget(User target, BuildListener listener) {
*/
@Override
public BuildStepMonitor getRequiredMonitorService() {
return BuildStepMonitor.BUILD;
return BuildStepMonitor.NONE;
}

// migrate old instances
@@ -26,7 +26,7 @@ public String buildStartMessage(IMPublisher publisher, AbstractBuild<?, ?> build
StringBuilder sb = new StringBuilder(super.buildStartMessage(publisher, build, listener));

AbstractBuild<?, ?> previousBuild = build.getPreviousBuild();
if (previousBuild != null) {
if (previousBuild != null && !previousBuild.isBuilding()) {
sb.append(" (previous build: ")
.append(ResultTrend.getResultTrend(previousBuild).getID());

0 comments on commit bcd6474

Please sign in to comment.
You can’t perform that action at this time.