Unit Tests Missing on Remote Build Agent


I recently setup a full build with the default build agent in TeamCity. I set it up so that when I do my coverage analysis, NUnit will dump the results to an xml file. Then I have an additional Build Feature to import that xml report. The defualt agent handles this just fine and will show me the test results after each build.

I created a template from that build and setup another one, this time on a remote machine. To my suprise, it doesn't import the results for that build. The only thing I see is that the build works and I can view the coverage report, so I know the tests are running. Is there something special I have to do, to get remote build agents to show test reports?

1 comment
Comment actions Permalink

As I understand, you now have two build configurations and two build agents.
Actually, they are not strictly bounded to each other: you can run both build configurations on any of these agents.

To localize the issue you need to try both combinations.
If Build A and Build B both work on Agent 1 but fail on Agent 2, that means the problem is with an environment differences between build agent machines.
If Build A works on both agents and Build B fails on both agents, that means the problem is within the build configuration settings.


Please sign in to leave a comment.