使用sonarqube需要注意版本差異
阿新 • • 發佈:2019-01-03
使用sonarqube做質量管控時需要注意安裝的sonarqube版本,不同的sonarqube版本使用的命令:
1.做程式碼覆蓋率測試用到的:
Key | Description | Version |
---|---|---|
sonar.java.test.binaries | Comma-separated paths to directories containing the compiled bytecode files corresponding to your test files | FROM 3.2 |
sonar.java.test.libraries |
Comma-separated paths to files with third-party libraries (JAR or Zip files) used by your tests. (For example, this should include the junit jar). sonar.java.test.libraries=path/to/specific/Library.jar,path/to/libs/*.jar,directory/**/*.jar |
FROM 3.2 |
sonar.java.binaries | Comma-separated paths to directories containing the compiled bytecode files corresponding to your source files | FROM 2.5 |
sonar.java.libraries |
Comma-separated paths to files with third-party libraries (JAR or Zip files) used by your project. sonar.java.libraries=path/to/specific/Library.jar,path/to/libs/*.jar,directory/**/*.jar |
FROM 2.5 |
sonar.binaries | Comma-separated paths to directories containing the compiled bytecode files corresponding to your source files | BEFORE 2.5 |
sonar.libraries |
Comma-separated paths to files with third-party libraries (JAR or Zip files). sonar.libraries=path/to/specific/Library.jar,path/to/libs/*.jar,directory/**/*.jar |
BEFORE 2.5 |
繼續更新~~~