简体   繁体   English

jenkins控制台输出日志中创建的链接无法从工件下载war文件

[英]Not able to download war file from artifactory by the link created in jenkins console output log

I have added Artifactory plugin in Jenkins and was trying to move the build to Artifactory with the help of the Jenkins Artifactory plugin. 我在Jenkins中添加了Artifactory插件,并试图在Jenkins Artifactory插件的帮助下将构建移至Artifactory。 I have created a sample Maven project. 我创建了一个示例Maven项目。 The build creation is successful and I am getting a URL of Artifactory on console output of Jenkins which tells that my build has been sent to Artifactory. 构建创建成功,并且在Jenkins的控制台输出上我获得了Artifactory的URL,该URL指示我的构建已发送到Artifactory。 If I am clicking the URL it, I should get my war downloaded but this is not happening. 如果单击URL,则应下载我的战争文件,但这没有发生。 I am getting 404. 我得到404。

I am using Jenkins 1.617 and JFrog Artifactory 3.8.0 我正在使用Jenkins 1.617和JFrog Artifactory 3.8.0

If I am using jfrog artifactory 2.6.4 its working but with other release its not working. 如果我使用的是jfrog构件2.6.4,则它可以工作,但与其他发行版不起作用。

below is the log 下面是日志

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

I looks like the log output is buggy. 我看起来日志输出有问题。 The url http192.168.XX:8080/test/build should, of course, be http://192.168.XX:8080/test/build . 网址http192.168.XX:8080/test/build当然应该是http://192.168.XX:8080/test/build Please report it in GitHub Jenkins plugin repo . 请在GitHub Jenkins插件仓库中报告。

Thanks! 谢谢!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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