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

Active Choice Reactive Parameter groovy script is not working causing spinning issue

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • active-choices-plugin
    • None
    • Jenkins 2.426.3
      Active Choices plugin - 2.8.3

      In our project we are using Active Choice Parameter and Active Choice Reactive Parameter where value for Active Choice Reactive Parameter is generated based on input we are selected from Active Choice Parameter. We have written small groovy script to update the value but when we select any value from Active Choice Parameter drop down the script is not executing resulting in spinner for Active Choice Reactive Parameter.

      If there is any work around then do let us know

      Below are the screenshot for reference:
      1.Setting up Active Choice Parameter

      2.Setting up Active Choice Reactive Parameter with Groovy script

      3.After selecting value in TestOne drop down TestReactive dropdown value is not updating

          [JENKINS-73215] Active Choice Reactive Parameter groovy script is not working causing spinning issue

          Hi. There are a few "spinning" issues. I won't work on them for now, as I am reverting a change that caused parameters to be rendered as soon as the browser can (which can render them in any order). That change caused several issues, and I suspect that could be affecting this recently added spinning wheel feature.

          So if anyone has a spinning issue, please watch https://issues.jenkins.io/browse/JENKINS-71909. Once that one is fixed and released, then I'll triage issues again testing to see if that fixes not only the out-or-order rendering, but also others issues.

          Note that I work on the plug-in as volunteer. If anyone is in a hurry or needs something done ASAP, please contact a company like Cloudbees or freelancers (this issue has nothing of that, but many times after I work on issues I get emails or someone commenting and changing priorities of issues – as volunteer I cannot offer more than what I'm doing, but I am happy to review pull requests).

          Cheers

          Bruno P. Kinoshita added a comment - Hi. There are a few "spinning" issues. I won't work on them for now, as I am reverting a change that caused parameters to be rendered as soon as the browser can (which can render them in any order). That change caused several issues, and I suspect that could be affecting this recently added spinning wheel feature. So if anyone has a spinning issue, please watch https://issues.jenkins.io/browse/JENKINS-71909 . Once that one is fixed and released, then I'll triage issues again testing to see if that fixes not only the out-or-order rendering, but also others issues. Note that I work on the plug-in as volunteer. If anyone is in a hurry or needs something done ASAP, please contact a company like Cloudbees or freelancers (this issue has nothing of that, but many times after I work on issues I get emails or someone commenting and changing priorities of issues – as volunteer I cannot offer more than what I'm doing, but I am happy to review pull requests). Cheers

            kinow Bruno P. Kinoshita
            ravip165 Ravi
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: