Saturday, 5 November 2016

How to run a specific jenkins job on slave?

Q. 80. How to run a specific job on slave?


By default, Jenkins will simply use the first available slave node, which usually results in the best overall turn-around time.
 If you need to tie a build job to a particular machine or group of machines, you need to tick the “Restrict where this project can be run” checkbox in the build configuration page.
 Next, enter the name of the machine, or a label identifying a group of machines, into the Label Expression field. Jenkins will provide a dynamic dropdown showing the available machine names and labels as you type.


No comments:

Post a Comment

Tricks and Tips