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

Job parameter entry dialog does not say what the parameter is

    XMLWordPrintable

    Details

    • Sprint:
      Blue Ocean 1.2, Blue Ocean 1.3
    • Similar Issues:

      Description

      Scope

      • If the description is unavailable then we should fall back to displaying the name field instead
      • Check that this is the case for parameterised jobs as well as pipeline input steps

      Problem
      When I launch a job that requires parameters, it pops a dialog to enter the parameter value.

      But it does not say which parameter is being entered (i.e. the parameter metadata is not shown).

      vs

        Attachments

          Issue Links

            Activity

            Hide
            jamesdumay James Dumay added a comment -

            Ben Walding This smells like a bug. Do you have a sample Jenkinsfile?

            Show
            jamesdumay James Dumay added a comment - Ben Walding This smells like a bug. Do you have a sample Jenkinsfile?
            Hide
            bwalding Ben Walding added a comment -

            I dug deeper - it's because I don't have descriptions on some of my parameters - e.g. DOCKER_LABEL

            Should the behaviour be to fall back to the name rather than show nothing (description isn't mandatory)?

            E.g.

            pipeline {
                agent any 
                parameters {
                    string(name: 'KIND', defaultValue: 'Not-sausage', description: 'What kind of sandwich would you like?')
                    string(name: 'CONDIMENT', defaultValue: 'Mustard')
                }
                
                stages {
                    stage('Build') { 
                        steps { 
                            print '${KIND} sandwich with ${CONDIMENT}' 
                        }
                    }
                }
            }
            
            Show
            bwalding Ben Walding added a comment - I dug deeper - it's because I don't have descriptions on some of my parameters - e.g. DOCKER_LABEL Should the behaviour be to fall back to the name rather than show nothing (description isn't mandatory)? E.g. pipeline { agent any parameters { string(name: 'KIND', defaultValue: 'Not-sausage', description: 'What kind of sandwich would you like?') string(name: 'CONDIMENT', defaultValue: 'Mustard') } stages { stage('Build') { steps { print '${KIND} sandwich with ${CONDIMENT}' } } } }
            Hide
            michaelneale Michael Neale added a comment -

            Nicolae Pascu feel free to sync with Cliff Meyers if you need any help with this. 

            Show
            michaelneale Michael Neale added a comment - Nicolae Pascu feel free to sync with Cliff Meyers if you need any help with this. 

              People

              • Assignee:
                nicu Nicolae Pascu
                Reporter:
                bwalding Ben Walding
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: