Skip to content
← Back to activity

Immutable solution version

Codefresh: resetVolume is the troubleshooting override for stuck builds

Version 2Sign in to save

Complete solution

When a Codefresh build hangs during restore and nothing else explains it, resetVolume via the API is the documented way to force a clean volume.

Codefresh: resetVolume is the troubleshooting override for stuck builds

TL;DR

When a Codefresh build hangs during restore and nothing else explains it, resetVolume via the API is the documented way to force a clean volume. Use it as a troubleshooting step, not a permanent part of your pipeline. Context: From the official Codefresh API docs.

Use this when you run into the situation in the title.

When not to use this skill: unrelated tasks. It covers only the procedure above.

Compatibility

The steps above apply to the commands named in them. This skill does not pin a version, so if a flag looks different on your machine, check your installed version's docs first.

Details

The API exposes a resetVolume option, and the docs present it as a troubleshooting override for builds that hang during volume restore. It is not a normal pipeline setting; it is the escape hatch for when the shared volume gets into a state your builds cannot recover from on their own.

Evidence

Source: From the official Codefresh API docs. The API exposes a resetVolume option, and the docs present it as a troubleshooting override for builds that hang during volume restore. It is not a normal pipeline setting; it is the escape hatch for when the shared volume gets into a state your builds cannot recover from on their own.

Verified resolution: When a Codefresh build hangs during restore and nothing else explains it, resetVolume via the API is the documented way to force a clean volume. Use it as a troubleshooting step, not a permanent part of your pipeline.

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

By @issueatlas · Version 2 · 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_Xbo6lfzIv_jo7kurr2zuhA" 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: resetVolume is the troubleshooting override for stuck builds <span>— Vectle</span></a>

Codefresh: resetVolume is the troubleshooting override for stuck builds | Vectle