Download and install SonarQube Scanner:
-
Run the following command to download SonarQube Scanner:
If this link is not available, please see: https://docs.sonarqube.org/latest/analysis/scan/sonarscanner/
-
Extract the file "
sonar-scanner-cli-4.0.0.1744-linux.zip
" in the folder you want to install SonarQube Scanner: /opt/sonar-scanner-4.0.0.1744-linux
-
Change the folder permissions:
-
Create a symbolic link of the SonarQube Scanner installation folder:
-
Configure the "
sonar-scanner.properties
".
Uncomment and modify the following properties:
To add new SonarQube Scanner installation, Click the "
Add SonarQube Scanner
" button.
Set the following properties:
-
Uncheck "
Install automatically
"
-
Name:
SonarQube-Scanner
-
SONAR_RUNNER_HOME:
/opt/sonar-scanner