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
In Extended Email Notifications you can set triggers (e.g. build is unstable or before build), specify email subject, content and recipients.
Click the 'Advance Settings…' button in the 'Editable Email Notification' box. Click the 'Add Trigger' drop-down and select the 'Always' option and Click the 'Save' button. Go to Email-Notification Jenkins job and click on Build now. Check the Recipient's mail box.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With