标签:centos UI can style 文件 director fine dir exe
# must be unique in a given SonarQube instance
sonar.projectKey=my:project
# this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1.
sonar.projectName=My project
sonar.projectVersion=1.0
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
# This property is optional if sonar.modules is set.
sonar.sources=.
# Encoding of the source code. Default is default system encoding
#sonar.sourceEncoding=UTF-8
|
5 在sonar-project.properties所在目录 也就是 项目根目录 执行sonar-scanner就可以扫描了
6 如果没有问题 就可以再sonar的web界面看到扫描结果了
SonarQube的配置详见 http://www.cnblogs.com/QuestionsZhang/p/7115116.html
CentOS6.8配置SonarQube Scanner配合SonarQube使用
标签:centos UI can style 文件 director fine dir exe
原文地址:http://www.cnblogs.com/QuestionsZhang/p/7115224.html