Email notifications with log


Is it possible that TeamCity sends email with build log? Not only build status.


1 comment
Comment actions Permalink


Yes, it is possible using FreeMarker templates, which are stored in <TeamCity data directory>/config/_notifications/ folder. Here is an example how to post build log into email

<#list build.buildLog.messages[1..] as message><#-- skipping the first message (it is a root node)-->

For more details please see comments for this issue TW-8621.
Also we have a feature request to support attachments to emails TW-7318, please vote.


Please sign in to leave a comment.