@Override public boolean startBuild() throws InterruptedException, IOException { result = new MatrixTestResult(build); build.addAction(result); return true; }
@Override public boolean startBuild() throws InterruptedException, IOException { result = new MatrixTestResult(); build.addAction(result); return true; }
@Override public boolean startBuild() throws InterruptedException, IOException { result = new MatrixTestResult(build); build.addAction(result); return true; }
@Override public boolean endBuild() throws InterruptedException, IOException { build.addAction(createAction(healthDescriptor, defaultEncoding, totals)); return true; }
@Override public boolean startBuild() throws InterruptedException, IOException { result = new MatrixTestResult(build); build.addAction(result); return true; }
@Override public boolean startBuild() throws InterruptedException, IOException { result = new MatrixTestResult(build); build.addAction(result); return true; }
@Override public boolean endBuild() throws InterruptedException, IOException { build.addAction(createAction(healthDescriptor, defaultEncoding, totals)); return true; }
/** {@inheritDoc} */ @Override public boolean endBuild() throws InterruptedException, IOException { TasksResult result = new TasksResult(build, defaultEncoding, totals, highTags, normalTags, lowTags); build.addAction(new TasksResultAction(build, healthDescriptor, result)); return true; } }
@Override public boolean endBuild() throws InterruptedException, IOException { for (String parser : totalsPerParser.keySet()) { WarningsBuildHistory history = new WarningsBuildHistory(build, parser, useStableBuildAsReference); WarningsResult result = new WarningsResult(build, history, totalsPerParser.get(parser), defaultEncoding, parser); build.addAction(new WarningsResultAction(build, healthDescriptor, result, parser)); } return true; } }
@Override public boolean endBuild() throws InterruptedException, IOException { for (String parser : totalsPerParser.keySet()) { WarningsBuildHistory history = new WarningsBuildHistory(build, parser, usePreviousBuildAsReference, useStableBuildAsReference); WarningsResult result = new WarningsResult(build, history, totalsPerParser.get(parser), defaultEncoding, parser); build.addAction(new WarningsResultAction(build, healthDescriptor, result, parser)); } createTotalsAction(); return true; } }
private void createTotalsAction() { ParserResult totals = new ParserResult(); for (ParserResult result : totalsPerParser.values()) { totals.addProject(result); } BuildHistory history = new BuildHistory((Run<?, ?>)build, AggregatedWarningsResultAction.class, usePreviousBuildAsReference, useStableBuildAsReference); AggregatedWarningsResult result = new AggregatedWarningsResult(build, history, totals, defaultEncoding); build.addAction(new AggregatedWarningsResultAction(build, result)); }
@Override public boolean endBuild() { if (PluginImpl.shouldScan(build) && PluginImpl.needToAnalyze(build.getResult())) { List<MatrixRun> runsWithCorrectNumber = getRuns(build); build.addAction(new FailureCauseMatrixBuildAction(build, runsWithCorrectNumber)); } return true; }