On Mon, Dec 16, 2013 at 10:23 AM, Omer Weissman <
weis...@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 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
lesmi...@gmail.com