nemoo
nemoo

Reputation: 3319

jenkins double email

Each time a jenkins build fails I get two emails 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: it is not a multi-configuration-project, it is a maven 2/3 project

Upvotes: 9

Views: 4028

Answers (2)

lukeis
lukeis

Reputation: 1983

So my configuration has an advanced section under the maven build and all I had to do was make sure the option: "Send e-mail for each failed module" was un-checked. And continue to use the default email notification.

Upvotes: 5

dunni
dunni

Reputation: 44545

This is normal behaviour, because in a Maven job type, you always have a sub job per Maven module (automatically created by Jenkins). You can see the jobs, if you click on the link "Modules".

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

Upvotes: 7

Related Questions