简体   繁体   中英

DevOps Maven deploy artifact: “Failed to transfer file … with status code 503”

I linked my DevOps feed to Maven and works fine. But, with heavy fat jar (180 MB) with a connection that is not so fast (1 MB / s) only the pom is deployed and DevOps responds with 503, when I'm at home using my 1 Gbps connections, it deploys fine.

Is there a time limit to upload artifacts? How can I avoid this problem?

PS Uploading also smaller artifacts works fine

change your connection timeout variable on maven settings.xml.

take a look at this documantation.

https://maven.apache.org/guides/mini/guide-http-settings.html#Connection_Timeouts

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM