TeamCity Message for dotCover Report File

Is there a way to emit a message from a build runner to specify the location of a dotCover report file similar to what you can achieve with a TRX file and a message? The link http://confluence.jetbrains.net/display/TCD6/Manually+Configuring+Reporting+Coverage does not indicate that this is possible. The link http://confluence.jetbrains.net/display/TCD6/JetBrains+dotCover indicates that you can just add a build step for dotCover, but what if I want to integrate this into an existing build script I have? Thanks!

2 comments

I would surely appreciate an answer. Thanks!

0

Please see
http://confluence.jetbrains.net/display/TCD6/Manually+Configuring+Reporting+Coverage

Do not forget to set explicit paths for temp and work for dotCover.exe cover command. All you need is to issue a service message

##teamcity[importData type='dotNetCoverage' tool='dotcover' path='<path to the results file>']
with full path to generated output file from dotCover cover command. 

0

Please sign in to leave a comment.