简体   繁体   English

Jenkins远程API错误404

[英]Jenkins remote api error 404

I am trying to update remote jenkins config.xml file but i am having issue, I am sure username and password are correct and path of file also correct because same thing is working in other server but with newer version of jenkin 1.514 . 我正在尝试更新远程jenkins config.xml文件,但是我遇到了问题,我确定用户名和密码正确并且文件路径也正确,因为同一件事在其他服务器上也可以使用,但更新版本的jenkin 1.514 I have having issue with 1.501 version, Even i have disabled cross-site request forgery (CSRF) any idea how to make it work if there is any work around? 我的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.

You are probably talking about software called Jenkins - http://jenkins-ci.org/ but your link points at jenkin . 您可能正在谈论名为Jenkins的软件-http: //jenkins-ci.org/,但是您的链接指向jenkin

404 means not found so please make sure that you have right URL. 404表示找不到,因此请确保您具有正确的URL。

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

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