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¶
codepipeline_retry_stage_execution(pipelineName, stageName,
pipelineExecutionId, retryMode)
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 |
retryMode |
[required] The scope of the retry attempt. |
Value¶
A list with the following syntax:
list(
pipelineExecutionId = "string"
)
Request syntax¶
svc$retry_stage_execution(
pipelineName = "string",
stageName = "string",
pipelineExecutionId = "string",
retryMode = "FAILED_ACTIONS"|"ALL_ACTIONS"
)