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

Active Choices Reactive Parameter with boolean as Referenced parameters is not evaluated depending on the position

    Details

    • Similar Issues:

      Description

      I have a job with an Active Choice Reactive parameter with a Boolean as a Referenced Parameter

      Depending on the position in the job configuration it evaluates the Referenced Parameters or not.

      When they are sorted as in the image position1, all works fine. But if the Boolean Parameter is after the Active Choice Reactive parameter, then, the Active Choice Reactive parameter stop working properly. 

      I guess it has to evaluate the value of the Boolean Parameter, and if it is after the Active Choice Reactive parameter, the Active Choice Reactive parameter considers that the  the Referenced Parameters does not exists and stop working.

      Thanks  a lot in advance.

        Attachments

          Activity

          Hide
          ioannis Ioannis Moutsatsos added a comment - - edited

          Indeed this is how the cascade parameter update happens. Any parameter used by an active choice reactive has to be defined upstream. There are some advanced strategies for sharing parameters independent of their sequence in the form (using an in-memory h2 database) but this is beyond the scope of most typical freestyle jobs. We have discussed this with Bruno P. Kinoshita as a future improvement.

          Show
          ioannis Ioannis Moutsatsos added a comment - - edited Indeed this is how the cascade parameter update happens. Any parameter used by an active choice reactive has to be defined upstream. There are some advanced strategies for sharing parameters independent of their sequence in the form (using an in-memory h2 database) but this is beyond the scope of most typical freestyle jobs. We have discussed this with Bruno P. Kinoshita as a future improvement.
          Hide
          ioannis Ioannis Moutsatsos added a comment -

          Not an issue. Working as expected

          Show
          ioannis Ioannis Moutsatsos added a comment - Not an issue. Working as expected

            People

            • Assignee:
              kinow Bruno P. Kinoshita
              Reporter:
              jdcano Daniel Cano
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: