我将maven从3.6.1更新到了3.6.2,现在当maven运行带有以下错误的“干净部署”脚本时,jenkins作业失败。部署将war文件复制到同一服务器上的Sonatype nexus。所做的唯一更改是将/ usr / share / maven从3.6.1更新为3.6.2
ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project
Adding '-e' to the maven script shows the root exception as:
Caused by: org.apache.maven.wagon.TransferFailedException: Connection reset by peer (Write failed)
at org.apache.maven.wagon.providers.http.wagon.shared.AbstractHttpClientWagon.put