Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-19988

Changes to script parameters in Run Script window affect permanent definitions

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          timwood0 Tim Wood created issue -
          timwood0 Tim Wood made changes -
          Field Original Value New Value
          Priority Major [ 3 ] Minor [ 4 ]
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          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

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - 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
          scm_issue_link SCM/JIRA link daemon made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 151510 ] JNJira + In-Review [ 193960 ]

            People

            • Assignee:
              domi Dominik Bartholdi
              Reporter:
              timwood0 Tim Wood
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: