I basically want to drive a set of choice parameters based on the slave 
node parameter choice. I tried to use the active choices reactive plugin to 
point to the node choice like this:

    if (Node.contains("name_of_slave_node")) {
    return ["you_chose_slave_node"]  } else {
    return ["master"]  }


Nothing I do seems to work. I can use this type of logic and point to any 
other type of parameter and it works. Im just a bit stumped as to where to 
go with this. Could it be a limitation with the plugin or am I missing 
something with how the groovy is addressing the node parameter. I really 
appreciate any advice.

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/298d75ce-f21d-4286-b654-32154e0d541f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to