When running a clone step, you see this message: fatal: Unable to create '/codefresh/volume/reponame/.git/index.lock': File exists
A stale volume may have crashed, leaving behind a lock file in the cache.
Re-run the build with a cleared file cache.
- Open the pipeline
- Select Run
- Click Advanced Options
Ignore Docker engine cache for buildand
Reset pipeline volume
- Run the build
This will reset the volume and clear out any stale files.