Skip to content

Commit

Permalink
[FIXED JENKINS-27162] Log touchstone build results
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-beck committed Mar 1, 2015
1 parent 4074b52 commit 5f30aad
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -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;
Expand Down

0 comments on commit 5f30aad

Please sign in to comment.