I am currently using SonarQube Enterprise Edition - Version 8.7.
Is there an option to somehow get a specific sonar report as opposed to just "latest"?
And is it possible to have scan or SAST reports generated/exported in pdf or html format?
For audit reasons, it would be nice to get a link or report that's specific for the codebase at that snapshot in time.
Any ideas?
You can get the aggregated details of projects using:
Portfolio
Application
Related
I'm using sonarqube-7.1 version. I want to make report from sonarqube either as csv, xml or pdf. I have googled it and found that we can make pdf report using sonar-pdfreport-plugin. I have dowload the version sonar-pdfreport-plugin-1.4 and pasted it in the extension/pluggin folder. But I can't restart the server. Anyone please provide a solution for getting report for the version provided above.
sonar-pdf-report is dead. The last change has been made in 2015. This plugin is of course incompatible with SonarQube 5, 6, 7 etc.
Reporting is available only in Enterprise Edition:
Executive reporting
Gain visibility into health factors such as operational risks and security risks. Generate, export and schedule reports in PDF format to ensure visibility of key metrics to all stakeholders. Get fast reporting and up-to-date information, no matter the number of projects.
I'm using sonarqube-7.3 version. I want to make report from sonarqube either as csv, xml or pdf. I have googled it and found that we can make pdf report using sonar-pdfreport-plugin. I have dowload the version sonar-pdfreport-plugin-1.4 and pasted it in the extension/pluggin folder. But I can't restart the server. Anyone please provide a solution for getting report for the version provided above.
In general, SonarQube is not meant to be used as some reporting tool, but more as part of CI pipeline and users can use it's UI to manage code quality issues.
However, PDF reporting is available in the commercial Enterprise Edition of SonarQube for portfolios (groups of projects) as part of Governance. You can find details here https://www.sonarsource.com/plans-and-pricing/enterprise/
The plugin you are mentioning is most likely not updated for the 7.3 version
Is there a way to generate report using SonarQube6.7.
I tried using sonar-pdfreport-plugin-1.4 plugin, sonar server started - but while running sonar-scanner throws,
"java.lang.NoSuchMethodError:`org.sonar.api.resources.Project.getConfiguration()Lorg/apache/commons/configuration/Configuration;"`
error.
How can i get a report????
You can download report plugin here
and add it to sonarqube_folde/extensions/plugins/
If you have older version you can Click on "More versions" under By SonarSource – SonarSource – Issue Tracker – Supported by SonarSource
Note: You have to buy Enterprise license
As #George312 alludes, the Enterprise Edition gives you the ability to produce (and have automatically emailed) PDFs of your Portfolio homepages. I suspect that's not what you're after.
There is no functionality compatible with modern SonarQube versions which will generate PDF reports of project homepages or any other (non-Portfolio) portion of the interface or data.
However, web services are available to extract data from your instance. You'll find a link to the on-board Web API documentation in the footer of each page. Once you've extracted the data you should presumably be able to construct your reports.
I am using sonarqube on my windows server, and it is working find from my client PCs, now I need to generation sonar test report in form of file, pdf, html or in any format to display it to my client. I tried but am not getting any solution, would you please help me, that how to export sonar test report from sonarqube server.
You're not finding that "report export" feature because SonarQube is about continually monitoring the evolution of your code, not printing out a point in time and pinning it to the wall.
If you really have to have something like this, then screenshots are the easiest way to go. Alternately, you can pull current state data using web services and build your own report.
My requirement is to run jenkins job that will invoke sonar analysis.
This was achieved.
Now all I want is to generate a PDF report and send that report through email.
On analysis, I came across "sonar-report-plugin" to achieve this.
As per the below documentation, i need to run "sonar-runner report" command to achieve the desired result.
but for sonar 5.2 Tasks are no more supported on batch side so the above command fails to execute and just running the "sonar-runner" does not generate the PDF on the specified dashboard.
The documentation i refereed to is "http://www.sonarsource.com/products/plugins/governance/report/installation-and-usage/"
please advise what can i do to get the required result.
The PDF Report plugin is not compatible with SonarQube 5.2 (see Plugin Version Matrix and issue to resolve problems with 5.1) and is marked as deprecated (see Deprecated Plugins):
PDF Report - Generates PDF report from project analysis. Note that
report is not configurable and cannot be sent by email and the plugin
is limited to Java Maven projects.