Sadly, the trimLabels() method is private. Is there a public method to 
achieve this, or do I really need to call setNodes(getNodes())

On Friday, May 9, 2014 12:48:41 PM UTC-7, Daniel Beck wrote:
>
> I commented on the issue with an explanation and how to solve your 
> problem. 
>
> On 09.05.2014, at 21:40, Christian Goetze 
> <[email protected]<javascript:>> 
> wrote: 
>
> > I just filed https://issues.jenkins-ci.org/browse/JENKINS-22954 
> > 
> > It appears that if I change the node label string via groovy, that 
> change is not immediately effective, even if I save the model. 
> > 
> > If I launch a subtask from the task that make the label change, that 
> subtask will run on a node where it should not run. 
> > 
> > Is there some call I am missing to make a label change to the nodes be 
> effective? 
> > 
> > -- 
> > 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 [email protected] <javascript:>. 
> > For more options, visit https://groups.google.com/d/optout. 
>
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to