cache-buildkite-plugin icon indicating copy to clipboard operation
cache-buildkite-plugin copied to clipboard

Skip upload if step fails

Open amancevice opened this issue 1 year ago • 0 comments

I'm seeing an issue where a step fails partway through but the cache still uploads. This means that the subsequent retry step declines to upload the cache because it already found one. I think the plugin should skip uploading if the step doesn't exit cleanly.

Example configuration:

- cache#v1.1.0:
    backend: s3
    compression: tgz
    manifest: REVISION
    path: public/assets
    restore: file
    save: file

amancevice avatar Oct 02 '24 17:10 amancevice