Created
June 6, 2018 11:13
-
-
Save SecurityIsIllusion/4756edff16e3ba240bfa15f23239f571 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Steps: | |
1. Setting up SonarQube | |
https://www.sonarqube.org/downloads/ | |
2. Setting up SonarQube Scanner | |
https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner | |
3. Setting Sonar Scanner's path in environment variable | |
C:\Users\rohit.ranjan\Desktop\code_review\sonar-scanner-cli-3.2.0.1227-windows\sonar-scanner-3.2.0.1227-windows\bin | |
4. Setting Sonar Scanner's conf | |
C:\Users\rohit.ranjan\Desktop\code_review\sonar-scanner-cli-3.2.0.1227-windows\sonar-scanner-3.2.0.1227-windows\conf | |
For java: | |
sonar.projectKey=JavaProject | |
sonar.projectName=JavaProject | |
sonar.projectVersion=1.0 | |
sonar.sources = C:/Users/rohit.ranjan/Desktop/java | |
5. Starting SonarQube Server | |
C:\Users\rohit.ranjan\Desktop\code_review\sonarqube-6.7.4\sonarqube-6.7.4\bin\windows-x86-64 | |
StartSonar.bat | |
6. Starting Sonar Scanner | |
C:\Users\rohit.ranjan\Desktop\code_review\sonar-scanner-cli-3.2.0.1227-windows\sonar-scanner-3.2.0.1227-windows\bin | |
sonar-scanner.bat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment