Jenkins double email

Every time the jenkins build fails, I get two messages instead of one.

They have a slightly different subject text:

email 1: "Jenkins build is still unstable: MyAppName Nightly #47" email 2: "Jenkins build is still unstable: MyAppName Nightly ยป myAppName #47" 

Any ideas?

edit: this is not a project with multiple configurations, this is a maven 2/3 project

+7
source share
2 answers

This is normal behavior because in a job of type Maven you always have a helper job for the Maven module (automatically created by Jenkins). You can see the tasks if you click on the "Modules" link.

If you only need one email, you can use the Email Ext plugin.

+7
source

Thus, my configuration has an extended section under the maven assembly, and all I had to do was make sure that the option "Send email for each failed module" was not checked. And continue to use the default notification by default.

+4
source

All Articles