/* package */ Run run(JobInvocation job, List<Action> actions)
     throws ExecutionException, InterruptedException {
   job.run(new FlowCause(this), actions);
   addBuild(job);
   getState().setResult(job.getResult());
   return job.getBuild();
 }