Empty build statistics

Answered

Hi,

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>
</#if>  
</#macro>

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

Please sign in to leave a comment.