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

introduce a label to display on the page instead of the parameter name

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • active-choices-plugin
    • None

      Hello,

      I would like to have a parameter label visualized in the parameter form in place of parameter name.

      [
        $class: 'ChoiceParameter',
        choiceType: 'PT_SINGLE_SELECT',
        name: 'NEXUS_REPO_ID',
        label: 'Nexus repository type',          <---- used in jelly template
         script: [
          $class: 'GroovyScript',
          script: [
            sandbox: true, 
            script: """
              return ['release', 'snapshot']
            """.stripIndent()
          ]
        ]
      ]

       

            kinow Bruno P. Kinoshita
            luigirizzo Luigi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: