Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

How do I tell Jenkins to run a specific project on a particular slave?

I've set up a Jenkins master node, and a slave node that I want to use for staging an application. But I can't figure out how to configure the project to run on the slave node I created.

share|improve this question

2 Answers 2

up vote 19 down vote accepted

Set the "Restrict where this job can be run" check box in your job configuration and specify the name of your slave.

If you add more slaves later, you can set labels for each slave and specify those in your job configs.

share|improve this answer
Thanks. I used quite a while before found your answer. It should have added to this page – Surasin Tancharoen Jun 4 at 13:56

If you want to use Node/Label as a parameter then install NodeLabel Parameter Plugin

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.