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

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

      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).

          [JENKINS-35145] Log warning message if user is not allowed to proceed an input step

          Andrew Bayer added a comment -

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

          Andrew Bayer added a comment - The user still gets feedback in the UI that they're not authorized, right?

          abayer 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

          Allan BURDAJEWICZ added a comment - abayer 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

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

              Created:
              Updated: