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

Log warning message if user is not allowed to proceed an input step

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Currently, if a user is not authorized to push the Proceed button for an input step, Pipeline logs don't show anything.

      It would make sense to have a warning to:

      • let the user know they don't have the rights to proceed.
      • know who wants/try to proceed

      Note: This is actually reported in the Blue Ocean's UI, just not in the Pipeline console output (Jenkins UI).

        Attachments

          Activity

          Hide
          abayer Andrew Bayer added a comment -

          The user still gets feedback in the UI that they're not authorized, right?

          Show
          abayer Andrew Bayer added a comment - The user still gets feedback in the UI that they're not authorized, right?
          Hide
          allan_burdajewicz Allan BURDAJEWICZ added a comment -

          Andrew Bayer The failure message is actually reported in Blue Ocean's UI but not in the Pipeline console output (Jenkins UI). Might have something to do with the way the Failure exception is handled: https://github.com/jenkinsci/pipeline-input-step-plugin/blob/master/src/main/java/org/jenkinsci/plugins/workflow/support/steps/input/InputStepExecution.java#L236-L264

          Show
          allan_burdajewicz Allan BURDAJEWICZ added a comment - Andrew Bayer The failure message is actually reported in Blue Ocean's UI but not in the Pipeline console output (Jenkins UI). Might have something to do with the way the Failure exception is handled: https://github.com/jenkinsci/pipeline-input-step-plugin/blob/master/src/main/java/org/jenkinsci/plugins/workflow/support/steps/input/InputStepExecution.java#L236-L264

            People

            • Assignee:
              Unassigned
              Reporter:
              allan_burdajewicz Allan BURDAJEWICZ
            • Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: