<p>If you had one e-mail job that was a downstream of all the other jobs finishing via the <a href="https://wiki.jenkins.io/display/JENKINS/Join+Plugin" rel="nofollow noreferrer">Join Plugin</a>, the e-mail job should only fire off after everything is completed. </p>

<p>It seems the "normal" build trigger will cause an issue. <a href="https://stackoverflow.com/questions/25912639/how-to-build-a-jenkins-project-only-when-two-other-projects-have-successfully-be">https://stackoverflow.com/questions/25912639/how-to-build-a-jenkins-project-only-when-two-other-projects-have-successfully-be</a></p>

CC BY-SA 4.0
2019-09-19T13:29:28.423Z
2019-09-19T13:29:28.423Z
jdcskillet
<p>The other option you could try is to add email notification as part of your build script. I use ANT build script and call the email notification target from my jenkins job instead of using the email plugin</p>

CC BY-SA 4.0
2019-08-20T09:13:01.843Z
2019-08-20T09:13:01.843Z
hars34
<p>I need suggestion for Jenkins project (multi-conf or pipeline) and plugins that will fit my work.</p>

<p>I have 10 "flavors" of the product, so I must build 10 times every time I commit to the repository (all in the same workspace).
Today I have 10 jobs (freestyle) and a "master" job that trigger the rest.
I tried to add Email notification (using Email Extension Plugin) but I want only one Email report for all the builds, not 10 Emails.</p>

<p>I understand that I should change to one multi-configuration project or one pipeline project that will handle all the builds, so it will be easier to trigger only one Email, but what is the best practice to get only one Email report on multiple builds?</p>

CC BY-SA 4.0
2019-08-15T14:48:11.187Z
Do the jobs run in parallel or sequentially?
Preston Martin
CC BY-SA 4.0
2019-08-18T06:51:22.220Z
In sequentially and should keep it that way, because all the jobs compile on the same workspace.
Tomerhek
<jenkins>
Jenkins Email notification for multiple builds
Tomerhek
# Jenkins Email notification for multiple builds

(Asked by: username_0 on 2019-08-14)

I need suggestion for Jenkins project (multi-conf or pipeline) and plugins that will fit my work.

I have 10 "flavors" of the product, so I must build 10 times every time I commit to the repository (all in the same workspace).
Today I have 10 jobs (freestyle) and a "master" job that trigger the rest.
I tried to add Email notification (using Email Extension Plugin) but I want only one Email report for all the builds, not 10 Emails.

I understand that I should change to one multi-configuration project or one pipeline project that will handle all the builds, so it will be easier to trigger only one Email, but what is the best practice to get only one Email report on multiple builds?

**Tags:** jenkins

> **Comments:**
> **username_1**: Do the jobs run in parallel or sequentially?  
> **username_0**: In sequentially and should keep it that way, because all the jobs compile on the same workspace.  

---

## 2 answers

### Answer by username_2 on 2019-09-19. Score: 1

If you had one e-mail job that was a downstream of all the other jobs finishing via the [Join Plugin](https://wiki.jenkins.io/display/JENKINS/Join+Plugin), the e-mail job should only fire off after everything is completed.

It seems the "normal" build trigger will cause an issue. <https://stackoverflow.com/questions/25912639/how-to-build-a-jenkins-project-only-when-two-other-projects-have-successfully-be>


---

### Answer by username_3 on 2019-08-20. Score: 1

The other option you could try is to add email notification as part of your build script. I use ANT build script and call the email notification target from my jenkins job instead of using the email plugin


---

