Execute job on all the nodes with a certain label

2012-05-14 Thread Costin Caraivan
Hello,

I'm trying to use Jenkins as a remote execution tool. In case you're
wondering why I'm using Jenkins and not some other tool, it's because I
haven't found a tool for remote execution that provides:
- multiple options for connecting to a machine
- a web interface
- easy configuration (very important from an administrative point of view)
- no client/slave/agent install on the machines (you just need Java and
you're all set from Jenkins' point of view)
- dozens of notification systems
- tons of useful plugins

Anyway, back on track. I want to execute a command on all the nodes with a
certain label. Is this possible? I'm not sure it is, but I'm missing
something.

I don't want to configure the matrix jobs to use individual labels since
I'll have dozens of jobs, and lots of duplicated configuration. Plus the
list will have to be updated periodically.

Any pointers will be greatly appreciated :)
_
Costin Caraivan


Re: Execute job on all the nodes with a certain label

2012-05-14 Thread domi
Have a look at this plugin: 
https://wiki.jenkins-ci.org/display/JENKINS/NodeLabel+Parameter+Plugin
I think this should do what you want…
regards Domi

On 14.05.2012, at 16:48, Costin Caraivan wrote:

 Hello,
 
 I'm trying to use Jenkins as a remote execution tool. In case you're 
 wondering why I'm using Jenkins and not some other tool, it's because I 
 haven't found a tool for remote execution that provides:
 - multiple options for connecting to a machine
 - a web interface
 - easy configuration (very important from an administrative point of view)
 - no client/slave/agent install on the machines (you just need Java and 
 you're all set from Jenkins' point of view)
 - dozens of notification systems
 - tons of useful plugins
 
 Anyway, back on track. I want to execute a command on all the nodes with a 
 certain label. Is this possible? I'm not sure it is, but I'm missing 
 something.
 
 I don't want to configure the matrix jobs to use individual labels since I'll 
 have dozens of jobs, and lots of duplicated configuration. Plus the list will 
 have to be updated periodically.
 
 Any pointers will be greatly appreciated :) 
 _
 Costin Caraivan
 



Re: Execute job on all the nodes with a certain label

2012-05-14 Thread Costin Caraivan
Hello,

Woohoo. I misread a part of the configuration and thought that it couldn't
run concurrent builds.
Apparently it can :)

Thanks a lot!

On Mon, May 14, 2012 at 5:53 PM, domi d...@fortysix.ch wrote:

 Have a look at this plugin:
 https://wiki.jenkins-ci.org/display/JENKINS/NodeLabel+Parameter+Plugin
 I think this should do what you want…
 regards Domi

 On 14.05.2012, at 16:48, Costin Caraivan wrote:

  Hello,
 
  I'm trying to use Jenkins as a remote execution tool. In case you're
 wondering why I'm using Jenkins and not some other tool, it's because I
 haven't found a tool for remote execution that provides:
  - multiple options for connecting to a machine
  - a web interface
  - easy configuration (very important from an administrative point of
 view)
  - no client/slave/agent install on the machines (you just need Java and
 you're all set from Jenkins' point of view)
  - dozens of notification systems
  - tons of useful plugins
 
  Anyway, back on track. I want to execute a command on all the nodes with
 a certain label. Is this possible? I'm not sure it is, but I'm missing
 something.
 
  I don't want to configure the matrix jobs to use individual labels since
 I'll have dozens of jobs, and lots of duplicated configuration. Plus the
 list will have to be updated periodically.
 
  Any pointers will be greatly appreciated :)
  _
  Costin Caraivan
 




-- 
_
Costin Caraivan