Modifier and Type | Method and Description |
---|---|
static void |
runStep(ExecutionContext context,
Step step,
Optional<BuildTarget> buildTarget)
Runs a single
Step |
public static void runStep(ExecutionContext context, Step step, Optional<BuildTarget> buildTarget) throws StepFailedException, InterruptedException
Step
context
- the ExecutionContext
containing information and console logging
utilities for the Step
step
- the Step
to executeStepFailedException
- if the step failedInterruptedException
- if an interrupt occurred while executing the Step