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

Jenkins submitter input not working with , separated ID's

      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.

       

          [JENKINS-56602] Jenkins submitter input not working with , separated ID's

          saif rehman added a comment -

          I am not sure which component should be selected as part of this Bug so I just added above

          saif rehman added a comment - I am not sure which component should be selected as part of this Bug so I just added above

          Alex Earl added a comment -

          Where are you putting this information (the id's). A screenshot might be helpful.

          Alex Earl added a comment - Where are you putting this information (the id's). A screenshot might be helpful.

          Alex Earl added a comment -

          I'm not sure what you are expecting to happen here. 

          Alex Earl added a comment - I'm not sure what you are expecting to happen here. 

          saif rehman added a comment -

          Its sending me email with this input message but not to other users. My expectation is the email should be sent to all users whose ids are added inside the submitter

          saif rehman added a comment - Its sending me email with this input message but not to other users. My expectation is the email should be sent to all users whose ids are added inside the submitter

          Alex Earl added a comment -

          The input step has nothing to do with email, so I am not sure what you want to have happen.

          Alex Earl added a comment - The input step has nothing to do with email, so I am not sure what you want to have happen.

          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
           
           
           

          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.

          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.

          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.

          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 ?

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

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

              Created:
              Updated: