sonar gitlab+jenkins配置
sonar.projectKey=test-news-activity
sonar.projectName=test-news-activity
sonar.projectVersion=$BUILD_NUMBER
构建号
sonar.sourceEncoding=UTF-8
sonar.language=java
sonar.branch=$branch
分支号
sonar.sources=$WORKSPACE/news-activity/src/main/java
#添加下面这行
sonar.java.binaries=$WORKSPACE/news-activity/build