繁体   English   中英

Jenkins远程API错误404

[英]Jenkins remote api error 404

我正在尝试更新远程jenkins config.xml文件,但是我遇到了问题,我确定用户名和密码正确并且文件路径也正确,因为同一件事在其他服务器上也可以使用,但更新版本的jenkin 1.514 我的1.501版本有问题,即使我禁用cross-site request forgery (CSRF) ,如果有任何解决方法,也如何使它起作用?

wget --auth-no-challenge --http-user=spatel --http-password=secret --post-file=config.xml --no-check-certificate http://jenkin.example.com/jenkin/jobs/Sched_M_Builds2Test/config.xml
--2013-05-23 15:54:22--  http://jenkin.example.com/jenkin/jobs/Sched_M_Builds2Test/config.xml
Resolving hudson.outcome.com... 10.101.100.60
Connecting to hudson.outcome.com|10.101.100.60|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2013-05-23 15:54:22 ERROR 404: Not Found.

您可能正在谈论名为Jenkins的软件-http: //jenkins-ci.org/,但是您的链接指向jenkin

404表示找不到,因此请确保您具有正确的URL。

暂无
暂无

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

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