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

declarative pipeline with long list choice parameters have incorrect display

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • blueocean-plugin
    • None
    • firefox 52
      blue-ocean 1.0.0-rc1
      (last version for all plugin (22/03/2017))

      Hi,

      With a long list of choice, the drop-down list is not well shown, choices are in the bottom right.

       

       

      pipeline {
      
          agent any
      
      
          parameters {
              choice(
                  name: 'CHOICE_1',
                  choices: 'choice_1\nchoice_2\nchoice_3',
                  description: 'CHOICE_1 description',
              )
      
              choice(
                  name: 'CHOICE_2',
                  choices: 'choice_1\nchoice_2\nchoice_3\nchoice_4\nchoice_5\nchoice_6\nchoice_7\nchoice_8\nchoice_9',
                  description: 'CHOICE_2 description',
              )
      
      }
          stages {
              stage ('stage 1') {
                  steps {
                      println "stage 1 ok"
                  }
              }
      
              stage ('stage 2') {
                  steps {
                      println "stage 2 ok"
                  }
              }
          }
      }

            Unassigned Unassigned
            bdouxx Boudoux Etienne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: