I would make two jobs.  The first job decides where the second job should run, 
and then invokes it with the appropriate node argument.

--Rob

From: [email protected] 
[mailto:[email protected]] On Behalf Of Arun Kumar
Sent: Wednesday, May 30, 2012 2:20 AM
To: [email protected]
Subject: How to set the host where my hudson job to run?

Hi All,

I have a script which should run on particular node which i have configured on 
my hudson. I can restrict in the configuration of the job where my job should 
run. But i do not want to do like that. I have some condition which decides 
where the code should run as i have many nodes configured in that hudson. So is 
there any parameter to set the node in the execute shell or execute windows 
batch command?

Thanks,
Arun

The information in this message is for the intended recipient(s) only and may 
be the proprietary and/or confidential property of Litle & Co., LLC, and thus 
protected from disclosure. If you are not the intended recipient(s), or an 
employee or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any use, dissemination, distribution or 
copying of this communication is prohibited. If you have received this 
communication in error, please notify Litle & Co. immediately by replying to 
this message and then promptly deleting it and your reply permanently from your 
computer.

Reply via email to