问题
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