Am using SonarQube 5.1.2 and Java Version 1.7.45. The SonarQube scanner 3.0.3 is only compatible with Java 8 and SonarQube v5.6.
How to analyse my code, using SonarQube 5.1.2 with the scanner? How to get a scanner for SonarQube 5.1.2?
The official sonar scanner documentation page is a confluence page, with a "page history" (click on ... at the right top of the page).
When going back in history, I found out, that the version of June, 2nd 2017 refers to SonarQube Scanner 2.6.1 – Compatible with SonarQube 4.5.4+ (LTS).
The download link of that page is still valid, you can download the old scanner there.
But btw: I strongly recommend to update. SonarQube 5.1 is no longer maintained and later SonarQube version have a lot of improvements!
Related
Where we can get the help page of the sonarqube server versions along with build numbers?
Example:
SonarQube server version 6.7.1.34867
The version and build number of the SonarQube server is displayed on the last line of your SonarQube server page footer, example: Community Edition - Version 7.4 (build 18908)
The sonar.branch parameter is deprecated starting from SonarQube 6.7.
Will branch analysis on Sonar for Bamboo still function after upgrading to Sonarqube 6.7 without having the branch plugin?
Yes, the plug-in still supports the old branching model even with version 6.7.
In our Sonar Build Environment we use SonarQube Server Version 5.6.6 (64-Bit) and our analysis runs on a Sonar Client Build Operating System with Ubuntu 14.04.5 LTS (64-Bit).
Recently I have upgraded SonarQube from 5.1 to 5.6.6 (LTS). But under "Project Code" the "Customize ON|OFF" option is now missing.
Currently I can see only these options:
Lines of Code
Bugs
Vulnerabilities
Code Smells
Coverage
Duplications
In SonarQube version 5.1 I was using the "Customize ON|OFF" option to customize and add required columns.
How can I enable this feature back in SonarQube 5.6.6?
The feature does not exist any longer (it has been dropped when rewriting the Project space), and there's currently no plan to reintroduce it.
The Governance plugin is not working with the version. And pdf-report plugin is also not supported.
There is currently no option that we are aware of.
You are right that Governance is indeed not compatible with SonarQube 6.3.1 because it's not a LTS (Long Term Supported) version - and Governance is released only for LTS versions of SonarQube.
I have verified SonarQube + jacoco analyzer's integration test coverage using v 6.1 and jacoco maven plugin 0.7.7.201606060606
This works as expected and is able to list coverage by integration tests.
We have a SonarQube server running at version 5.1.1 does anyone know if that version of SonarQube is capable of showing integration test coverage numbers when using agents at 0.7.7.201606060606?
Reading JaCoCo report is done by the sonar java analyzer (so the sonarqube version is a rather indirect information here).
JaCoCo produces binary report and last incompatibility introduced was in 0.7.6 and that was handled in sonar java analyzer 3.4.
So if you use any version of SonarQube with a java analyzer with a version greater than 3.4 you should be fine to analyze JaCoCo reports produced with version 0.7.7
However given that 5.1.1 is not the latest LTS I would recommend you to upgrade to at least 5.6 and use latest sonar java analyzer.