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

DSL for choiceParam not working

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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;') }

      }
      }
      }
      }

        Attachments

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

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jhavero Alex Raguero
              • Votes:
                5 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated: