A stage that will be executed in the Jenkins pipeline.
Modifiers | Name | Description |
---|---|---|
protected java.lang.Exception |
_exception |
The first exception thrown by this stage. |
Type | Name and description |
---|---|
StageArguments |
args The arguments passed into the Pipeline.createStage method. |
java.lang.String |
endOfStepBuildStatus The current result of the build at the end of stage execution. |
java.lang.Exception |
exception |
groovy.lang.Closure |
execute The closure function that represents the complete stage operation. |
boolean |
isSkippedByParam Was the stage skipped by a build parameter? |
java.lang.String |
name The name of the stage. |
Stage |
next The next stage to execute in the pipeline. |
int |
order The ordinal of the stage in the pipeline execution flow. |
StageStatus |
status The execution status of a stage |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.Exception |
getException() Get the exception thrown. |
|
void |
setException(java.lang.Exception e) Set the exception only if one doesn't exist. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The arguments passed into the Pipeline.createStage method.
The current result of the build at the end of stage execution.
The closure function that represents the complete stage operation.
This includes the stage operation provided by a pipeline and any internal operations done by this package.
Was the stage skipped by a build parameter?
If the stage skip build parameter is true for this stage, then this variable will become true before stage execution.
The name of the stage.
The next stage to execute in the pipeline.
If this property is null, then this stage is the last one to execute.
The ordinal of the stage in the pipeline execution flow.
The execution status of a stage