onFailure

@JvmName(name = "rdudmumpqkcjvnro")
suspend fun onFailure(value: Output<PipelineStageOnFailureArgs>)
@JvmName(name = "cmotbilvtqejfsyr")
suspend fun onFailure(value: PipelineStageOnFailureArgs?)

Parameters

value

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.


@JvmName(name = "ecyaacwblxysusrt")
suspend fun onFailure(argument: suspend PipelineStageOnFailureArgsBuilder.() -> Unit)

Parameters

argument

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.