I just received this fun error:
Cache "maven": Error downloading. Please contact support if this error persists.
Bitbucket Pipelines doesn't consider failure to download the cache a deal-breaker and happily moves on to executing the steps. The problem is that it takes Maven 5-10 minutes to download half the internet before it can run something as mundane as clean.
Is there a way to configure Bitbucket Pipelines to fail the build when the cache fails to download?
Hi Steve,
There's currently no way to configure pipelines to fail on *specifically* cache download errors. You could technically check to see if the cached directory exists, but this will become problematic once your cache expires (as then your build will consistently fail).
Thanks,
Phil
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.