Re: Running a shell command on multiple/all slaves from script console

2013-12-16 Thread Omer Weissman
I was considering using the matix job, but it has a major flaw, it will be queued with the regular builds...we have one executor per slave and some of the jobs run for a long time ~30 minutes, so on part of the slaves it will wait for a long time in the queue. I'm ok with t processing one by

Re: Running a shell command on multiple/all slaves from script console

2013-12-16 Thread Les Mikesell
On Mon, Dec 16, 2013 at 9:24 AM, Omer Weissman weiss...@gmail.com wrote: I was considering using the matix job, but it has a major flaw, it will be queued with the regular builds...we have one executor per slave and some of the jobs run for a long time ~30 minutes, so on part of the slaves it

Re: Running a shell command on multiple/all slaves from script console

2013-12-16 Thread Omer Weissman
I have 17 slaves and soon will have more, so adding another maintenance agent per machine is a huge overhead... I'm aware of the execute().text as I understand, from the manage console it will only run on the master. please see my original post for the loop trying to accomplish this. many

Re: Running a shell command on multiple/all slaves from script console

2013-12-16 Thread Les Mikesell
On Mon, Dec 16, 2013 at 10:23 AM, Omer Weissman weiss...@gmail.com wrote: I have 17 slaves and soon will have more, so adding another maintenance agent per machine is a huge overhead... I don't find adding nodes to be difficult, especially if you start them with ssh. Just add by copying an

Re: Running a shell command on multiple/all slaves from script console

2013-12-15 Thread Omer Weissman
Hi, Thanks for the idea, I didn't try dsh, and I was not familiar with it. But I still want to accomplish this through Jenkins Console, as dsh requires me to be in the same LAN or use VPN, and I want to be able to do it through the interface. any ideas ? Thanks, Omer On Thursday, December

Re: Running a shell command on multiple/all slaves from script console

2013-12-15 Thread Les Mikesell
On Sun, Dec 15, 2013 at 6:05 AM, Omer Weissman weiss...@gmail.com wrote: Thanks for the idea, I didn't try dsh, and I was not familiar with it. But I still want to accomplish this through Jenkins Console, as dsh requires me to be in the same LAN or use VPN, and I want to be able to do it

Re: Running a shell command on multiple/all slaves from script console

2013-12-12 Thread Dirk Heinrichs
Am 12.12.2013 10:33, schrieb Omer Weissman: I want to execute an administrative shell script on all slaves using the script console in Jenkins manage. Did you try the Debian distributed shell (dsh)? HTH... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions