簡體   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