1.下载 sonarqube-6.3、sonar-scanner-3.0.0.702-macosx
2.启动sonarqube步骤略过(后期补)
3.进入sonar-scanner-3.0.0.702-macosx/conf/sonar-scanner.properties
修改成如下
sonar.host.url=http://localhost:9000
sonar.login=admin
sonar.password=admin
sonar.jdbc.username=root
sonar.jdbc.password=root
sonar.jdbc.url=jdbc:mysql://localhost:3306/SonarQube?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true&useConfigs=maxPerformance
sonar.sourceEncoding=UTF-8
sonar.projectKey=learning-iOS
sonar.projectName