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

Arguments passed to Managed Script called in Conditional BuildStep could not be saved

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I have a managed script which accepts two parameters.
      I have a job where I want to call this script only when the specific condition is met.
      So I reconfigure that job and hit 'save' and no error occurs. Then I reload webpage and see that the buildstep is saved but its arguments are not.
      Saving fails both for 'Conditional step (Single)' and for 'Conditional step (Multiple)'

      UPD: jenkins: 1.480.3
      plugins: conditional step : 1.2
      managed scripts : 1.0.1
      config file provider: 2.2.1

        Attachments

          Activity

          Hide
          domi Dominik Bartholdi added a comment -

          I'm currently on vacation, but I'll look into it soon...

          Show
          domi Dominik Bartholdi added a comment - I'm currently on vacation, but I'll look into it soon...
          Hide
          nickolayr Nickolay Rumyantsev added a comment -

          Thanks, that would be great!

          Show
          nickolayr Nickolay Rumyantsev added a comment - Thanks, that would be great!
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: imod
          Path:
          src/main/java/org/jenkinsci/plugins/managedscripts/ScriptBuildStep.java
          src/main/java/org/jenkinsci/plugins/managedscripts/WinBatchBuildStep.java
          src/main/resources/org/jenkinsci/plugins/managedscripts/ScriptBuildStep/config.jelly
          src/main/resources/org/jenkinsci/plugins/managedscripts/WinBatchBuildStep/config.jelly
          http://jenkins-ci.org/commit/managed-scripts-plugin/3b1fc4da77cf822e6d3bd9d42b5c0310f52f0d93
          Log:
          [FIXED JENKINS-15995] fix form submission


          You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
          To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com.
          For more options, visit https://groups.google.com/groups/opt_out.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: imod Path: src/main/java/org/jenkinsci/plugins/managedscripts/ScriptBuildStep.java src/main/java/org/jenkinsci/plugins/managedscripts/WinBatchBuildStep.java src/main/resources/org/jenkinsci/plugins/managedscripts/ScriptBuildStep/config.jelly src/main/resources/org/jenkinsci/plugins/managedscripts/WinBatchBuildStep/config.jelly http://jenkins-ci.org/commit/managed-scripts-plugin/3b1fc4da77cf822e6d3bd9d42b5c0310f52f0d93 Log: [FIXED JENKINS-15995] fix form submission – You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out .

            People

            • Assignee:
              domi Dominik Bartholdi
              Reporter:
              nickolayr Nickolay Rumyantsev
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: