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?