Professional Documents
Culture Documents
Steps To Configure Sonarqube and Sonarscanner For Ui
Steps To Configure Sonarqube and Sonarscanner For Ui
SonarScanner :
1. Install SonarScanner (URL -
https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner)
2. Expand the downloaded file into the directory of your choice. We'll refer to it
as <install_directory> in the next steps.
5. You can verify your installation by opening a new shell and executing the command sonar-
scanner -h (on Windows platform the command is sonar-scanner.bat -h) . You should get
output like this:
usage: sonar-scanner [options]
Options:
-D,--define <arg> Define property
-h,--help Display help information
-v,--version Display version information
-X,--debug Produce execution debug output
6.
7. Run the following command from the project base directory to launch the analysis:
>sonar-scanner
8. Copy the link from the console and paste in browser to navigate to the Sonar Page
9. To add Plugins for scanning Javascript, HTML & CSS files download their jar files sonar-css-plugin ,
sonar-javascript-plugin , sonar-web-plugin