Best way to report Jacoco data to sonarqube from jenkins(Unit test) and remote dockerhost(Integration tests)

hello @BhargavModepalli,

recommended way to import the coverage is XML report from JaCoCo. That way you can also produce the report on another VM than the one where you run the SonarQube analysis. See the guide on producing and importing this report here [Coverage & Test Data] Importing JaCoCo coverage report in XML format.

No, we don’t support other ways to import the report like socket. Also note, that import of binary report .exec is deprecated.

1 Like