Possible to add Build Log to Email Notification
Hello,
Currently we have an email notification that gets send out when:
- Build is successful
- Build starts
- Build fails to start
- Build fails (ignore failures not caused by my changes)
- The first build error occurs
How can we attach the build log to the notification?
Thanks for your time,
-Dan
Please sign in to leave a comment.
You can customize mail notifications using FreeMarker (.ftl) templates, which are stored in <TeamCity data directory>/config/_notifications/ folder. Here is an example of how to post ERROR messages from build log to email notifications: http://youtrack.jetbrains.com/issue/TW-8621#comment=27-141790. More information about reporting messages from build log.
Also we have a feature request to support attachments to emails TW-7318, please vote.