Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法通过jenkins控制台输出日志中创建的链接从artifactory下载war文件_Jenkins_Artifactory - Fatal编程技术网

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

无法通过jenkins控制台输出日志中创建的链接从artifactory下载war文件,jenkins,artifactory,Jenkins,Artifactory,我在Jenkins中添加了Artifactory插件,并试图在Jenkins Artifactory插件的帮助下将构建移到Artifactory。我创建了一个示例Maven项目。 构建创建成功了,我在Jenkins的控制台输出上获得了一个Artifactory的URL,它告诉我的构建已经发送到Artifactory。如果我点击它的URL,我应该下载我的war,但这并没有发生。我得了404分 我正在使用Jenkins 1.617和JFrog Artifactory 3.8.0 如果我使用的是jfr

我在Jenkins中添加了Artifactory插件,并试图在Jenkins Artifactory插件的帮助下将构建移到Artifactory。我创建了一个示例Maven项目。 构建创建成功了,我在Jenkins的控制台输出上获得了一个Artifactory的URL,它告诉我的构建已经发送到Artifactory。如果我点击它的URL,我应该下载我的war,但这并没有发生。我得了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

看起来日志输出有问题。当然,url
http192.168.X.X:8080/test/build
应该是
http://192.168.X.X:8080/test/build
。 请及时报告


谢谢

我看起来日志输出有问题。当然,url
http192.168.X.X:8080/test/build
应该是
http://192.168.X.X:8080/test/build
。 请及时报告


谢谢

指向war的链接的实际值是否与显示的链接文本相同?它是否与通过Artifactory web界面的“war”的实际URL相同?否通过Artifactory web界面的war URL具有带有war名称的时间戳。指向
war
的链接的实际URL是否与显示的链接文本相同?它是否与通过Artifactory的web界面的“war”的实际URL相同?否通过Artifactory的web界面的war URL具有带有war名称的时间戳。对于http192.168.X.X:8080/test/build URL,我感到抱歉。我没有特权发布超过2个链接。所以我不得不发布这个URL。对于http192.168.X.X:8080/test/buildURL,我感到很抱歉。我没有特权发布超过2个链接。所以我不得不发布这个URL。