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

Cannot add two parameters of the same type in Declarative Directive Generator

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Jenkins 2.277.3
      Pipeline: Declarative 1.8.4
      Pipeline: API 2.42
      Pipeline: Multibranch 2.23

      In the Declarative Directive Generator for a Multibranch Pipeline project, I am able to add a string parameter and generate the directive:

      parameters {
        string defaultValue: '', description: '', name: 'demo1', trim: false
      }
      

      However, when I try to add a second string parameter, by first clicking "Add" and then clicking "string: String parameter" in the dropdown list, nothing happens. It seems the Declarative Directive Generator allows at most one parameter of each type. AFAIK, the parameters directive itself allows multiple parameters of the same type, so the Declarative Directive Generator should likewise allow them.

          [JENKINS-65561] Cannot add two parameters of the same type in Declarative Directive Generator

          There are no comments yet on this issue.

            mawinter69 Markus Winter
            kon Kalle Niemitalo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: