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

Only dedicated user can Proceed/Abort an input step

XMLWordPrintable

      Hello, 

      In my Jenkin pipeline, I have a input step but I noticed that even if the submitter name is not same as user; the user can still abort the job. I want only the specific submitter can proceed/abort.

       

      Here is the code. 

      def userInput = input(
                              message: 'Do you approve?', 
                              submitter: 'shakti-view',
                              ok: 'Approve'
                          ) 

            ahadnoor_shakti AhadNoor
            ahadnoor_shakti AhadNoor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: