

I have run my SonarQube server in windows-x86-64 directory because my PC is 64-bit, You can choose you preference based on your system configuration.

Note: The sonarqube-6.7 bin directory contains an (Windows, Linux, Mac) operating system boot file. Set environment variables for sonar-scanner-3.0.3.778-windows.Ĭreate the project in the SonarQube server by editing the sonar-scanner.properties file under D:\Development\Sonar\sonar-scanner-3.0.3.778-windows\conf directory. Unzip sonarqube-6.7 and sonar-scanner-3.0.3.778-windows in your local directory under the sonar main directory. Steps to Configure an Eclipse Project in a SonarQube Centralized/Local Serverĭownload related software and configure it to your local machine: Right-click and select Rule description.

To view issues, click the SonarLint On-The-Fly tab.Every Save, sonarLint Start analyzes the code and the report is shown in the SonarLint-on-the-fly Report tab.Select the SonarLint console to view the sonarLint log. It helps developers to highlight errors and bugs while writing code. To run sonarLint automatically, enable the checkbox under project properties. Step 2: Download the Eclipse sonarLint pluginĮclipse->help->Eclipse MarketPlace->Type sonarLint ->click install (Restart eclipse after it has been installed successfully). Step 1:Ĭheck the Java configured on your local pc. sonorLint analyzes the source code and if any errors show up in the sonorLint console, the developer will be notified while editing the code. Once, sonorLint is configured in Eclipse, it'll help to identify errors or bugs in development phase itself. Configuring SolarLint 3.3 Plugin in Eclipse For Example, we can add JUnit additional plug-ins. If needed, we can add additional plugins according to our requirements. SonarQube is internally using PMD, Findbugs, CheckStyle, etc. With a Quality Gate in place, you can fix the leak and therefore improve code quality systematically. SonarQube is used for Code Quality Analysis and provides the capability to not only show the health of an application but also to highlight issues newly introduced. Configure an Eclipse project with a SonarQube centralized server/local server. Configure SonarQube in Eclipse with the SonarLint plug-in.Ģ. In this article, I will explain the steps to:ġ.
