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

Extended Choice Parameter - Parsing values different for on demand builds and builds started by timer

    Details

    • Similar Issues:

      Description

      I am observing different behaviours of the plugin when triggering the build manually and when the build is triggered by the timer. The field is configured this way:

      • Parameter type: check boxes
      • Delimiter: (a space)
      • Source for Value: Value = -p,-t,-v
      • Default Value: Value = -p, -t
      • If I run a build manually (leaving the defaults) to print the value of the variable which holds the param the output is:
        + echo -p -t
        -p -t
        
      • If I the build runs with a timer the output is:
        + echo -p, -t
        -p, -t
        

      I've tried the following configuration, which works as expected, however, the default options are not marked when clicking Build with parameters

      • Parameter type: check boxes
      • Delimiter: (a space)
      • Source for Value: Value = -p,-t,-v
      • Default Value: Value = -p -t

        Attachments

          Activity

            People

            • Assignee:
              vimil vimil
              Reporter:
              david_rubio David Rubio
            • Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: