
In Jenkins your build job needs to be modified as follows: You should first setup a normal build to make sure the project compiles correctly. The project must either have a Jenkins instance or use Travis CI. The webmaster/releng team will create the respective SonarCloud.io repository for your project and set up the SONARCLOUD_TOKEN on your project's Jenkins instance. Please specify for which exact project this should be setup. If your project wants to use SonarCloud.io, please open a Bugzilla issue to request it. Please open a Bugzilla issue (Product: Community, Component: Sonar) for this. Setting up SonarQube/SonarCloud for projectsĮclipse SonarQube server has been shutdown in early September 2020ĭue to relatively low demand and to reduce our maintenance overhead, we retired the Eclipse SonarQube server ( ) in early September 2020. SonarCloud.io is the "cloud"-version of SonarQube hosted by SonarSource.
Eclipse maven install code#
SonarQube (formerly known as Sonar) is an open-source product which is used to gather several metrics about code quality, put them all in a single dashboard, and provide some tips to help you making your code better, more sustainable, more reliable, less bugged. You can (and should) enable such tools in IDE.Ĭode quality can also be analyzed out of the IDE, running those tools and using their reports to find out the "hot spots" in your code. You should go to Error/Warnings in preferences and replace all "ignore" by "Warning". JDT itself provides very powerful quality checks, but there are not enabled by default.


The most famous tools are Findbugs, PMD, Checkstyle but also code coverage tools such as JaCoCo.

It is also a mandatory step for projects willing to enter the PolarSys Maturity Assessment, as the analysis process relies on code metrics extracted by SonarQube.Ĭode quality analysis mainly relies on a set of tools that look at your code and give you hints.
