<#-- Uses FreeMarker template syntax, template guide can be found at http://freemarker.org/docs/dgui.html --> <#assign codeStyle>font-family: monospace; font-family: Menlo, Bitstream Vera Sans Mono, Consolas, Courier New, Courier, monospace; font-size: 12px; <#assign failedStyle>color: #c22731; <#assign stacktraceStyle>color: darkred; <#assign separatorStyle>height: 2px; padding: 0; background: #D6D6D6; <#macro subjMarker>TeamCity <#macro plural val><#if (val > 1 || val == 0)>s <#macro build_agent build> <#-- @ftlvariable name="build" type="jetbrains.buildServer.serverSide.SBuild" --> <#if !build.agentLessBuild>
Agent: ${build.agentName?html}
<#macro build_comment build> <#-- @ftlvariable name="build" type="jetbrains.buildServer.serverSide.SBuild" --> <#if build.buildComment??>
Build comment: ${build.buildComment.comment?html} by ${build.buildComment.user.descriptiveName?html}.
<#macro build_changes bean> <#-- @ftlvariable name="bean" type="jetbrains.buildServer.notification.impl.ChangesBean" --> <#-- @ftlvariable name="webLinks" type="jetbrains.buildServer.serverSide.WebLinks" -->
<#assign modNum=bean.modificationsNumber/> <#if (modNum > 0)>

<#assign changesLink>${modNum} change<@plural modNum/> Changes included: ${changesLink}<#if bean.changesClipped>, only ${bean.modifications?size} are shown.
<#list bean.modifications as mod> <#assign pers><#if mod.personal>(personal build) <#assign description=mod.description?html/> <#if description?length == 0><#assign description='<no comment>'/>
<#assign modLink>${mod.changes?size} file<@plural mod.changes?size/> Change ${mod.displayVersion} ${pers} by ${mod.userName} (${modLink}): ${description?replace("(\r?\n|\r)", "
", "r")?trim}
<#macro compilation_errors bean> <#-- @ftlvariable name="bean" type="jetbrains.buildServer.notification.impl.CompilationErrorsBean" --> <#if bean.hasErrorMessages>

Compilation errors

<#list bean.errorMessages as message>
${message?html}

<#if bean.messagesClipped> << Error message is clipped >>
<#macro test_errors bean> <#-- @ftlvariable name="bean" type="jetbrains.buildServer.notification.impl.FailedTestsErrorsBean" --> <#if (bean.failedTestCount > 0)>

Failed tests summary: ${bean.failedTestCount} <#if (bean.newFailedCount > 0)>(${bean.newFailedCount} new) <#if bean.summariesClipped>, ${bean.testsForSummary?size} are shown. See all on build results page.
<#list bean.testsForSummary as test> <#assign detailsLink> <#if test_index < bean.testDetails?size>details » <#if test.test.responsibility??> <#assign responsibility=test.test.responsibility> <#assign investigation> <#if responsibility.state.active>investigated by ${responsibility.responsibleUser.descriptiveName?html} <#if responsibility.state.fixed>marked as fixed by ${responsibility.responsibleUser.descriptiveName?html} <#if responsibility.state.givenUp>given up by ${responsibility.responsibleUser.descriptiveName?html} <#else> <#assign investigation=''>
<#if test.newFailure>(new) ${test.test.name.asString?html} ${investigation} ${detailsLink}

<#if (bean.failedTestCount > bean.testDetails?size)> Stacktraces (only ${bean.testDetails?size} are shown): <#else> Stacktraces:
<#list bean.testDetails as details> <#if details.new>(new) ${details.testName?html} <#if details.details??>
${details.details?html}

<#macro test_list testNames> <#-- @ftlvariable name="testNames" type="java.util.List" --> <#list testNames as testName> * ${testName} <#macro test_list_html testNames> <#-- @ftlvariable name="testNames" type="java.util.List" -->
    <#list testNames as testName>
  • ${testName?html}
<#macro build_problem_list buildProblems> <#-- @ftlvariable name="buildProblems" type="java.util.List" --> <#list buildProblems as buildProblem> * ${buildProblem?html?replace("(\r?\n|\r)", "
", "r")?trim} <#macro build_problem_list_html buildProblems> <#-- @ftlvariable name="buildProblems" type="java.util.List" -->
    <#list buildProblems as buildProblem>
  • ${buildProblem?html?replace("(\r?\n|\r)", "
    ", "r")?trim}
<#macro footer> <#if notificationType??> ============================================================================ Configure email notifications: ${link.editBuildTypeNotificationsLink} <#else> ============================================================================ Configure email notifications: ${link.editNotificationsLink} <#macro footerHtml>


<#if notificationType??>
Configure email notifications for this build configuration <#else> Configure your email notifications on your settings page.
<#macro short_build_info build><#if build.branch??>[${build.branch.displayName}] #${build.buildNumber}