Hi,
I am new to the forum so apologies if my question has been asked before.
I need to run a SonarQube code coverage analysis. But instead of the Dev Code and the tests being in one single project, they are present in two separate GitHub Repos:
- One for Dev which contains the application web service code (Java / SpringBoot).
- One for QA which contains the tests for testing the API end points of that Web service (Java/TestNG)
I need to run SonarQube / Jacoco to test the code coverage on the Dev repo, by running the tests on the QA repo, and i’m not able to figure it out.
I tried to do the same locally by creating local copies of the repos. I ran the sonar analysis locally on the QA repo, but that only tests the coverage for the QA repo and not the code in the Dev Repo.
Can anyone please help out?
I’m using SonarQube local version 9.3.0 and SonarQube Enterprise edition via Jenkins.