@Override public boolean endBuild() throws InterruptedException, IOException { perform(build, launcher, listener); return super.endBuild(); } };
private boolean notifyStartBuild(List<MatrixAggregator> aggregators) throws InterruptedException, IOException { for (MatrixAggregator a : aggregators) if(!a.startBuild()) return true; return false; }
public boolean superEndRun(MatrixRun run) throws InterruptedException, IOException { return super.endRun(run); }
public boolean superStartBuild() throws InterruptedException, IOException { return super.startBuild(); }
private void notifyEndBuild(MatrixRun b, List<MatrixAggregator> aggregators) throws InterruptedException, IOException { if (b==null) return; // can happen if the configuration run gets cancelled before it gets started. for (MatrixAggregator a : aggregators) if(!a.endRun(b)) throw new AbortException(); }
@Override public boolean endBuild() throws InterruptedException, IOException { perform(build, launcher, listener); return super.endBuild(); } };
@Override public boolean startBuild() throws InterruptedException, IOException { initPython(); if (pexec.isImplemented(0)) { return pexec.execPythonBool("start_build"); } else { return super.startBuild(); } }
@Override public boolean endRun(MatrixRun run) throws InterruptedException, IOException { // TODO Added for migration reasons (JENKINS-53691). Remove this, when no installations of 0.18.x are left. if (!MatrixPostBuildScript.class.isAssignableFrom(initiator)) { logger.warn(Messages.PostBuildScript_DeprecatedUsageOfMatrixOptions()); } logger.debug("endRun: {}", run); listener.getLogger().println(); return super.endRun(run); }
public void post2(BuildListener listener) throws Exception { for (MatrixAggregator a : aggregators) { a.endBuild(); } }
@Override public boolean startBuild() throws InterruptedException, IOException { if (getNotifyOnStart()) { if (getMatrixNotifier() == MatrixJobMultiplier.ALL || getMatrixNotifier() == MatrixJobMultiplier.ONLY_PARENT) { notifyChatsOnBuildStart(build, listener); } } return super.startBuild(); }
@Override public boolean endRun(MatrixRun run) throws InterruptedException, IOException { initPython(); if (pexec.isImplemented(1)) { return pexec.execPythonBool("end_run", run); } else { return super.endRun(run); } }
public void post2(BuildListener listener) throws Exception { for (MatrixAggregator a : aggregators) a.endBuild(); } }
@Override public boolean startBuild() throws InterruptedException, IOException { if (getNotifyOnStart()) { if (getMatrixNotifier() == MatrixJobMultiplier.ALL || getMatrixNotifier() == MatrixJobMultiplier.ONLY_PARENT) { notifyChatsOnBuildStart(build, listener); } } return super.startBuild(); }
if (!a.endRun(b)) { throw new AggregatorFailureException();
public void post2(BuildListener listener) throws Exception { for (MatrixAggregator a : aggregators) { a.endBuild(); } }
if (!a.startBuild()) { return Result.FAILURE;
if (!a.endRun(b)) { throw new AggregatorFailureException();
public void post2(BuildListener listener) throws Exception { for (MatrixAggregator a : aggregators) { a.endBuild(); } }
if (!a.startBuild()) { return Result.FAILURE;
if (!a.endRun(b)) { throw new AggregatorFailureException();