Here is how you can restrict a job to run on a specified set of nodes

1. Go to "smstask" job's configuration
2. Search "Restrict where this project can be run" checkbox and check it
3. In "Label Expression" that shows up, enter the labels of the nodes on 
which you would like to restrict "smstask" job to run. In this cases 
'tomcat1' and 'tomcat2'. 
4. Save the configuration

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f7eb6ee4-da60-4681-b216-8e9dcaf56dd6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to