Skip to content

Commit

Permalink
[FIXED JENKINS-9203] in light of 9c965617b3b385ef65eaf50860865c05a114…
Browse files Browse the repository at this point in the history
…a01d, I think the proper fix is to define a mechanism to abort with status.

Originally-Committed-As: a3354b12cfc5f554487b59f35e5a0bdbce8861a6
  • Loading branch information
kohsuke committed Jun 17, 2011
1 parent 3da9dd6 commit 7cab552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/matrix/MatrixBuild.java
Expand Up @@ -306,7 +306,7 @@ protected Result doRun(BuildListener listener) throws Exception {
return r;
} catch( InterruptedException e ) {
logger.println("Aborted");
return Result.ABORTED;
return Executor.currentExecutor().abortResult();
} catch (AggregatorFailureException e) {
return Result.FAILURE;
}
Expand Down

0 comments on commit 7cab552

Please sign in to comment.