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

Evaluate parameters once

XMLWordPrintable

      active-choices parameters are not evaluated once. Depending on how you organize your parameters, they may very likely be evaluated twice, thrice, or more times.

      An idea is to create a tree with the parameters hierarchically organized. Then use a tree-walker to evaluate parameters once (or at least once... some parameters may reference themselves, or be a transitive dependency in another parameter evaluation).

      Similar graph could be used in Java, to support parameters without an UI.

            kinow Bruno P. Kinoshita
            kinow Bruno P. Kinoshita
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: