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?