Skip to content

Ignore problems when zipping ccache dir

Marco Clemencic requested to merge allow-ccache-zip-failure into master

Some builds are failing with this error:

+ zip -r -q /workspace/artifacts/606/ccache/ccache_dir.lhcb-master-ref.x86_64-centos7-gcc9-dbg.zip .ccache

zip error: Zip file structure invalid (/workspace/artifacts/606/ccache/ccache_dir.lhcb-master-ref.x86_64-centos7-gcc9-dbg.zip)
Build step 'Execute shell' marked build as failure

I do not know what's happening, but a failure to publish the cache file is not a good reason to crash the job.

Edited by Marco Clemencic

Merge request reports