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

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

              People

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

                Dates

                • Created:
                  Updated: