Empty build statistics



It's my first attempt to customize email notification template. And it's not clear why ShortStatistics and FullStitistics are null.

This is my code in common.ftl:

<#macro build_stat build>
  <#-- @ftlvariable name="build" type="jetbrains.buildServer.serverSide.SBuild" -->
<#if build.ShortStatistics??>  
  <div>Build stat: ${finishedbuild.ShortStatistics.AllTestCount?string}</div>

And if-condition doesn't pass checking.
1 comment
Comment actions Permalink
solved: it's need to use build.shortStatistics

Please sign in to leave a comment.