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

Emails notification send to inapropriate persons

XMLWordPrintable

      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

       

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

              Created:
              Updated:
              Resolved: