Re: nodelabel plugin and groovy

2016-01-20 Thread Niksan
The matrix job differs in its workspace layout so doesn't play ball, a square peg for a round hole. -- 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

Re: nodelabel plugin and groovy

2016-01-20 Thread Victor Martinez
Hi, Have you tried to use the matrix project type? you can run same steps in different slaves/labels at the same time. Cheers On Tuesday, 19 January 2016 17:35:09 UTC, Niksan wrote: > > I'm trying to control where jobs are run from a groovy script, it's an > edge case that I have to run on

Re: nodelabel plugin and groovy

2016-01-20 Thread Niksan
Parameters matter, the fix is obvious in hindsight. new StringParameterValue( 'Distribution_Label', node ), should be new LabelParameterValue( 'Distribution_Label', node ), Happy days \o/ -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group.

nodelabel plugin and groovy

2016-01-19 Thread Niksan
I'm trying to control where jobs are run from a groovy script, it's an edge case that I have to run on all nodes in a label rather than what's free. I was hoping I could use the nodelabel plugin to do this. On my slave job I have a label parameter, named and defaults to my label that a lot of