-
Bug
-
Resolution: Fixed
-
Minor
-
Linux Ubuntu 12.04; Dell Precision T3600; JDK 1.7
On the Run a Script page, when I check Define script parameters and set values for the parameters, the values I set for that run affect the saved default values for the parameters.
This behavior is unexpected and incorrect; the values set for the parameters on Run a Script should only affect that one run. Only changes to the defaults in Edit a Script should be saved as the defaults.
Code changed in jenkins
User: imod
Path:
src/main/java/org/jenkinsci/plugins/scriptler/ScriptlerManagment.java
src/main/java/org/jenkinsci/plugins/scriptler/config/Script.java
src/main/java/org/jenkinsci/plugins/scriptler/util/ScriptHelper.java
http://jenkins-ci.org/commit/scriptler-plugin/5c1d2f0af8cc88773507e6755215e75c9d9a4bdc
Log:
[FIXED JENKINS-19988] Changes to script parameters in Run Script window affect permanent definitions
Compare: https://github.com/jenkinsci/scriptler-plugin/compare/787238b685a9...5c1d2f0af8cc