Hudson - 缺少触发器远程构建选项
我正在尝试在 Hudson 上设置提交后构建,但无法在 Hudson 中启用远程触发构建(例如,从脚本)选项。
我安装了很多插件,谷歌了一段时间,但都没有成功。这个问题在(http://stackoverflow.com/questions/2469831/hudson-build-on-url-token)中得到了解决,但这对我来说也不起作用。
我的 Hudson 版本是 Hudson ver。 1.378.
赌注
I'm trying to set post commit build on Hudson but I can't enable Trigger builds remotely (e.g., from scripts) option in Hudson.
I have installed lots of plugins, google it for a while but all without success. This problem is kind of solved in (http://stackoverflow.com/questions/2469831/hudson-build-on-url-token) but this doesn't work for me either.
My version of Hudson is Hudson ver. 1.378.
bets
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果 Jenkins 实例上未启用安全性,则该选项不可用。
但那是因为你可以这样做:
http://jenkinsserver:8080/job/TestJob/build?delay=0sec
If security isn't enabled on the Jenkins instance, then the option is not available.
But that's because you can do:
http://jenkinsserver:8080/job/TestJob/build?delay=0sec
我使用的是 Hudson 1.381,并且在“构建触发器”下有此选项。请告诉我们更多有关您的配置的信息。您是否启用了安全性(在 Hudson 上,而不是工作级别)?你检查过日志文件吗?
I am on Hudson 1.381 and I have this option under Build Triggers. So tell us more about you configuration. Do you have security enabled (on Hudson, not job level)? Did you check the log file?