thanks for the reply Mark - that is one solution I could use as a last resort. I was hoping that the plugin would be doing that boolean expression internally for each label parameter.
I've pulled the source from github - maybe I can find a solution. On Tue, Feb 4, 2014 at 11:46 AM, Marc MacIntyre <[email protected]>wrote: > Pass a boolean expression: (A&&y) > > > On Tue, Feb 4, 2014 at 11:30 AM, Stuart Rowe <[email protected]> wrote: > >> In my situation I have build machines divided into two categories: A and >> B. The nodes for each machine are labelled accordingly. >> >> I also have platforms associated with each machine (one or more of x, y, >> z). These are also included in the labels for each node. >> >> I would like to set up a project with two label parameters machineType >> and platform so that a node is selected that has a label matching >> machineType AND platform. As far as I can tell, the NodeLabelParameter >> plugin only attempts to match at least one label before selecting a node. >> >> Is this the expected behavior? >> >> >> -- >> 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. >> > > > > -- > Marc MacIntyre > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-users/PI5iFT0VgnU/unsubscribe. > To unsubscribe from this group and all its topics, 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.
