Retry Stage Execution
codepipeline_retry_stage_execution | R Documentation |
You can retry a stage that has failed without having to run a pipeline again from the beginning¶
Description¶
You can retry a stage that has failed without having to run a pipeline again from the beginning. You do this by either retrying the failed actions in a stage or by retrying all actions in the stage starting from the first action in the stage. When you retry the failed actions in a stage, all actions that are still in progress continue working, and failed actions are triggered again. When you retry a failed stage from the first action in the stage, the stage cannot have any actions in progress. Before a stage can be retried, it must either have all actions failed or some actions failed and some succeeded.
Usage¶
Arguments¶
pipelineName
[required] The name of the pipeline that contains the failed stage.
stageName
[required] The name of the failed stage to be retried.
pipelineExecutionId
[required] The ID of the pipeline execution in the failed stage to be retried. Use the
get_pipeline_state
action to retrieve the current pipelineExecutionId of the failed stageretryMode
[required] The scope of the retry attempt.
Value¶
A list with the following syntax: