Thanks!
I am setting MAVEN_OPTS to include path to the jacoco agent to enable code coverage.
I see that jacoco.exec file gets generated at the end of the test run though the exec file doesn't contain the classes that were tested in the unit tests. I used "java -jar jacococli.jar execinfo ..." command to verify that the classes were missing.
Now, this happens only in a remote environment (on a teamcity agent), whereas the exec file contains the class information I expect when I run the unit tests locally.
Wondering what could lead to this discrepancy in local versus remote execution?