Class ExecutorStepExecution
java.lang.Object
org.jenkinsci.plugins.workflow.steps.StepExecution
org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution
- All Implemented Interfaces:
Serializable
public class ExecutorStepExecution
extends org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Looks for executions whosegetStatus()
would be neither running nor scheduled, and cancels them.static class
static final class
static final class
static final class
static final class
static final class
static class
-
Field Summary
-
Method Summary
Methods inherited from class org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
inject
Methods inherited from class org.jenkinsci.plugins.workflow.steps.StepExecution
applyAll, applyAll, blocksRestart, getContext, getStatusBounded
-
Field Details
-
TIMEOUT_WAITING_FOR_NODE_MILLIS
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static long TIMEOUT_WAITING_FOR_NODE_MILLIS
-
-
Method Details
-
start
General strategy of this step. 1. scheduleExecutorStepExecution.PlaceholderTask
into theQueue
(what this method does) 2. whenExecutorStepExecution.PlaceholderTask
starts running, invoke the closure 3. when the closure is done, letExecutorStepExecution.PlaceholderTask
complete- Specified by:
start
in classorg.jenkinsci.plugins.workflow.steps.StepExecution
- Throws:
Exception
-
stop
- Overrides:
stop
in classorg.jenkinsci.plugins.workflow.steps.StepExecution
- Throws:
Exception
-
onResume
public void onResume()- Overrides:
onResume
in classorg.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
-
getStatus
- Overrides:
getStatus
in classorg.jenkinsci.plugins.workflow.steps.StepExecution
-