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

Extended Choice Parameter ignores first property value

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      OS: Ubuntu 14.04.5 LTS
      Jenkins: 2.7.4
      ECP Plugin: 0.75
      Web Browser: Google Chrome 54.0.2840.71
    • Similar Issues:

      Description

      Using the Extended Choice Plugin with a property file, it appears to be stripping out the first value

      Project config

      • Basic Parameter Types:
        • Parameter Type: Single Select
      • Choose Source for Value:
        • Property File = /tmp/branches-testing
        • Property Key = branches
      • Choose Source for Default Value:
        • Default Value = master
      • Choose Source for Value Description:
        • Description = Branch to build
      test1$ echo -n "branches=master,branchA,branchB," > /tmp/branches-testing
      

      test2$ echo -n "branches=branchC,master,branchA,branchB," > /tmp/branches-testing
      

        Attachments

        1. test1.png
          test1.png
          17 kB
        2. test2.png
          test2.png
          16 kB

          Activity

          Hide
          kbonner Kevin Bonner added a comment -

          When Choose Source for Value Description is blank, the first property value is not skipped

          Show
          kbonner Kevin Bonner added a comment - When Choose Source for Value Description is blank, the first property value is not skipped

            People

            • Assignee:
              vimil vimil
              Reporter:
              kbonner Kevin Bonner
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: