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

Jenkins submitter input not working with , separated ID's

    XMLWordPrintable

Details

    Description

      Based on below Jenkins documentation description , I am using comma separated Id's to get email .It only works with one Id which is my employee Id for a project. If I add another employee Id separated by comma it doesn't work. below are the paramters

      input message: "Do you want to approve this job to deploy to QA?", submitter: "897656,783425"

      submitter (optional) : User IDs and/or external group names of person or people permitted to respond to the input, separated by ','. If you configure "alice, bob", will match with "alice" but not with "bob". You need to remove all the white spaces.

       

      Attachments

        Activity

          slide_o_mix : I have the same issue. When i input multiple jenkins user id for the input step as submitter (user1,user2), the expectation is either user1 or user2 can proceed with the input step. 

           
          def approver = input (message: 'Deploy ?', ok: 'Approve', submitter: "user1,user2",submitterParameter: 'approver')
           
          If you login to jenkins as user1 to proceed with approval, it errors out saying the current user is not part of user1,user2
           
           
           

          vinothkumar Vinoth Kumar Thirunavukkarasu added a comment - slide_o_mix : I have the same issue. When i input multiple jenkins user id for the input step as submitter (user1,user2), the expectation is either user1 or user2 can proceed with the input step.    def approver = input (message: 'Deploy ?', ok: 'Approve', submitter: "user1,user2",submitterParameter: 'approver')   If you login to jenkins as user1 to proceed with approval, it errors out saying the current user is not part of user1,user2      

          slide_o_mix There were instance i was able to get the issue reported when multiple ids passed as comma seperated. Currently i couldnt able to reproduce this issue again.

          vinothkumar Vinoth Kumar Thirunavukkarasu added a comment - slide_o_mix There were instance i was able to get the issue reported when multiple ids passed as comma seperated. Currently i couldnt able to reproduce this issue again.
          slide_o_mix Alex Earl added a comment -

          vinothkumar The input step has nothing to do with emailext-template-plugin, that is what I am trying to figure out. I maintain that plugin, not anything to do with the input step.

          slide_o_mix Alex Earl added a comment - vinothkumar The input step has nothing to do with emailext-template-plugin, that is what I am trying to figure out. I maintain that plugin, not anything to do with the input step.

          slide_o_mix I am with you that input step nothing to do with emailext  . The issue is specifically only to input step not working with multiple user ids with comma separated. Is there a way to tie up / tag the issue to the input step component ?

          vinothkumar Vinoth Kumar Thirunavukkarasu added a comment - slide_o_mix I am with you that input step nothing to do with emailext  . The issue is specifically only to input step not working with multiple user ids with comma separated. Is there a way to tie up / tag the issue to the input step component ?
          saif_cvs saif rehman added a comment -

          I second that, input step with comma separated for multiple ids not working. I tried using semi colon ; but same result.

          saif_cvs saif rehman added a comment - I second that, input step with comma separated for multiple ids not working. I tried using semi colon ; but same result.

          People

            Unassigned Unassigned
            saif_cvs saif rehman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: