For the complete documentation index, see llms.txt. This page is also available as Markdown.

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


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:

  1. Navigate to the execution history and locate the failed pipeline.

  2. Click More Options (⋮), and then click Retry Failed Pipeline.

  3. 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.

  1. Click Retry Failed Pipeline.

Parallel stages

If your pipeline contains parallel stages and one of those stages fails, you can choose to retry only the failed parallel stage or retry all parallel stages.


Next steps

Last updated

Was this helpful?