Add test results / code coverage later to sonar analysis

We want quick static code analysis feedback from Sonarqube to the developers.
Sonarlint is one approach, but the results always differ a bit to the analysis done by Sonarqube.

As Sonarqube needs the test results available before the sonar maven plugin is running, we have to postpone sonarqube analysis behind executing all tests which takes some time.

Ideally we could run the tests and sonar in parallel and then when the tests are finished attach the test results to the previous sonarqube analysis.

Kind regards,
Michael

2 Likes

Thank you Michael.
We took note if this insight and will continue to monitor it for interest.