Problem getting custom statistics to show up


I want to display a custom statistic on all build configurations that produce it. So I added this to .BuildServer\config\main-config.xml:


  <graph title="Code Analysis Defects" seriesTitle="Project">
    <valueType key="Reporting" title="Reporting Defects" />

My script is generating the following lines:

[2011-02-28 10:08:15,409] out - ##teamcity[buildStatisticValue key='Reporting' value='13']

The above is taken from C:\TeamCity\buildAgent\logs\teamcity-build.log, of course the script is only outputting ##teamcity[buildStatisticValue key='Reporting' value='13'].
The graph shows up in the statistics but with no data. What am I missing here? I am using 6.0.2 on Windows 7.

Thanks in advance!

1 comment
Comment actions Permalink

I solved it! Well, it seems I forgot to "Show failed" :8}


Please sign in to leave a comment.