ServiceMessages in JUnit tests

Hi all,

I have some troubles getting service messages to work with some runners.

I want to print some metrics just to draw some "statistics" graphs, so i put this to stdout:

##teamcity[buildStatisticValue key='METRICNAME' value='VALUE']

and then I add a graph in TC config.

I have performed these experiments:

- in a Rake runner it works
- in "Command" runner it works
- in a ANT / Junit execution it DOESN'T work
- in a .NET MSBuild / NUnit execution it DOESN'T work

how come?



Please sign in to leave a comment.