This is a question best asked on the Jenkins users mailing list. The Jenkins Developers mailing list is used for discussions of development which extends and enhances Jenkins.
On Tue, Jul 2, 2019 at 10:01 AM chinna obireddy <[email protected]> wrote: > Problem: I have multiple lockable resources at various locations with > labels DEVICE_A and DEVICE_B along with Jenkins Slaves labels JS_COUTRYA > and JS_COUNTRYB in the respective countries. > > Goal: Jenkins should choose the Jenkins SLave based on the Locked Resource > for example: If Jenkins Master chooses the Lockable resource in the pool > DEVICE_A label, the test must run on the Jenkins Slave node from > JS_COUNTRYA. Simple as that. > > To achieve this I am using Lockable resource plugin and Groovy Label > assignment. > > I am trying to access the Variable name created with Lock resource plugin > inside the Groovy script to restrict where this project can be run without > success. Any suggestions are appreciated. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/bdf0ef73-f17f-4364-94f2-e29b4b88d6d0%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/bdf0ef73-f17f-4364-94f2-e29b4b88d6d0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Thanks! Mark Waite -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtFLxfxVy8Q%2BVXzGwe1c-4JskM%3DmrBXSrnh0CSpgrtARnw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
