Skip to content
This repository has been archived by the owner on Mar 24, 2018. It is now read-only.

differentiate between build/test errors vs configuration errrors #116

Open
tfoote opened this issue May 2, 2013 · 4 comments
Open

differentiate between build/test errors vs configuration errrors #116

tfoote opened this issue May 2, 2013 · 4 comments

Comments

@tfoote
Copy link
Member

tfoote commented May 2, 2013

This should prevent users from getting emails about something like github being down.

@tfoote
Copy link
Member Author

tfoote commented May 2, 2013

The challenge with this is that we will need to find a way for jenkins to catch these premature failures and abort.

@dirk-thomas
Copy link
Member

For each section we should print a unique line stating in which state the script is in. Then a groovy script can look for those known markers and decide on notification.

@trainman419
Copy link
Contributor

It looks like the Email-ext jenkins plugin has a pre-send script feature which allows it to cancel email notifications: https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin

Perhaps this could be used to disable email notifications for configuration errors and hash sum mismatches.

@dirk-thomas
Copy link
Member

The difficult question is when to flip that switch. If it is only switched w.g. when "hash sum mismatch" is in the output then the maintainer still gets an email for the next job when it became stable again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants