No. you need to run the slave agent on slave machine and then restrict the job to run on that slave.
*To setup a slave* - *https://wiki.jenkins-ci.org/display/JENKINS/Step+by+step+guide+to+set+up+master+and+slave+machines <https://wiki.jenkins-ci.org/display/JENKINS/Step+by+step+guide+to+set+up+master+and+slave+machines>* *To restrict job to run on the slave* - *https://www.safaribooksonline.com/library/view/jenkins-the-definitive/9781449311155/ch11s04.html <https://www.safaribooksonline.com/library/view/jenkins-the-definitive/9781449311155/ch11s04.html>* On Mon, Mar 30, 2015 at 2:32 PM, Parthiban S <[email protected]> wrote: > For assigning Master job to Slave machine. Is slave machine need to run > the Jenkins server (java -jar jenkins.war) in command prompt? > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/ec177d4e-32d9-4090-8148-1fd5fedce68d%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/ec177d4e-32d9-4090-8148-1fd5fedce68d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Thanks and Regards: Punit Jain -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CABrJb%3DyjRRZaK8ot1pLcu%2BoKfZ-17XA-aozdfo2Cr6tZadtW2Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
