Teamcity+JAVA project+ANT build

Hi Ann,
Thanks for the suggestions! Ok so heres where im still not able to convince myself…

Why do i need sonarcube for code coverage when i already get the code coverage report in Teamcity(using Teamcitys jacoco plugin)??

Also the project in teamcity is build via ANT in a TC config. I checked the temp directory on the TC agent host and found a path as below which did have the jacoco.exec.
/temptdirpath/JACOCOcoverage/jacoco.exec
How can i set a path to jacoco.exec if its dynamic??

Also I do see the jacoco.exec as an artifact in Team citys build but im guessing i cant reference that as its on the TC server.

Appreciaite your help!