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

Developer should see error message for failed input step

    • Blue Ocean 1.0-rc3, Blue Ocean 1.1, Blue Ocean 1.1, Blue Ocean 1.2-beta1, Blue Ocean 1.2-beta2, Blue Ocean 1.2-beta3, Blue Ocean 1.2, Blue Ocean 1.3, Blue Ocean 1.4 - beta 1, Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2, Blue Ocean 1.4 - beta 5

      Context
      If a input step cannot proceed when approving input an error message is returned from the API but not displayed to the user.

      Scope
      Show a form error message if we cannot proceed the input.

      Example

      Jenkinsfile

      node {
          echo 'hello world'
          input message: "Do you want to approve this job to deploy to production?", ok: "OK", submitter: "admin, B, C"
      }
      

      Response

      {
        "message" : "You need to be admin, B, C to submit this",
        "code" : 400,
        "errors" : [ ]
      }
      

          [JENKINS-42920] Developer should see error message for failed input step

          James Dumay created issue -
          James Dumay made changes -
          Epic Link New: JENKINS-38490 [ 174672 ]
          James Dumay made changes -
          Rank New: Ranked higher
          James Dumay made changes -
          Link New: This issue relates to JENKINS-42872 [ JENKINS-42872 ]
          James Dumay made changes -
          Priority Original: Major [ 3 ] New: Critical [ 2 ]
          James Dumay made changes -
          Issue Type Original: Story [ 10002 ] New: Bug [ 1 ]
          James Dumay made changes -
          Rank New: Ranked higher
          Michael Neale made changes -
          Sprint Original: Blue Ocean 1.1 [ 271 ] New: Blue Ocean 1.0-rc2 [ 261 ]
          Michael Neale made changes -
          Rank New: Ranked lower
          Michael Neale made changes -
          Assignee New: Ivan Meredith [ imeredith ]
          Michael Neale made changes -
          Link New: This issue relates to JENKINS-42921 [ JENKINS-42921 ]

            nicu Nicolae Pascu
            jamesdumay James Dumay
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: