Pipeline input visual inconsistency

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      The markup for a Pipeline's input step is rendered inconsistently depending on the UI. They're all bad in their own ways. It makes it hard to build good experiences for users.

      Here, you can see discrepencies between: how the message is formatted. Should it be plaintext or HTML? Similiarly for text area inputs, shouldn't it use textareas everywhere?

      Here'sĀ a sampleĀ Pipeline Job:

      def message = "Hello!"
      def stackProperties = [
        app_name: "asdf",
        app_version: "1234" 
      ]
      
      stage("Hello") {
        input(
          message: message + "\n\nWrite a short description of the release notes (think customer facing). Supports slack formatting",
          parameters: [text(name: 'deploy-notes', defaultValue: """Deploying
      ${stackProperties.app_name}@${stackProperties.app_version}
      *Changes*:
      -
      
      *Impact*:
      - none""")],
          submitterParameter: 'PASSES_QA_APPROVER'
        )
      }

      I've attached some screenshots of the three places where I see inputs:

      • Pipeline Overview
      • Job's Input Page
      • Job's Blue Ocean Input Page

      Ā 

      Ā 

            Assignee:
            Unassigned
            Reporter:
            Ray H
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: