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

Extended choice parameter not using defaults on timed builds

    Details

    • Similar Issues:

      Description

      The extended choice parameter plugin (versions 0.59, 0.61) are not populating variables with default values on timed builds. But they do populate parameter variables for on demand builds.

      Reverting back to 0.56 works around this issue.

      The expected behaviour is that when the timer goes off the build is initiated with the default parameter values.

        Attachments

          Activity

          Hide
          vimil vimil added a comment -

          Could you provide the settings you use?

          Are you using groovy script or property files to populate default values?

          Show
          vimil vimil added a comment - Could you provide the settings you use? Are you using groovy script or property files to populate default values?
          Hide
          drtaddei Dave Taddei added a comment -

          Settings are as follows:

          1. Basic parameter types
          1.1 Checkbox parameter type
          1.2 Five visible items
          1.3 Comma delimiter
          1.6 Source for values is a property file
          1.7 Source for default value is a property file

          Yes we are using property files. The same property file contains the selectable parameters under one key and the default values under a different key. Property files are stored on the jenkins master under /var/lib/jenkins/userContent/ourBuild/ourProperties.properties

          We also see this behaviour for text box parameter types

          Show
          drtaddei Dave Taddei added a comment - Settings are as follows: 1. Basic parameter types 1.1 Checkbox parameter type 1.2 Five visible items 1.3 Comma delimiter 1.6 Source for values is a property file 1.7 Source for default value is a property file Yes we are using property files. The same property file contains the selectable parameters under one key and the default values under a different key. Property files are stored on the jenkins master under /var/lib/jenkins/userContent/ourBuild/ourProperties.properties We also see this behaviour for text box parameter types
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: vimil
          Path:
          src/main/java/com/cwctravel/hudson/plugins/extended_choice_parameter/ExtendedChoiceParameterDefinition.java
          http://jenkins-ci.org/commit/extended-choice-parameter-plugin/7fc25af590962c33cd882575508570ad243d352d
          Log:
          fixing JENKINS-33921

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: vimil Path: src/main/java/com/cwctravel/hudson/plugins/extended_choice_parameter/ExtendedChoiceParameterDefinition.java http://jenkins-ci.org/commit/extended-choice-parameter-plugin/7fc25af590962c33cd882575508570ad243d352d Log: fixing JENKINS-33921
          Hide
          vimil vimil added a comment -

          fixed in 0.63

          Show
          vimil vimil added a comment - fixed in 0.63

            People

            • Assignee:
              vimil vimil
              Reporter:
              drtaddei Dave Taddei
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: