Skip to content

Commit

Permalink
Merge pull request #73 from svanoort/fix-flowexecutionowner-lazyload
Browse files Browse the repository at this point in the history
Fix [JENKINS-50784] by using a blocking load of execution where needed
  • Loading branch information
svanoort committed Apr 20, 2018
2 parents 60845a3 + 43f130c commit bd2a61f
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 bd2a61f

Please sign in to comment.