Re: Dynamically selecting a node
Works like a charm, thanks guys! On Wed, Sep 11, 2013 at 11:06 PM, Philippe Cambien incubusat...@gmail.comwrote: 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 bmat...@batmat.net 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. 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
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.
Re: Dynamically selecting a node
Philippe Cambien incubusattax at 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
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.comwrote: Philippe Cambien incubusattax at 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
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 incubusat...@gmail.comwrote: 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 incubusattax at 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
Philippe Cambien incubusattax at 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
On Wed, Sep 11, 2013 at 6:45 AM, Philippe Cambien incubusat...@gmail.com 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
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. 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
Oups. Sorry I just realized I lag here :) Le 11 sept. 2013 18:14, Baptiste Mathus bmat...@batmat.net 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. 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
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 bmat...@batmat.netjavascript:_e({}, 'cvml', 'bmat...@batmat.net'); 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.comjavascript:_e({}, 'cvml', '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.comjavascript:_e({}, '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 javascript:_e({}, '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.