Status:
I have a TFS 2013 installation on a dedicated machine and I modified the build template so that it just runs a batch file
(no Visual Studio project required), which we commit on our repository. While this batch file runs, it builds our code and runs some custom test suites, which the test output are multiple JUnit XML
files.
I already found a way on how I can convert the JUnit XML
to .trx files
via batch, but now I'm stuck when it comes to publishing those results to TFS.
I found out that there are multiple ways to do that, but unfortunately no way is possible on our build agent right now.
I tried:
- Use the TfsPublisher, which is described here - I can't do that because we don't have Visual Studio on our build agent machine installed
- Use MSTest.exe as described here, but I can't do that either because -again- we don't have Visual Studio on our build agent machine installed
Question:
So is there an alternative way which I haven't found yet to publish the .trx files to TFS? There must be a solution. I can't be the first person who tries to accomplish that.