Is it possible to parse tests result of maven build which was started in docker container?
I try to run maven build inside docker container. I'm using Docker / Vagrant runner.
The build is failed but Teamcity doesn't show what tests was failed.
Does the way to parse docker run output and show Tests tab exist?
Please sign in to leave a comment.
Hi Alexey,
I'm afraid that the plugin is not one of ours, which means that if you have trouble with that runner, you should report it to its dev (https://github.com/jonnyzzz/TeamCity.Virtual). You could also consider using the current docker integration of the newer releases and see whether it allows you to just work with the bundled plugins.
Regarding specifically your question, teamcity reads the stdout but the Tests tab is not handled that way. In order to have tests, they have to either be reported via the runner, be reported via service messages (https://confluence.jetbrains.com/display/TCD18/Build+Script+Interaction+with+TeamCity) or via XML Report (https://confluence.jetbrains.com/display/TCD18/XML+Report+Processing)