Hi, Jenkins users.

I am not 100% sure if this is the correct list, but I want to pass 
${BUILD_USER} to Active Choices.  Something like:

if (BUILD_USER.equals("user")) {

  return ["Option1"]

} else {

  return ["Option2"]

}

I don't seem to be able to do it.  It looks like all the parameters steps 
are doing in parallel so when the Active Choice Groovy scripts are 
evaluated, BUILD_USER is not defined.

Thanks,
IvanK.

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/dc3de755-da95-473e-8b6a-6dfd72655717%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to