-
Improvement
-
Resolution: Won't Fix
-
Minor
The "Prepare an Environment for the run" (environmentVariables {}) section supports a "sandbox" mode for the Groovy Script. It would be useful for the DSL plugin to allow for setting the value of this checkbox.
Use case: I (re)generate a job periodically. The Groovy Script changes slightly over time, which makes Jenkins require in-process script approval and prevents the job from running until someone approves the script and re-launches it. With sandbox mode, this would not happen. (Also, it would potentially be more secure)