0

We have a custom test runner for our UI Smoke Tests and I want to report code coverage to TeamCity to enable metrics monitoring and failing of build, etc.

I'm trying the use service messages to achieve this as follows:

##teamcity[buildStatisticValue key='CodeCoverageAbsMCovered' value='5']
##teamcity[buildStatisticValue key='CodeCoverageAbsMTotal' value='10']

But it's not being picked up. Can someone please tell me how to send coverage data to Teamcity.

Thanks, dave

bacar
  • 9,761
  • 11
  • 55
  • 75
Dave
  • 1,068
  • 12
  • 26

1 Answers1

0

The key used in service messages should not be equal to any of predefined keys.

Alina Mishina
  • 3,320
  • 2
  • 22
  • 31