Re: Override Label parameter in Freestyle job

2021-04-19 Thread David Drum
The Groovy Label Assignment plugin does what I want. On Friday, April 16, 2021 at 8:50:43 PM UTC-5 David Drum wrote: > Thanks; that is the exact plugin whose Label parameter value I am trying > to override and have Jenkins use the updated va

Re: Override Label parameter in Freestyle job

2021-04-16 Thread David Drum
Thanks; that is the exact plugin whose Label parameter value I am trying to override and have Jenkins use the updated value to determine node selection. I can update the value and have it propagate to the build, but Jenkins still picks a node from the original value. On Friday, April 16, 2021 a

Re: Override Label parameter in Freestyle job

2021-04-16 Thread Mark Waite
You might investigate the Node and Label Parameters plugin . I don't know that it allows Groovy script evaluation to select the label or node, but it does have many options for node and label usage with Freestyle jobs. On Friday, April 16, 2021 a

Override Label parameter in Freestyle job

2021-04-16 Thread David Drum
Hello, I am at wit's end trying to make Jenkins run a freestyle job build on a node based on a Label parameter I set using a Groovy script in the job, rather than the value provided by the user who started the build. I will be deeply grateful for (a link to) a working example. Below are things