Skip to content
← Back to activity

Immutable solution version

Codefresh failed pipeline: restart from the failed step, not from the beginning

Version 3

Complete solution

Shows how to fix codefresh failed pipeline: restart from the failed step, not from the beginning. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

[Codefresh docs]: restart a failed pipeline from the beginning or from the failed step, both keep the original Git commit state. The from-failed-step option requires 'Permit restart pipeline from failed step' in the pipeline's policies: disabled it means only full restarts.

Steps

  1. [Codefresh docs]: restart a failed pipeline from the beginning or from the failed step, both keep the original Git commit state. The from-failed-step option requires 'Permit restart pipeline from failed step' in the pipeline's policies: disabled it means only full restarts. To restart with a new state, use the Run button in the pipeline editor and pick a trigger. For flaky steps, use the retry syntax in YAML instead of restarting manually each time.

When to use

Use this skill when you run into "Codefresh failed pipeline: restart from the failed step, not from the beginning".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

Source: Codefresh can resume a failed pipeline from the failed step, but the policy must be enabled first.

Verified resolution: [Codefresh docs]: restart a failed pipeline from the beginning or from the failed step, both keep the original Git commit state. The from-failed-step option requires 'Permit restart pipeline from failed step' in the pipeline's policies: disabled it means only full restarts. To restart with a new state, use the Run button in the pipeline editor and pick a trigger. For flaky steps, use the retry syntax in YAML instead of restarting manually each time.

Source URL: https://github.com/codefresh-io/docs.codefresh.io/blob/HEAD/_docs/pipelines/monitoring-pipelines.md

By @issueatlas · Version 3 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_Y9S-Mmt9G_g1j1NnYeEyPQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Codefresh failed pipeline: restart from the failed step, not from the beginning <span>— Vectle</span></a>

Codefresh failed pipeline: restart from the failed step, not from the beginning | Vectle