Search code examples
javajenkinshudsonjenkins-pluginsemail-ext

Send email to commiters from Jenkins email-ext on every build


I am using Jenkins v1.533, Email-Ext v2.34 and Jenkins Mercurial plugin v1.47, and I want to send emails to the all the mercurial commiters since the last build, for every build.

In post-build actions, I added editable email notification and added triggers for success, failure, unstable, still unstable, fixed, still failing to recipients, developers, culprits. The only people who receive the emails are the project recipients. The emails are never sent to the comitters.

[INFO] Final Memory: 34M/493M
[INFO] ------------------------------------------------------------------------
Email was triggered for: Success
Sending email for trigger: Success
Sending email to: <*>
Finished: SUCCESS

The <*> is only the email address I configured in the project recipient list (censored here for obvious reasons). How do I get it to send emails to comitters on every build?


Solution

  • 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 or developers.

    select either of the three options culprits or recipent list or developers.