We're evaluating TeamCity 5.1.4 are are running into an issue using the email templates. When a build fails, we would like the email to include a build log, so we're using the following line in "build_failed.ftl":
However, when the email is sent, we get the following error:
[TEAMCITY TEMPLATE ERROR]
How should we call the buildProblems method?
We've also tried adding a section in "common.ftl"
<#macro build_testMacro build>
<#-- @ftlvariable name="build" type="jetbrains.buildServer.serverSide.SBuild" -->
And then referencing that in "build_failed.ftl":
But that doesn't work either.