Re: Dynamically selecting a node

2013-09-12 Thread Philippe Cambien
Works like a charm, thanks guys!


On Wed, Sep 11, 2013 at 11:06 PM, Philippe Cambien
wrote:

> Hehe, no problem.
> Thanks for the input, I shall try it tomorrow at work.
>
> Op woensdag 11 september 2013 schreef Baptiste Mathus (bmat...@batmat.net
> ):
>
> Oups. Sorry I just realized I lag here :)
>> Le 11 sept. 2013 18:14, "Baptiste Mathus"  a écrit :
>>
>>> Hi,
>>> From what you describe, what you want is actually a standard feature, no
>>> need for a plugin.
>>> Just start your job, this will select a free slave. If you have more
>>> slaves than those four, just label them (with the same label) and configure
>>> your job with "restrict where this job can run" text field.
>>>
>>> Cheers
>>> Le 11 sept. 2013 13:45, "Philippe Cambien"  a
>>> écrit :
>>>
 Hello all,

 I am searching foir a solution to dynamically select a free slave.
 I have several jobs but only four slaves and I want that the job
 executes on any free slave.
  I searched the web and saw that it is possible with the NodeLabel
 Parameter Plugin.
 But I can't get it to work properly.

 Can anybody assist me in the setup please?
 Thank you in advance!

 Cheers,
 Philippe

 --
 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 jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.

>>>  --
>> 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 jenkinsci-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Dynamically selecting a node

2013-09-11 Thread Philippe Cambien
Hehe, no problem.
Thanks for the input, I shall try it tomorrow at work.

Op woensdag 11 september 2013 schreef Baptiste Mathus (bmat...@batmat.net):

> Oups. Sorry I just realized I lag here :)
> Le 11 sept. 2013 18:14, "Baptiste Mathus" 
> >
> a écrit :
>
>> Hi,
>> From what you describe, what you want is actually a standard feature, no
>> need for a plugin.
>> Just start your job, this will select a free slave. If you have more
>> slaves than those four, just label them (with the same label) and configure
>> your job with "restrict where this job can run" text field.
>>
>> Cheers
>> Le 11 sept. 2013 13:45, "Philippe Cambien" 
>> > 'incubusat...@gmail.com');>>
>> a écrit :
>>
>>> Hello all,
>>>
>>> I am searching foir a solution to dynamically select a free slave.
>>> I have several jobs but only four slaves and I want that the job
>>> executes on any free slave.
>>>  I searched the web and saw that it is possible with the NodeLabel
>>> Parameter Plugin.
>>> But I can't get it to work properly.
>>>
>>> Can anybody assist me in the setup please?
>>> Thank you in advance!
>>>
>>> Cheers,
>>> Philippe
>>>
>>> --
>>> 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 jenkinsci-users+unsubscr...@googlegroups.com>> 'cvml',
>>> 'jenkinsci-users%2bunsubscr...@googlegroups.com');>.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>  --
> 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 jenkinsci-users+unsubscr...@googlegroups.com  'cvml', 'jenkinsci-users%2bunsubscr...@googlegroups.com');>.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Dynamically selecting a node

2013-09-11 Thread Baptiste Mathus
Oups. Sorry I just realized I lag here :)
Le 11 sept. 2013 18:14, "Baptiste Mathus"  a écrit :

> Hi,
> From what you describe, what you want is actually a standard feature, no
> need for a plugin.
> Just start your job, this will select a free slave. If you have more
> slaves than those four, just label them (with the same label) and configure
> your job with "restrict where this job can run" text field.
>
> Cheers
> Le 11 sept. 2013 13:45, "Philippe Cambien"  a
> écrit :
>
>> Hello all,
>>
>> I am searching foir a solution to dynamically select a free slave.
>> I have several jobs but only four slaves and I want that the job executes
>> on any free slave.
>> I searched the web and saw that it is possible with the NodeLabel
>> Parameter Plugin.
>> But I can't get it to work properly.
>>
>> Can anybody assist me in the setup please?
>> Thank you in advance!
>>
>> Cheers,
>> Philippe
>>
>> --
>> 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 jenkinsci-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Dynamically selecting a node

2013-09-11 Thread Baptiste Mathus
Hi,
>From what you describe, what you want is actually a standard feature, no
need for a plugin.
Just start your job, this will select a free slave. If you have more slaves
than those four, just label them (with the same label) and configure your
job with "restrict where this job can run" text field.

Cheers
Le 11 sept. 2013 13:45, "Philippe Cambien"  a
écrit :

> Hello all,
>
> I am searching foir a solution to dynamically select a free slave.
> I have several jobs but only four slaves and I want that the job executes
> on any free slave.
> I searched the web and saw that it is possible with the NodeLabel
> Parameter Plugin.
> But I can't get it to work properly.
>
> Can anybody assist me in the setup please?
> Thank you in advance!
>
> Cheers,
> Philippe
>
> --
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Dynamically selecting a node

2013-09-11 Thread Les Mikesell
On Wed, Sep 11, 2013 at 6:45 AM, Philippe Cambien
 wrote:
> Hello all,
>
> I am searching foir a solution to dynamically select a free slave.
> I have several jobs but only four slaves and I want that the job executes on
> any free slave.
> I searched the web and saw that it is possible with the NodeLabel Parameter
> Plugin.
> But I can't get it to work properly.
>
> Can anybody assist me in the setup please?
> Thank you in advance!

You don't need a plugin - just assign a label to the nodes that can
run a job, and in the job config, restrict it to the nodes with that
label.   This approach will do what you want and also allow you to add
different types of nodes for different jobs.  Note that nodes can have
multiple labels and jobs can require some combination of labels if you
have a complex set of capabilities and requirements, but you may not
need that.

-- 
  Les Mikesell
   lesmikes...@gmail.com

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Dynamically selecting a node

2013-09-11 Thread CHAVANNE Robert
Philippe Cambien  gmail.com> writes:

> 
> 
> On another node, do I need the Node Label Parameter Plugin to let the
tests run on nodes?Or can I do this with the standard Jenkins?
> 
> 
> 


Philippe,
No you don't need this plugin for this.

Robert 



-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Dynamically selecting a node

2013-09-11 Thread Philippe Cambien
On another node, do I need the Node Label Parameter Plugin to let the tests
run on nodes?
Or can I do this with the standard Jenkins?


On Wed, Sep 11, 2013 at 2:52 PM, Philippe Cambien wrote:

> I was not aware that the 'Utilize this slave as much as possible' option
> would do this.
> I'll try this.
> Thank you very much!
>
>
> On Wed, Sep 11, 2013 at 2:49 PM, CHAVANNE Robert <
> robert.chava...@gmail.com> wrote:
>
>> Philippe Cambien  gmail.com> writes:
>>
>> >
>> >
>> > Hello all,
>> > I am searching foir a solution to dynamically select a free slave.
>> > I have several jobs but only four slaves and I want that the job
>> executes
>> on any free slave.
>> >
>> >
>> > I searched the web and saw that it is possible with the NodeLabel
>> Parameter Plugin.
>> > But I can't get it to work properly.
>> >
>> > Can anybody assist me in the setup please?
>> > Thank you in advance!
>> >
>> >
>> > Cheers,
>> > Philippe
>> >
>> >
>> >
>> >
>>
>> Hello Philippe,
>> I think that if usage of your slaves is set to "Utilize this slave as much
>> as possible", you shouldn't need to do anything. To my knowledge "Node and
>> Label Parameter Plugin" is rather used for the opposite case when you want
>> to restrain the execution of your job on some specific nodes. Hope it can
>> help.
>> Regards,
>> Robert
>>
>>
>> --
>> 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 jenkinsci-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Dynamically selecting a node

2013-09-11 Thread Philippe Cambien
I was not aware that the 'Utilize this slave as much as possible' option
would do this.
I'll try this.
Thank you very much!


On Wed, Sep 11, 2013 at 2:49 PM, CHAVANNE Robert
wrote:

> Philippe Cambien  gmail.com> writes:
>
> >
> >
> > Hello all,
> > I am searching foir a solution to dynamically select a free slave.
> > I have several jobs but only four slaves and I want that the job executes
> on any free slave.
> >
> >
> > I searched the web and saw that it is possible with the NodeLabel
> Parameter Plugin.
> > But I can't get it to work properly.
> >
> > Can anybody assist me in the setup please?
> > Thank you in advance!
> >
> >
> > Cheers,
> > Philippe
> >
> >
> >
> >
>
> Hello Philippe,
> I think that if usage of your slaves is set to "Utilize this slave as much
> as possible", you shouldn't need to do anything. To my knowledge "Node and
> Label Parameter Plugin" is rather used for the opposite case when you want
> to restrain the execution of your job on some specific nodes. Hope it can
> help.
> Regards,
> Robert
>
>
> --
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Dynamically selecting a node

2013-09-11 Thread CHAVANNE Robert
Philippe Cambien  gmail.com> writes:

> 
> 
> Hello all,
> I am searching foir a solution to dynamically select a free slave.
> I have several jobs but only four slaves and I want that the job executes
on any free slave.
> 
> 
> I searched the web and saw that it is possible with the NodeLabel
Parameter Plugin.
> But I can't get it to work properly.
> 
> Can anybody assist me in the setup please?
> Thank you in advance!
> 
> 
> Cheers,
> Philippe
> 
> 
> 
> 

Hello Philippe,
I think that if usage of your slaves is set to "Utilize this slave as much
as possible", you shouldn't need to do anything. To my knowledge "Node and
Label Parameter Plugin" is rather used for the opposite case when you want
to restrain the execution of your job on some specific nodes. Hope it can help. 
Regards,
Robert


-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Dynamically selecting a node

2013-09-11 Thread Eric Pyle
You should not need to use any plugin. For each job, in its 
configuration make sure that the box "Restrict where this job can run" 
is not checked. Also make sure that each slave is configured with Usage 
set to "Utilize this slave as much as possible". Jenkins will 
automatically assign waiting jobs to open slaves.


Eric

On 9/11/2013 7:45 AM, Philippe Cambien wrote:

Hello all,

I am searching foir a solution to dynamically select a free slave.
I have several jobs but only four slaves and I want that the job 
executes on any free slave.
I searched the web and saw that it is possible with the NodeLabel 
Parameter Plugin.

But I can't get it to work properly.

Can anybody assist me in the setup please?
Thank you in advance!

Cheers,
Philippe
--
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 jenkinsci-users+unsubscr...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.


--
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Dynamically selecting a node

2013-09-11 Thread Philippe Cambien
Hello all,

I am searching foir a solution to dynamically select a free slave.
I have several jobs but only four slaves and I want that the job executes
on any free slave.
I searched the web and saw that it is possible with the NodeLabel Parameter
Plugin.
But I can't get it to work properly.

Can anybody assist me in the setup please?
Thank you in advance!

Cheers,
Philippe

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.