Status: Open (View Workflow)
Active Choices Plug-in 2.5.1
I configured a job using Active Choice Parameter with Groovy Script. I did check "Use Groovy Sandbox" below the script and save.
I was able to run a build after the initial configuration.
But after that build, the "Use Groovy Sandbox" checkbox got wipe out and the parameter doesn't display correctly. I had to reconfigure and check that box but I am not able to run it once because it will get wiped out again.
I am using the same setup like Lu and getting the same issue.
Every time when we are running the build, we are using "Build with Parameters" button and every time its not able to load the required parameters.
Then have to click on the Configure and select all the check boxes and save. After that only "Build with Parameters" button is able to load the required parameters.
Thanks Udayendu. I will give it another try, this time with the exact versions, before trying to upgrade Jenkins/libs.
I was not able to reproduce it. I created a job with a single parameter and with a Groovy script with that checkbox checked.
Reloaded configuration a couple times, and the checkbox was still checked.
Executed the job twice, producing two succeeded builds. Checked the checkbox status in-executions, and after both builds were produced. The check box was always selected.
Same plug-in version, only Jenkins version a bit older 2.204.1. Not sure if the Jenkins version could interfere; or perhaps the Scriptler version?
If anybody else is able to reproduce in another environment, and if possible to share the config.xml of the job, then I will try it again.