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

Emails notification send to inapropriate persons

      I have a Jenkins job that uses Extended E-mail Notification plugin to send info after build done and Git plugin to clone repo. I set

      $BUILD_USER_EMAIL

      in "Editable Email Notification" form as recipient and it basically works. But... When resulting build page contains Git changes list (like on attached screenshot) 

      I found in logs that Jenkins for some reason tries to send email to user that triggered the build AND ALSO to each author of listed Git changes:

      Email was triggered for: Always 
      Sending email for trigger: Always 
      Not sending mail to unregistered user jake@best.com because your SCM claimed this was associated with a user ID 'jake' which your security realm does not recognize; you may need changes in your SCM plugin 
      Not sending mail to unregistered user john@best.com because your SCM claimed this was associated with a user ID 'john' which your security realm does not recognize; you may need changes in your SCM plugin 
      Not sending mail to unregistered user jim@best.com because your SCM claimed this was associated with a user ID 'jim' which your security realm does not recognize; you may need changes in your SCM plugin 
      Sending email to: sammy@best.com jim@best.com 
      Finished: SUCCESS

       

          [JENKINS-73079] Emails notification send to inapropriate persons

          Mark Waite added a comment -

          You're much more likely to persuade others to volunteer their time to investigate the issue if you provide enough details so that others can duplicate your configuration. "How to report an issue" includes guidance on the types of information that are needed.

          Mark Waite added a comment - You're much more likely to persuade others to volunteer their time to investigate the issue if you provide enough details so that others can duplicate your configuration. "How to report an issue" includes guidance on the types of information that are needed.

          Mark Waite added a comment -

          Closing after months with no response from the submitter.

          Mark Waite added a comment - Closing after months with no response from the submitter.

            Unassigned Unassigned
            alejandrinho Alejandro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: