Retry failed executions from any stage
Resume pipeline executions from any successful or failed stage to avoid rerunning the entire pipeline.
Pipeline executions fail for many reasons, such as infrastructure changes or changes to resource access. In such cases, rerunning an entire pipeline can be costly and time-consuming.
With Harness, you can resume pipeline executions from any successful stage or a failed stage. This enables you to quickly rerun stages after you identify and fix the cause of the failure.
What you will learn from this topic
How to understand the difference between retrying and rerunning a pipeline or stage.
How to retry a failed pipeline execution from a specific stage.
Before you begin
Pipeline permissions: You must have Execute permissions on pipelines to retry failed executions. For more information, refer to Manage roles and Permissions reference.
Failed pipeline: You need a pipeline that is in Failed, Aborted, Expired, or Rejected status.
Retry vs. rerun
Retrying a pipeline or stage is different from rerunning a pipeline or stage:
Rerun: When you rerun, you start fresh. You can select new values for runtime inputs. You can rerun the entire pipeline or rerun from a specific stage.
Retry: When you retry, you run the pipeline or stage exactly as it was run before. You cannot change mandatory settings, parameters, or conditions. You cannot retry any execution whose first (original) execution is more than 30 days old.
Retry a failed pipeline execution
Perform the following steps to retry a failed pipeline execution:
Navigate to the execution history and locate the failed pipeline.
Click More Options (⋮), and then click Retry Failed Pipeline.
In the Retry Failed Pipeline settings, select the stage from which you want to retry the pipeline. If your pipeline uses runtime inputs, these are automatically populated from the previous execution.

Click Retry Failed Pipeline.
Next steps
Define a failure strategy on stages and steps: Configure automated failure handling strategies to reduce manual intervention.
Run specific stages in a pipeline: Learn how to rerun a pipeline from a specific stage instead of retrying.
Last updated
Was this helpful?