This should work.

Open http://yourjenkins/label/LABEL1&&LABEL2&&!NODE_NAME -- which slaves does 
it show to match this expression? Is the one this should not run on listed as 
well?

On 15.11.2013, at 10:06, Thomas <[email protected]> wrote:

> Hi,
> 
> I am encountering an issue with Label restrictions:
> I want a job to be dispatched on a slave node that has labels LABEL1 and 
> LABEL2 but different from NODE_NAME.
> Thus, in the "Restrict where this project can be run", I specified an 
> expression such as:
> LABEL1 && LABEL2 && !NODE_NAME
> 
> but unfortunately, my job starts on NODE_NAME.
> 
> Is there something wrong in my setup or is this an issue with labels ?
> 
> Thanks
> Thomas
> 
> (using jenkins 1.538)
> 
> 
> -- 
> 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/groups/opt_out.

-- 
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/groups/opt_out.

Reply via email to