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

        1. image-2025-03-07-14-08-30-614.png
          33 kB
          AhadNoor
        2. image-2025-03-07-15-45-55-420.png
          49 kB
          AhadNoor
        3. image-2025-03-07-23-38-48-232.png
          33 kB
          AhadNoor
        4. image-2025-03-17-10-32-49-189.png
          82 kB
          AhadNoor

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

              Created:
              Updated:
              Resolved: