Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Re-run build if certain error message is detected #3476

robinshen ADMIN ·
groovy:
import com.pmease.quickbuild.BuildRequest;
for (step in build.steps) {
if (step.errorMessage.contains("hello")) {
println step.errorMessage;
def newRequest = new BuildRequest();
newRequest.variables = request.variables;
newRequest.configurationId = request.configurationId;
system.buildEngine.requestBuild(build.requester, false, newRequest);
break;
}
}
  • replies 0
  • views 2382
  • stars 0