gpt4 book ai didi

linux - Jenkins 远程 api 错误 404

转载 作者:太空宇宙 更新时间:2023-11-04 11:23:05 25 4
gpt4 key购买 nike

我正在尝试更新远程 jenkins config.xml 文件,但我遇到了问题,我确定用户名和密码正确并且文件路径也正确,因为相同事情在其他服务器上工作,但使用较新版本的 jenkin 1.514。我对 1.501 版本有疑问,即使我已禁用 跨站点请求伪造 (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 正确。

关于linux - Jenkins 远程 api 错误 404,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16722888/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com