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

Pipeline input visual inconsistency

    Details

    • Similar Issues:

      Description

      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

       

       

        Attachments

          Activity

          rymndhng Ray H created issue -
          abayer Andrew Bayer made changes -
          Field Original Value New Value
          Component/s pipeline-input-step-plugin [ 21708 ]
          Component/s pipeline-stage-view-plugin [ 21139 ]
          Component/s pipeline [ 21692 ]
          jamesdumay James Dumay made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Duplicate [ 3 ]
          jbriden Jenn Briden made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              rymndhng Ray H
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: