-
Bug
-
Resolution: Fixed
-
Blocker
-
active-choices 1.5, Jenkins 2.19.2, Windows Server 2008 R2
After upgrading to the Active Choices v1.5 jobs originally containing Active Choices v1.4 definitions load and work fine. However, if the configuration of one of these jobs now gets saved (you don't even need to modify it) all parameters to scriptlets used in Active Choices are dropped and the form UI does not render.
See attached screenshot on the parameter definition changes before and after the configuration is changed.
- duplicates
-
JENKINS-39760 Active Choices Parameters lost of Job Config save
-
- Closed
-
- is related to
-
JENKINS-39534 When Jenkins restarts, the groovy scripts are lost
-
- Closed
-
Thanks for testing it out Paul.
I've successfully reproduced the issue this time. I was paying attention to the transient issue we had recently, but wasn't specifically looking at scriptler parameters.
Besides adding script-security-plugin, we have also upgraded dependencies - including scriptler-plugin. Scriptler Plugin API changed, and one part of the changes broke the UI. I have it working locally, and it's persisting the values. But I'm getting a different - and strange - error when the script is evaluated.
So I'm currently debugging this issue, that happens only for Scriptler scripts. Groovy scripts work fine.