Persist code coverage between builds

Answered

Currently we use OpenCover for our code coverage in our .NET applications along with ReportGenerator ( https://github.com/danielpalme/ReportGenerator ).  ReportGenerator allows you to archive coverage results in a folder to be used on future runs to be able to visual if branch/sequence coverage is going up or down over time.  Does teamcity offer any built in facility to add build artifacts to some persistent location and be utilized by all builds in the future to be able to report coverage over time.

2 comments

Hello Michael,

You can configure TeamCity build configuration to publish build artifacts when build finishes. Build artifacts will be stored on TeamCity server machine. Then artifacts can be downloaded in another build via artifact dependency.

0

So accumulating build artifacts is possible?

0

Please sign in to leave a comment.