Last active
November 1, 2018 07:01
-
-
Save bsobe/794d540f73e40c68f7b6fc2528d76040 to your computer and use it in GitHub Desktop.
SonarQube Simple Installation
This file contains 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
1 - Download SonarQube-7.4 | |
2 - Download SonarScanner | |
3 - Add Path -> {SonarQube direction}/bin/{OS}/ | |
Example : export PATH=$PATH:/Applications/sonarqube-7.4/bin/macosx-universal-64/ | |
4 - Configure Project for SonarQube | |
Documentation Link : [SonarQube Documentation] [<https://docs.sonarqube.org/display/SCAN>] | |
5 - Open Terminal | |
6 - Trigger SonarQube Server on Terminal -> sonar.sh console | |
SonarQube Server Configure Documentation Link : [SonarQube Server Documentation] [<https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner>] | |
7 - Trigger SonarScanner on Terminal -> sonar-scanner | |
8 - Open SonarQube on browser (Default Login Cred. -> admin / admin) | |
9 - Use Quick Project Wizard | |
10 - Trigger project -> ./gradlew sonarqube -Dsonar.host.url={SonarQube Server Link} -Dsonar.login={Project Token} | |
Example : ./gradlew sonarqube -Dsonar.host.url=http://localhost:9000 -Dsonar.login=f090b5f73fb04c9007f8c27e76b5678439722e21 | |
11 - Wait for Analyzing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment