The following DSL does not correctly generate the choices - a, b, c - in the generated job. See attached screen shot.

      freeStyleJob('rag-test-job') {
      properties{
      promotions {
      promotion {
      name('Development')
      conditions {
      manual('araguero', parameters

      { choiceParam('myParameterName',['a','b','c'],'my description') }

      )
      }
      actions

      { shell('echo hello;') }

      }
      }
      }
      }

        1. Screen Shot 2016-10-11 at 1.27.35 PM.png
          Screen Shot 2016-10-11 at 1.27.35 PM.png
          32 kB
        2. 1.png
          1.png
          18 kB
        3. 2.png
          2.png
          59 kB

          [JENKINS-38913] DSL for choiceParam not working

          Alex Raguero created issue -
          ma pi made changes -
          Attachment New: 1.png [ 34718 ]
          ma pi made changes -
          Attachment New: 2.png [ 34719 ]
          Kristan Stewart made changes -
          Component/s New: job-dsl-plugin [ 16720 ]
          Jesse Glick made changes -
          Labels New: regre
          Jesse Glick made changes -
          Labels Original: regre
          Oleg Nenashev made changes -
          Labels New: job-dsl
          Oleg Nenashev made changes -
          Link New: This issue is related to JENKINS-26143 [ JENKINS-26143 ]
          Oleg Nenashev made changes -
          Epic Link New: JENKINS-44837 [ 182897 ]
          Oleg Nenashev made changes -
          Assignee Original: Oleg Nenashev [ oleg_nenashev ]
          CloudBees Inc. made changes -
          Remote Link New: This issue links to "CloudBees Internal OSS-1549 (Web Link)" [ 18653 ]

            Unassigned Unassigned
            jhavero Alex Raguero
            Votes:
            6 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: