On Mon, Dec 16, 2013 at 10:23 AM, Omer Weissman <[email protected]> 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 existing one and change the ssh
credentials.  But it would add a lot of clutter on the jenkins web
page.

> 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.

I have a 'script console' link on every node page.  If you don't have
that, maybe it comes with installing the groovy plugin.    Commands
run there will run on the node. But, I don't know how to make a single
command iterate over the nodes - that is probably possible somewhere
in the API, though.

You could, of course run a script on the master that uses ssh (with
keys configured for passwordless access) to run the commands remotely
on the slaves without very much jenkins involvement.   That would be a
more natural approach for me since I use ssh much more than java or
groovy.

-- 
   Les Mikesell
      [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to