| 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 generate a slightly different version of the same job every few months. The Groovy Script changes slightly, which makes Jenkins require in-process script approval and prevents the job from running. With sandbox mode, this would not happen. I'll try to submit a PR. |