return run != null ? run.getResult() : Result.ABORTED;
}
protected void scheduleSubBuilds(Iterable<Combination> subBuildCombinations, TaskListener listener) {
for ( Combination subBuildCombination : subBuildCombinations) {
DynamicSubProject c = dynamicBuild.getSubProject(subBuildCombination);
listener.getLogger().println(Messages.MatrixBuild_Triggering(ModelHyperlinkNote.encodeTo(c)));
List<Action> childActions = new ArrayList<Action>();
childActions.addAll(Util.filter(dynamicBuild.getActions(), ParametersAction.class));
childActions.add(new SubBuildExecutionAction(subBuildRunner));
childActions.add(new ParentBuildAction(dynamicBuild));
c.scheduleBuild(childActions, dynamicBuild.getCause());
}
}