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

Using Scriptlers in Dynamic Build Parameters AND Build-Steps executs the wrong Scriptler in the Build-Step

      I use a named Scriptler Script first in a "Dynamic Parameter (Scriptler)", then I use another named Scriptler Script in a Build-Step. When the Build-Step is executed it does not executed the configured Scriptler Script but executes the one I have chosen first in the "Dynamic Parameter".
      My workaround is not to use named Scriptler scripts in the Parameter section but to write the relevant Groovy inline.

          [JENKINS-21071] Using Scriptlers in Dynamic Build Parameters AND Build-Steps executs the wrong Scriptler in the Build-Step

          Guy Matz added a comment -

          Bumping into this too . .. frustrating . . .

          Guy Matz added a comment - Bumping into this too . .. frustrating . . .

          This seems to have similar root to JENKINS-24584. You can switch to using Active Choice parameters https://wiki.jenkins-ci.org/display/JENKINS/Active+Choices+Plugin in your build form which they do not suffer from this issue

          Ioannis Moutsatsos added a comment - This seems to have similar root to JENKINS-24584 . You can switch to using Active Choice parameters https://wiki.jenkins-ci.org/display/JENKINS/Active+Choices+Plugin in your build form which they do not suffer from this issue

            dimitarp Dimitar Popov
            angelosphere Angelo Schneider
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: