hi,
My pipeline started to fail a few days ago after passing for months. The message is:
Could not transfer artifact org.apache.maven.plugins:maven-shade-plugin:pom:2.4.3 from/to central (https://repo.maven.apache.org/maven2): Connection reset
It's not always the same artifact or the same repository. I re-ran an old pipeline which passed and it failed, so I assume this is a caching issue. I tried to clear the cache using the button in Bitbucket's UI but it said no cache was defined. Here's the content of my bitbucket_pipelines.yml.
pipelines:
default:
- step:
caches:
- bower-20180619
- npm-20180619
- maven-20180619
script:
- mvn clean package
image:
name: myimage/ci:1.0.1
username: $DOCKER_HUB_USERNAME
password: $DOCKER_HUB_PASSWORD
email: $DOCKER_HUB_EMAIL
definitions:
caches:
bower-20180619: web/war/src/main/webapp/libs
npm-20180619: web/war/src/main/webapp/node_modules
maven-20180619: ~/.m2/repository
Any ideas on what I'm doing wrong?