File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/main/java/org/jenkinsci/plugins/workflow/support/steps Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 7070import org .jenkinsci .plugins .workflow .steps .BodyExecutionCallback ;
7171import org .jenkinsci .plugins .workflow .steps .StepContext ;
7272import org .jenkinsci .plugins .workflow .steps .durable_task .Messages ;
73+ import org .jenkinsci .plugins .workflow .actions .ExecutorAction ;
7374import org .jenkinsci .plugins .workflow .support .actions .WorkspaceActionImpl ;
7475import org .jenkinsci .plugins .workflow .support .concurrent .Timeout ;
7576import org .kohsuke .accmod .Restricted ;
@@ -719,6 +720,7 @@ private final class PlaceholderExecutable implements ContinuableExecutable {
719720 FlowNode flowNode = context .get (FlowNode .class );
720721 if (flowNode != null ) {
721722 flowNode .addAction (new WorkspaceActionImpl (workspace , flowNode ));
723+ flowNode .addAction (new ExecutorAction (exec ));
722724 }
723725 listener .getLogger ().println ("Running on " + ModelHyperlinkNote .encodeTo (node ) + " in " + workspace );
724726 context .newBodyInvoker ()
You can’t perform that action at this time.
0 commit comments