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

multiSelectDelimiter ignored for ExtendedChoiceParameterDefinition?

    Details

    • Type: Bug
    • Status: Fixed but Unreleased (View Workflow)
    • Priority: Minor
    • Resolution: Not A Defect
    • Labels:
      None
    • Environment:
      Jenkins 2.219
      Extended Choice Parameter Plug-In 0.78
      jenkins-job-builder 3.2.0
    • Similar Issues:

      Description

      Based on the examples I've looked at I am under the impression that the attached configuration XML DemoJob.xml (generated via jenkins-job-builder 3.2.0), which contains, in part:

      <value>a|b|c</value>
      <multiSelectDelimiter>|</multiSelectDelimiter>

      ought to be giving me a list of 3 choices, 'a', 'b', and 'c'.  Instead what I get is a single choice 'a|b|c' 

      Am I misunderstanding what's supposed to be in the configuration or is this a bug in the Extended Choice Parameter Plug-in?

       

        Attachments

        1. DemoJob.xml
          3 kB
        2. DemoJobBuild.png
          DemoJobBuild.png
          13 kB
        3. DemoJobConfigure.png
          DemoJobConfigure.png
          68 kB

          Activity

          Hide
          jim_robinson_gmail_com James Robinson added a comment -

          So the multiSelectDelimiter is for setting the output delimiter not the input delimiter.

          I was mis-reading the JJB documentation and not realizing the https://plugins.jenkins.io/extended-choice-parameter says, at the very bottom:

          The 'value' field is a comma separated list of values for the single select or multi-select box.

          Show
          jim_robinson_gmail_com James Robinson added a comment - So the multiSelectDelimiter is for setting the output delimiter not the input delimiter . I was mis-reading the JJB documentation and not realizing the https://plugins.jenkins.io/extended-choice-parameter says, at the very bottom: The 'value' field is a comma separated list of values for the single select or multi-select box.

            People

            • Assignee:
              vimil vimil
              Reporter:
              jim_robinson_gmail_com James Robinson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: