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

default parameter values are ignored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • scriptler-plugin
    • None

      When you create a new locally-hosted Groovy script in Jenkins, the scriptler plugin allows you to configure one or more configurable input parameters for your script. Further, the configuration page allows you to provide default values for these parameters as well. From what I can tell these default parameters are being ignored.

      See the attached screenshot for a simple example script that shows what I'm talking about. The only way to make this script work correctly when run from a build is to manually add a parameter definition to the job config with the same parameter name / value pair seen in the screen shot.

            mtughan Michael Tughan
            leedega Kevin Phillips
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: