多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
1、每个项目根目录下,需要放一个文件 [root@jenkins php-sonar-runner]# vim sonar-project.properties # Required metadata sonar.projectKey=org.codehaus.sonar:php-sonar-runner sonar.projectName=PHP project analyzed with the SonarQube Runner sonar.projectVersion=1.0 # Comma-separated paths to directories with sources (required) sonar.sources=src # Language sonar.language=php # To deactivate features related to unit tests execution and coverage sonar.dynamicAnalysis=false # Encoding of the source files sonar.sourceEncoding=UTF-8