How to export results as a PDF report?
Solution 1
For the sonar-maven-plugin it works the same. Just add these two properties to the pom file:
<project xmlns="...>
...
<properties>
<sonar.analysis.mode>preview</sonar.analysis.mode>
<sonar.issuesReport.html.enable>true</sonar.issuesReport.html.enable>
</properties>
...
</project>
results will be in the target/sonar folder
Solution 2
The Governance plugin allows to generate PDF reports. See http://docs.sonarqube.org/display/PLUG/Governance+plugin for more details. Please note that I work at SonarSource, the company developing this commercial plugin.
EDIT:
Governance plugin has been replaced by the SonarQube Enterprise Edition in versions 7.x.
Solution 3
To export results, you need to use paid version of SonarQube. This feature is not available for the free version of SonarQube.
Vijay
I am Post Graduated in Master Of Computer Applications-2009 I do have 10 years of experience in Java J2EE Enterprise application development. I am legacy of Infosys, Wipro(Cisco, worked directly at client), TCS, UHG IS.
Updated on September 17, 2021Comments
-
Vijay over 2 years
I am using SonarQube 5.6.3. How can I create a SonarQube analysis details report as a PDF form, an excel report, or an html formatted report?
No plugin seems to be available for this.
I was unable to generate an html file using below configuration:
sonar.issuesReport.html.enable = true sonar.issuesReport.html.location = c:\ sonar.issuesReport.html.name = sample
How can I export these details from SonarQube?