I can't find “Restrict where this project can be run” in the configure page

妖精的绣舞 提交于 2020-02-29 10:10:10

问题


I use Jenkins,I can't find "Restrict where this project can be run" in the configure page,should I add some plugins? which one?


回答1:


This is because you have not yet added any new nodes to your Jenkins set up. Till then the master(where you have installed Jenkins) is the only available machine where jobs can be run. So there is no need to ask where the job needs to be restricted to be run.

Check this link to see how to add a new node to your jenkins setup. Once you add a new node, you will see the option of "Restrict where this project can be run".




回答2:


This is because you have not added any label to your master node (if you don't have slaves).

This is a bit weird because you could also use the node name (i.e. 'master') to restrict the executor node, not only the label, and you may want to do this before you add further slaves.



来源:https://stackoverflow.com/questions/14975632/i-cant-find-restrict-where-this-project-can-be-run-in-the-configure-page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!