I am currently trying to set up our Jenkins to send emails when the build succeeded or failed. I want to use email-ext for this job. I want to send emails to the git committers only because I don't want to spam any other recipients. This is why I left the global recipient list empty.
However, when I configure a trigger to send an email to the developers ("send to recipient list" and "send to requestor" are unchecked) it fails with the following error:
Email was triggered for: Failure
Sending email for trigger: Failure
An attempt to send an e-mail to empty list of recipients, ignored.
I don't want to send to a list of recipients. The only one, who should receive an email, should be the git committer of the last commit. How do I do that?
Email-ext does'nt have an option to send mails only to committers.Infact you can use triggers for both Failure and success and trigger mails either to culprits or recipent list.
you have this error:An attempt to send an e-mail to empty list of recipients
because you have used trigger option with no emails-ids any where in the recipents list or predefined some where. best way is to use Recipents list