Pipeline Stage
data class PipelineStage(val actions: List<PipelineStageAction>, val beforeEntry: PipelineStageBeforeEntry? = null, val name: String, val onFailure: PipelineStageOnFailure? = null, val onSuccess: PipelineStageOnSuccess? = null)
Constructors
Link copied to clipboard
constructor(actions: List<PipelineStageAction>, beforeEntry: PipelineStageBeforeEntry? = null, name: String, onFailure: PipelineStageOnFailure? = null, onSuccess: PipelineStageOnSuccess? = null)
Properties
Link copied to clipboard
The action(s) to include in the stage. Defined as an action
block below
Link copied to clipboard
The method to use when a stage allows entry. For example, configuring this field for conditions will allow entry to the stage when the conditions are met.
Link copied to clipboard
The method to use when a stage has not completed successfully. For example, configuring this field for rollback will roll back a failed stage automatically to the last successful pipeline execution in the stage.
Link copied to clipboard
The method to use when a stage has succeeded. For example, configuring this field for conditions will allow the stage to succeed when the conditions are met.