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

The selected values of checkbox reactive parameter are not available in Scriptler groovy script

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      In Coordinator project, I have two AC Reactive parameters where, and type of both is Checkbox. The second parameter references the first and it should react when the first parameter changes its value.

      The first parameter has more than one option (check boxes) where one is selected by default, but when I change selection on the first parameter (check some other options), and check the value of the first parameter in the Groovy script in the second parameter, it always returns only default selected value (INSTALL1), other selected values are not detected by the second parameter. If I change choice type of the first parameter to radio button or multi select , everything works fine.

        Attachments

          Activity

          Hide
          kinow Bruno P. Kinoshita added a comment -

          Not yet Branko Todoric. I committed with the wrong Jenkins JIRA ID, but so far no changes in the code specifically for this issue.

          We are aiming at releasing 1.5.3-alpha to the experimental update center this Friday afternoon NZ time. Will try to take a look on this issue before, and maybe include it too. Otherwise, the 1.5.3 will be released on the second week of December if nothing goes wrong.

          Let's try to fix it before that, so you can get a version with this fix

          Show
          kinow Bruno P. Kinoshita added a comment - Not yet Branko Todoric . I committed with the wrong Jenkins JIRA ID, but so far no changes in the code specifically for this issue. We are aiming at releasing 1.5.3-alpha to the experimental update center this Friday afternoon NZ time. Will try to take a look on this issue before, and maybe include it too. Otherwise, the 1.5.3 will be released on the second week of December if nothing goes wrong. Let's try to fix it before that, so you can get a version with this fix
          Hide
          duckworth John Lemp added a comment -

          Was this fix ever released? I am running into this issue on 1.5.3 where a Groovy script in the second parameter won't return any value when the parameter is of type checkbox but does have a value when I change it to radio or select.

          Show
          duckworth John Lemp added a comment - Was this fix ever released? I am running into this issue on 1.5.3 where a Groovy script in the second parameter won't return any value when the parameter is of type checkbox but does have a value when I change it to radio or select.
          Hide
          kinow Bruno P. Kinoshita added a comment -

          Hi John Lemp, not yet. I'm working on 1.5.4, and this issue has been initially triaged for this release. There is only one issue confirmed in 1.5.4 for now (remove custom stapler proxy). I'm still looking how to combine the issues we have in a new release with not much risk for users.

          In case you have a pull request, just ping me and I'll take a look (would be easier to guarantee it included in this release that way )

          Show
          kinow Bruno P. Kinoshita added a comment - Hi John Lemp , not yet. I'm working on 1.5.4, and this issue has been initially triaged for this release. There is only one issue confirmed in 1.5.4 for now (remove custom stapler proxy). I'm still looking how to combine the issues we have in a new release with not much risk for users. In case you have a pull request, just ping me and I'll take a look (would be easier to guarantee it included in this release that way )
          Hide
          marko_andrijevic Marko Andrijevic added a comment -

          Hi Bruno P. Kinoshita, has this fix been released by now?

          Thanks,
          Marko

          Show
          marko_andrijevic Marko Andrijevic added a comment - Hi Bruno P. Kinoshita , has this fix been released by now? Thanks, Marko
          Hide
          kinow Bruno P. Kinoshita added a comment -

          Hi Marko Andrijevic, our releases are blocked until [scriptler plugin issues are solved, and it's whitelisted again|https://groups.google.com/forum/#!topic/jenkinsci-dev/f0XdBXkKw1M.] Feel free to ping the mailing list if you'd like an update on scriptler-plugin. So far I'm fixing the issues in active-choices, and what we can do in the meantime is to release to ([BioUno Update site]http://biouno.org/jenkins-update-site.html) if that works for you (cc Ioannis Moutsatsos).

           

          Cheers

          Bruno

          Show
          kinow Bruno P. Kinoshita added a comment - Hi Marko Andrijevic , our releases are blocked until [scriptler plugin issues are solved, and it's whitelisted again| https://groups.google.com/forum/#!topic/jenkinsci-dev/f0XdBXkKw1M .] Feel free to ping the mailing list if you'd like an update on scriptler-plugin. So far I'm fixing the issues in active-choices, and what we can do in the meantime is to release to ( [BioUno Update site] http://biouno.org/jenkins-update-site.html) if that works for you (cc Ioannis Moutsatsos ).   Cheers Bruno

            People

            • Assignee:
              kinow Bruno P. Kinoshita
              Reporter:
              branko_todoric Branko Todoric
            • Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: