How Can We Help?
< All Topics

Publish Code Coverage Reports to SonarQube

Publish RKTracer Code Coverage data to SonarQube

When you generate RKTracer code coverage reports, you need to use the following parameter along with the report generate command.

rkresults -xml

With the above command, the RKTracer tool will generate two XML reports.

rktracer.xml for Jenkins

rktracer-sonarqube.xml for SonarQube


To publish code coverage to sonarqube, you need to edit the project properties file and add the following details.





Then run sonar scanner to publish code coverage data to sonarqube

Previous Publish Code Coverage in Azure DevOps
Table of Contents