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

posted on 2018-11-08 19:39  net2817  阅读(476)  评论(0编辑  收藏  举报

导航