Skip to content

Commit

Permalink
Fix [JENKINS-50784] by using a blocking load of execution where needed
Browse files Browse the repository at this point in the history
  • Loading branch information
svanoort committed Apr 19, 2018
1 parent 60845a3 commit 43f130c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -101,7 +101,7 @@ public static class Execution extends AbstractSynchronousStepExecution<Void> {
FlowExecutionOwner owner = ((FlowExecutionOwner.Executable) previousRun).asFlowExecutionOwner();

if (owner != null) {
FlowExecution execution = owner.getOrNull();
FlowExecution execution = owner.get();
if (execution != null) {
previousHadStep = new DepthFirstScanner().findFirstMatch(execution,
new NodeStepTypePredicate(step.getDescriptor())) != null;
Expand Down

0 comments on commit 43f130c

Please sign in to comment.