怎样清除jenkins中maven下载出错的jar包?
流水线中使用: sh "mvn clean install -Dmaven.test.skip=true“, 每次都报错误
The following artifacts could not be resolved: org.springframework.cloud:spring-cloud-commons:jar:2.2.6.BUILD-SNAPSHOT, org.springframework.cloud:spring-cloud-context:jar:2.2.6.BUILD-SNAPSHOT, org.springframework.cloud:spring-cloud-starter-netflix-ribbon:jar:2.2.6.BUILD-SNAPSHOT, org.springframework.cloud:spring-cloud-starter-zipkin:jar:2.2.6.BUILD-SNAPSHOT: Could not find artifact org.springframework.cloud:spring-cloud-commons:jar:2.2.6.BUILD-SNAPSHOT
2.2.6.BUILD-SNAPSHOT这个版本不知道怎么出来的,maven仓库中根本不存在这个版本。 本地测试是没有问题的。使用流水线拉取就会出现这个错误,想清一下jenkins中maven的仓库,不知道方向对不对。