From: jenkinsci-users@googlegroups.com <jenkinsci-users@googlegroups.com> On Behalf Of Dirk Heinrichs
> 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 No idea, anyone? Bye... Dirk -- 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<mailto: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<https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msgid_jenkinsci-2Dusers_YTOPR01MB06194EFF724FE2F8D914BF91AA8D0-2540YTOPR01MB0619.CANPRD01.PROD.OUTLOOK.COM-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dfooter&d=DwMFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=TsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI&m=wMfj7Qq4HoycINUWE_dKeKvpwmg0NuOB7jn3FzNvL4A&s=q0E1LbmP-wFIzPlhywh3LvqK8hBGXFfPbvFCjSlnjf4&e=>. For more options, visit https://groups.google.com/d/optout<https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=DwMFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=TsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI&m=wMfj7Qq4HoycINUWE_dKeKvpwmg0NuOB7jn3FzNvL4A&s=yA9gTdQFfIQUEEhyJ6Z6_rxwz54vbtI0z-oLNiNRG5w&e=>. -- 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/YTOPR01MB0619DAF43FC53751517BE723AA890%40YTOPR01MB0619.CANPRD01.PROD.OUTLOOK.COM. For more options, visit https://groups.google.com/d/optout.