No coverage when build is started from a trigger

I've got TeamCity 7.1.5 building my .Net project using MSbuild step and then running tests using MSTest step. I've configured the MSTest step to collect code coverage using the bundled dotCover.

When I force the build with the Run button, the coverage gets collected just fine, but when the build is started from a daily (5:00am) trigger, it runs the tests but fails to collect coverage information.

Any suggestion for how I can further troubleshoot this?

Please sign in to leave a comment.