My jobs use parameters created by Groovy scripts via Extended Choice parameters and Active Choices Parameter.
These scripts change, as they return list of available builds.
As a result, every time I regenerate the jobs with JobDSL, I have to manually approve a bunch of Groovy scripts.
For now I just have a Groovy script job that is hooked up as a post build step and it approves all scripts but this is not maintainable for me in the long run.
1. Active Choices Parameter has a 'Run in sandbox' mode but JobDSL doesn't provide a way to enable it. I could resort to 'config' node but would prefer something less messy.
2. Extended Choice doesn't even provide that parameter, so what can I do in that case?
Thanks for the help.