Hi,

we just got some new build nodes which are faster than the others. We want to 
assign certain jobs to these nodes via label, but those jobs should not be put 
to wait when those nodes are busy otherwise. So I thought I'd use the Groovy 
Label Assignment Plugin to achieve this. However, the documentation for this 
plugin is quite poor. Could anybody point me into the right direction as to how 
to achieve the following:

IF (node with label "FastNode" has free executors) THEN
  assign label "FastNode"
ELSE
  assign label "OldNode"
ENDIF

Thanks a lot...

                Dirk

Dirk Heinrichs
Senior Systems Engineer, Delivery Pipeline
OpenText (tm) Discovery | Recommind
Phone: +49 2226 15966 18
Email: dhein...@opentext.com<mailto:dhein...@opentext.com>
Website: www.recommind.de<http://www.recommind.de/>
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Vertretungsberechtigte Geschäftsführer John Marshall Doolittle, Gordon Davies, 
Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht 
gestattet.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/YTOPR01MB06194EFF724FE2F8D914BF91AA8D0%40YTOPR01MB0619.CANPRD01.PROD.OUTLOOK.COM.
For more options, visit https://groups.google.com/d/optout.

Reply via email to