一、官网参考地址
相关版本下载地址
- 配置全局变量 .bash_profile
export SONAR_HOME=/Users/jd/soft/sonar-scanner-6.2.1.4610
export PATH=$PATH:$SONAR_HOME/bin
export SQ_HOST=http://127.0.0.1:9000/
export SQ_TOKEN=squ_dbb1913e095a92a727a918a9ba6b1af94b007748
二、To run SonarScanner CLI from the zip file, follow these steps:
Expand the downloaded file into the directory of your choice. We'll refer to it as <INSTALL_DIRECTORY> in the next steps.
Update the global settings to point to your instance of SonarQube Server:
Open the $<INSTALL_DIRECTORY>/conf/sonar-scanner.properties file.
Un