File tree 1 file changed +2
-0
lines changed
src/main/java/org/jenkinsci/plugins/workflow/support/steps
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 70
70
import org .jenkinsci .plugins .workflow .steps .BodyExecutionCallback ;
71
71
import org .jenkinsci .plugins .workflow .steps .StepContext ;
72
72
import org .jenkinsci .plugins .workflow .steps .durable_task .Messages ;
73
+ import org .jenkinsci .plugins .workflow .actions .ExecutorAction ;
73
74
import org .jenkinsci .plugins .workflow .support .actions .WorkspaceActionImpl ;
74
75
import org .jenkinsci .plugins .workflow .support .concurrent .Timeout ;
75
76
import org .kohsuke .accmod .Restricted ;
@@ -719,6 +720,7 @@ private final class PlaceholderExecutable implements ContinuableExecutable {
719
720
FlowNode flowNode = context .get (FlowNode .class );
720
721
if (flowNode != null ) {
721
722
flowNode .addAction (new WorkspaceActionImpl (workspace , flowNode ));
723
+ flowNode .addAction (new ExecutorAction (exec ));
722
724
}
723
725
listener .getLogger ().println ("Running on " + ModelHyperlinkNote .encodeTo (node ) + " in " + workspace );
724
726
context .newBodyInvoker ()
You can’t perform that action at this time.
0 commit comments