Can TeamCity Automatically 'Discover' & Chart New Statistics?

I am publishing code coverage percentage statistics by assembly where the key name is in two parts.  The literal 'CodeCoverage' followed by an assembly name.  Like so:

    ##teamcity[buildStatisticValue key='CodeCoverage.MyAssembly1' value='25']
    ##teamcity[buildStatisticValue key='CodeCoverage.MyAssembly2' value='37']

Is it possible to configure the custom statistics charts to use a wildcard when selecting the series?  For example:

<graph title="Code Coverage" seriesTitle="Coverage"

  <valueType key="CodeCoverage.*" title="Coverage By Assembly"/>


As our assemblies come and go it'd be nice to have the coverage graph simply 'discover' the changes.  Also helpful would be in the wildcard was a regex such that I could match the assembly name in the key and echo it in the title.

If this is already possible, or perhaps you could suggest a better way, please let me know.  (We are using PartCover on .Net assemblies).


1 comment
Comment actions Permalink

Right now there is no such feature, feel free to submite feature request to our tracker:


Please sign in to leave a comment.