获取错误:`发送HTTP错误代码404:无法读取流:null`

时间:2017-12-18 12:22:30

标签: maven jenkins artifactory maven-deploy-plugin

我们使用Jenkins进行Maven构建,使用JFrog artifactory来存储我们的工件。 Jfrog Artifactory version - 5.0.0
Jenkins version - 2.7

我们面临的问题很多时候,由于以下错误,我们的Jenkins构建失败了:

  

内容长度:70410552   2017-12-18 18:46:02,286 [ajp-nio-8019-exec-3] [WARN](o.a.w.s.RepoFilter:222) - 发送HTTP错误代码404:无法读取流:null   2017-12-18 18:46:04,388 [ajp-nio-8019-exec-8] [INFO](oaeUploadServiceImpl:516) - 部署到&libs-snapshot-local:com / aaaaaa / inventory-service /1.0.8-SNAPSHOT/inventory-service-1.0.8-20171218.114602-2.pom'内容长度:10080   2017-12-18 18:46:04,455 [ajp-nio-8019-exec-12] [INFO](oaeUploadServiceImpl:319) - 部署到< libs-snapshot-local:com / aaaaaa / inventory-service /1.0.8-SNAPSHOT/inventory-service-1.0.8-20171218.114602-2.pom.sha1'内容长度:40   2017-12-18 18:46:04,462 [ajp-nio-8019-exec-15] [INFO](oaeUploadServiceImpl:319) - 部署到&libs-snapshot-local:com / aaaaaa / inventory-service /1.0.8-SNAPSHOT/inventory-service-1.0.8-20171218.114602-2.pom.md5'内容长度:32   2017-12-18 18:47:39,021 [ajp-nio-8019-exec-10] [INFO](oaeUploadServiceImpl:516) - 部署到&libs-snapshot-local:com / aaaaaa / inventory-service /1.0.8-SNAPSHOT/inventory-service-1.0.8-20171218.114738-3.jar'内容长度:70410552   2017-12-18 18:47:39,022 [ajp-nio-8019-exec-10] [WARN](o.a.w.s.RepoFilter:222) - 发送HTTP错误代码404:无法读取流:null   2017-12-18 18:47:41,374 [ajp-nio-8019-exec-5] [INFO](oaeUploadServiceImpl:516) - 部署到&libs-snapshot-local:com / aaaaaa / inventory-service /1.0.8-SNAPSHOT/inventory-service-1.0.8-20171218.114738-3.pom'内容长度:10080   2017-12-18 18:47:41,392 [ajp-nio-8019-exec-2] [INFO](oaeUploadServiceImpl:319) - 部署到&libs-snapshot-local:com / aaaaaa / inventory-service /1.0.8-SNAPSHOT/inventory-service-1.0.8-20171218.114738-3.pom.sha1'内容长度:40   2017-12-18 18:47:41,397 [ajp-nio-8019-exec-3] [INFO](oaeUploadServiceImpl:319) - 部署到&libs-snapshot-local:com / aaaaaa / inventory-service /1.0.8-SNAPSHOT/inventory-service-1.0.8-20171218.114738-3.pom.md5'内容长度:32   2017-12-18 18:49:07,275 [ajp-nio-8019-exec-14] [INFO](oaeUploadServiceImpl:516) - 部署到&libff-snapshot-local:com / aaaaaa / bbbb / 1.0 0.30-SNAPSHOT / BBBB-1.0.30-20171218.114907-6.jar'内容长度:76484245   2017-12-18 18:49:07,276 [ajp-nio-8019-exec-14] [WARN](o.a.w.s.RepoFilter:222) - 发送HTTP错误代码404:无法读取流:null   2017-12-18 18:49:09,431 [ajp-nio-8019-exec-9] [INFO](oaeUploadServiceImpl:516) - 部署到&libff-snapshot-local:com / aaaaaa / bbbb / 1.0 0.30-SNAPSHOT / BBBB-1.0.30-20171218.114907-6.pom'内容长度:10870   2017-12-18 18:49:09,451 [ajp-nio-8019-exec-7] [INFO](oaeUploadServiceImpl:319) - 部署到&libff-snapshot-local:com / aaaaaa / bbbb / 1.0 0.30-SNAPSHOT / BBBB-1.0.30-20171218.114907-6.pom.sha1'内容长度:40

非常感谢任何帮助。

修改 这是artifacroty.log中的第一行:

  

2017-12-18 18:46:02,285 [ajp-nio-8019-exec-3] [INFO](oaeUploadServiceImpl:516) - 部署到&libff-snapshot-local:com / halodoc /库存服务/ 1.0.8-SNAPSHOT /库存服务1.0.8-20171218.114602-2.jar'内容长度:70410552

请求记录

  

20171218184602 | 1个| REQUEST | X.X.X.X | non_authenticated_user | GET | /libs-snapshot-local/com/aaaa/service/1.0.8-SNAPSHOT/maven-metadata.xml | HTTP / 1.1 | 401 | 0   20171218184602 | 4 | REQUEST | X.X.X.X |詹金斯| GET | /libs-snapshot-local/com/aaaa/service/1.0.8-SNAPSHOT/maven-metadata.xml | HTTP / 1.1 | 200 | 778   20171218184602 | 1 | REQUEST | X.X.X.X |詹金斯| GET | /libs-snapshot-local/com/aaaa/service/1.0.8-SNAPSHOT/maven-metadata.xml.sha1 | HTTP / 1.1 | 200 | 40   20171218184602 | 3 | REQUEST | X.X.X.X |詹金斯| PUT | /libs-snapshot-local/com/aaaa/service/1.0.8-SNAPSHOT/service-1.0.8-20171218.114602-2.jar | HTTP / 1.1 | 404 | 70410552   20171218184604 | 64 | REQUEST | X.X.X.X |詹金斯| PUT | /libs-snapshot-local/com/aaaa/service/1.0.8-SNAPSHOT/service-1.0.8-20171218.114602-2.pom | HTTP / 1.1 | 201 | 10080   20171218184604 | 4 | REQUEST | XXXX |詹金斯| PUT | /libs-snapshot-local/com/aaaa/service/1.0.8-SNAPSHOT/service-1.0.8-20171218.114602-2.pom.sha1 | HTTP / 1.1 | 201 | 40   20171218184604 | 2 | REQUEST | XXXX |詹金斯| PUT | /libs-snapshot-local/com/aaaa/service/1.0.8-SNAPSHOT/service-1.0.8-20171218.114602-2.pom.md5 | HTTP / 1.1 | 201 | 32   20171218184738 | 0 | REQUEST | X.X.X.X | non_authenticated_user | GET | /libs-snapshot-local/com/aaaa/service/1.0.8-SNAPSHOT/maven-metadata.xml | HTTP / 1.1 | 401 | 0   20171218184738 | 3 | REQUEST | X.X.X.X |詹金斯| GET | /libs-snapshot-local/com/aaaa/service/1.0.8-SNAPSHOT/maven-metadata.xml | HTTP / 1.1 | 200 | 778   20171218184739 | 2 | REQUEST | X.X.X.X |詹金斯| GET | /libs-snapshot-local/com/aaaa/service/1.0.8-SNAPSHOT/maven-metadata.xml.sha1 | HTTP / 1.1 | 200 | 40   20171218184739 | 3 | REQUEST | X.X.X.X |詹金斯| PUT | /libs-snapshot-local/com/aaaa/service/1.0.8-SNAPSHOT/service-1.0.8-20171218.114738-3.jar | HTTP / 1.1 | 404 | 70410552   20171218184741 | 15 | REQUEST | X.X.X.X |詹金斯| PUT | /libs-snapshot-local/com/aaaa/service/1.0.8-SNAPSHOT/service-1.0.8-20171218.114738-3.pom | HTTP / 1.1 | 201 | 10080   20171218184741 | 2 | REQUEST | XXXX |詹金斯| PUT | /libs-snapshot-local/com/aaaa/service/1.0.8-SNAPSHOT/service-1.0.8-20171218.114738-3.pom.sha1 | HTTP / 1.1 | 201 | 40   20171218184741 | 2 | REQUEST | XXXX |詹金斯| PUT | /libs-snapshot-local/com/aaaa/service/1.0.8-SNAPSHOT/service-1.0.8-20171218.114738-3.pom.md5 | HTTP / 1.1 | 201 | 32   20171218184907 | 0 | REQUEST | X.X.X.X | non_authenticated_user | GET | /libs-snapshot-local/com/aaaa/bbbbb/1.0.30-SNAPSHOT/maven-metadata.xml | HTTP / 1.1 | 401 | 0   20171218184907 | 2 | REQUEST | X.X.X.X |詹金斯| GET | /libs-snapshot-local/com/aaaa/bbbbb/1.0.30-SNAPSHOT/maven-metadata.xml | HTTP / 1.1 | 200 | 770   20171218184907 | 1 | REQUEST | X.X.X.X |詹金斯| GET | /libs-snapshot-local/com/aaaa/bbbbb/1.0.30-SNAPSHOT/maven-metadata.xml.sha1 | HTTP / 1.1 | 200 | 40   20171218184907 | 2 | REQUEST | X.X.X.X |詹金斯| PUT | /libs-snapshot-local/com/aaaa/bbbbb/1.0.30-SNAPSHOT/bbbbb-1.0.30-20171218.114907-6.jar | HTTP / 1.1 | 404 | 76484245   20171218184909 | 17 | REQUEST | X.X.X.X |詹金斯| PUT | /libs-snapshot-local/com/aaaa/bbbbb/1.0.30-SNAPSHOT/bbbbb-1.0.30-20171218.114907-6.pom | HTTP / 1.1 | 201 | 10870   20171218184909 | 3 | REQUEST | XXXX |詹金斯| PUT | /libs-snapshot-local/com/aaaa/bbbbb/1.0.30-SNAPSHOT/bbbbb-1.0.30-20171218.114907-6.pom.sha1 | HTTP / 1.1 | 201 | 40   20171218184909 | 3 | REQUEST | XXXX |詹金斯| PUT | /libs-snapshot-local/com/aaaa/bbbbb/1.0.30-SNAPSHOT/bbbbb-1.0.30-20171218.114907-6.pom.md5 | HTTP / 1.1 | 201 | 32   20171218184922 | 0 | REQUEST | X.X.X.X | non_authenticated_user | GET | /libs-snapshot-local/com/aaaa/service/1.0.8-SNAPSHOT/maven-metadata.xml | HTTP / 1.1 | 401 | 0   20171218184922 | 6 | REQUEST | X.X.X.X |用户名| GET | /libs-snapshot-local/com/aaaa/service/1.0.8-SNAPSHOT/maven-metadata.xml | HTTP / 1.1 | 200 | 778   20171218184923 | 1个| REQUEST | XXXX |用户名| GET | /libs-snapshot-local/com/aaaa/service/1.0.8-SNAPSHOT/maven-metadata.xml.sha1 | HTTP / 1.1 | 200 | 40

0 个答案:

没有答案