we use JaCoCo to instrument code running on a JBoss server. When a shell script stops this server after the tests in TeamCity, the path is printed as a service message as explained in the documentation.
However, there is no code coverage tab for the finished build. If I add JaCoCo to another build step (Maven), the code coverage tab appears, but the report is only being generated for that step.
So my question is: Is it possible to tell TeamCity to use a jacoco.exec file when it is created during a build step of a shell script? Also, is it possible to specify a folder for instrumented classes when using the offline mode of JaCoCo?