DSL for choiceParam not working

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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. 1.png
          18 kB
          ma pi
        2. 2.png
          59 kB
          ma pi
        3. Screen Shot 2016-10-11 at 1.27.35 PM.png
          32 kB
          Alex Raguero

            Assignee:
            Unassigned
            Reporter:
            Alex Raguero
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: