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

Developer should see error message for failed input step

    Details

    • Similar Issues:
    • Sprint:
      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

      Description

      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" : [ ]
      }
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: