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.
Related
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
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 currently working with SonarQube v5.6 and have a need to generate comprehensive "preview" reports locally before pushing the results to my remote SonarQube server. Specifically, I need to be able to see technical debt, code coverage, and duplicated blocks in the local HTML and/or console reports which are created when running the analysis in "preview" mode.
Currently, I am able to see issues -- new, existing, resolved, minor, major, etc. -- and nothing else. I would like to be able to see technical debt, code coverage, and duplicated blocks as well (at the very least, I need to see code coverage). Can SonarQube be configured to show these details in "preview" mode reports, via a command line argument or some other setting? I am using Maven and JaCoCo.
This is not supported currently (version 6.1). You can track this ticket to be informed of the progress: https://jira.sonarsource.com/browse/SONAR-6763
Sonar is an open platform to manage code quality. I have the admin access to perform the updates. Recently I tried performing a version update from 3.7.3 to 4.1.1.Unfortunately 4.1.1 is only compatible with IE9 or above. Hence I back out the changes as in our organization IE8 is the internet browser. Now 3.7.3 is not working as it is showing as database is pointing to a latest version.MySQL is used to hold the sonar data. I am completely stuck with the issue. Sonar is a very important tool for us as this can only take a code coverage metrics for the source code.
May I request you to look in to this issue and provide some help. I cannot move forward without your help.
Anticipating your help and support.
The only way to get back to a normal state is to start over from a 3.7.3 database backup.