Skip to content

RetryStageExecution

Source: src/AWS/CodePipeline/RetryStageExecution.ts

Runtime binding for codepipeline:RetryStageExecution — re-runs a failed stage, either just the failed actions (FAILED_ACTIONS) or the whole stage from its first action (ALL_ACTIONS).

const retryStage = yield* AWS.CodePipeline.RetryStageExecution(pipeline);
yield* retryStage({
stageName: "Deploy",
pipelineExecutionId: executionId,
retryMode: "FAILED_ACTIONS",
});