I' ve got a job which deploys the software to different customers. CUSTOMER 
 has e.g 4 options C1, C2, C3

Now I want to trigger a build for each of them with build flow plugin.

Pseudo code:
def customers=job("Deploy").getParameter(1).getOptions()
foreach(customer in customers){
build("Deploy", param1:customer)
}


Is it possible to get the possible options of a parameter from a job?

-- 
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/d98c33cc-2d9b-4ce4-82a2-6b7fe3a61728%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to