Adapt sonar properties (#458)
* Fixed deprecated use of jacoco reportPath with SonarQube 6.2 (see https://jira.sonarsource.com/browse/SONARJAVA-1887) Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com> * Deep nested modules included into coverage reports as well Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com>
This commit is contained in:
committed by
Kai Zimmermann
parent
602fb78168
commit
84857960cb
@@ -11,7 +11,7 @@
|
||||
echo $CI_PULL_REQUEST pull request
|
||||
# regular sonar on master
|
||||
if [ "$CIRCLE_BRANCH" = "master" ]; then
|
||||
mvn verify license:check sonar:sonar -Dsonar.login=$SONAR_SERVER_TOKEN -Dsonar.exclusions=**/target/generated-sources/apt/**,**/src/test/**,**/src/main/java/org/eclipse/hawkbit/repository/test/** -Dsonar.coverage.exclusions=**/src/main/java/org/eclipse/hawkbit/ui/**,**/target/generated-sources/apt/**,**/src/main/java/org/eclipse/hawkbit/repository/test/**
|
||||
mvn verify license:check sonar:sonar -Dsonar.login=$SONAR_SERVER_TOKEN
|
||||
# preview in case of pull request - disabled as circle does not fill those with pull reuqests from different directories
|
||||
else
|
||||
#if [ -n "$CI_PULL_REQUEST" ]; then
|
||||
|
||||
Reference in New Issue
Block a user