Custom chart not working

I'm trying to show a custom chart in a build configuration statistics page.  I edited the main-config.xml and added the following:

  <graph title="Database Unit Test Coverage" defaultFilters="" hideFilters="">
    <valueType key="DBTotalObjects" title="Total objects" />
    <valueType key="DBObjectsWithTests" title="Objects with tests" />

I also have my build configuration output a file called teamcity-info.xml at the root folder of the build on the build agent with the contents:

  <statisticValue key="DBTotalObjects" value="437"/>
  <statisticValue key="DBObjectsWithTests" value="5"/>

I've run my build a few times but my chart doesn't appear on the statistics page for the build configuration.  I'm sure there's something I'm missing but I've looked through the documentation and can't find anything obvious.

Comment actions Permalink

FYI, I found my problem.  Although the documentation on the link below states that the server reloads the main-config.xml while the server is running I was able to fix this by restarting the TeamCity web service.

Comment actions Permalink

Hi David

I've re-checked that and all the chanches are catched instantly.
What version do you use? Is it reproduced continuously?

Comment actions Permalink

We're on version   6.0.3 (build 15925).  I haven't tried any more charts so I haven't tried to reproduce.


Please sign in to leave a comment.