Skip to content
Permalink
Browse files
Merge pull request #17 from daniel-beck/JENKINS-27162
[FIXED JENKINS-27162] Log touchstone build results
  • Loading branch information
olivergondza committed Mar 7, 2015
2 parents 5f011e8 + 5f30aad commit 1ad1c98ced8f6bf794bd5dc4601239c120504d5a
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/main/java/hudson/matrix/DefaultMatrixExecutionStrategyImpl.java
@@ -135,17 +135,18 @@ public Result run(MatrixBuildExecution execution) throws InterruptedException, I
for(MatrixConfiguration c : touchStoneConfigurations)
scheduleConfigurationBuild(execution, c);

PrintStream logger = execution.getListener().getLogger();

Result r = Result.SUCCESS;
for (MatrixConfiguration c : touchStoneConfigurations) {
if(runSequentially)
scheduleConfigurationBuild(execution, c);
MatrixRun run = waitForCompletion(execution, c);
notifyEndBuild(run,execution.getAggregators());
logger.println(Messages.MatrixBuild_Completed(ModelHyperlinkNote.encodeTo(c), getResult(run)));
r = r.combine(getResult(run));
}

PrintStream logger = execution.getListener().getLogger();

if (touchStoneResultCondition != null && r.isWorseThan(touchStoneResultCondition)) {
logger.printf("Touchstone configurations resulted in %s, so aborting...%n", r);
return r;

0 comments on commit 1ad1c98

Please sign in to comment.