我在Jenkins中添加了Artifactory插件,并试图在Jenkins Artifactory插件的帮助下将构建移动到Artifactory。我创建了一个示例Maven项目。 构建创建是成功的,我在Jenkins的控制台输出上获得了Artifactory的URL,它告诉我的构建已经发送到Artifactory。如果我点击它的URL,我应该下载我的战争,但这不会发生。我得到了404.
我正在使用Jenkins 1.617和JFrog Artifactory 3.8.0
如果我正在使用jfrog artifactory 2.6.4它的工作,但与其他版本一起使用它。
下面是日志
Waiting for Jenkins to finish collecting data
[JENKINS] Archiving /root/.jenkins/jobs/TestJob/workspace/pom.xml to org.ABC/testapp/0.0.1-SNAPSHOT/testapp-0.0.1-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/jobs/TestJob/workspace/target/testapp-0.0.1-SNAPSHOT.war to org.ABC/testapp/0.0.1-SNAPSHOT/testapp-0.0.1-SNAPSHOT.war
channel stopped
Deploying artifacts to http:192.168.X.X:8080
Deploying artifacts of module: org.ABC:testapp
Deploying artifact: http://192.168.X.X:8080/libs-snapshot-local/org/ABC/testapp/0.0.1-SNAPSHOT/testapp-0.0.1-SNAPSHOT.war
Deploying artifact: http://192.168.X.X:8080/libs-snapshot-local/org/ABC/testapp/0.0.1-SNAPSHOT/testapp-0.0.1-SNAPSHOT.pom
Deploying build info to: http192.168.X.X:8080/test/build
答案 0 :(得分:0)
我看起来日志输出有问题。网址http192.168.X.X:8080/test/build
当然应该是http://192.168.X.X:8080/test/build
。
请在GitHub Jenkins plugin repo报告。
谢谢!