feat(exx-Pipeline): add sonar default vars

This commit is contained in:
Wolfram Gulde 2022-04-01 18:53:18 +02:00 committed by Marcel Feix
parent a6463cffab
commit c827e39fc5
No known key found for this signature in database
GPG Key ID: 04D016E104A25F03
3 changed files with 8 additions and 2 deletions

View File

@ -29,4 +29,7 @@ sonar:
extends: .sonar-gradle extends: .sonar-gradle
needs: needs:
- job: "Build-Java" - job: "Build-Java"
artifacts: true artifacts: true
variables:
SONAR_PROJECT_KEY: $CI_PROJECT_NAME
SONAR_PROJECT_NAME: $CI_PROJECT_NAME

View File

@ -41,3 +41,6 @@ Sonar:
needs: needs:
- job: "Build-Java" - job: "Build-Java"
artifacts: true artifacts: true
variables:
SONAR_PROJECT_KEY: $CI_PROJECT_NAME
SONAR_PROJECT_NAME: $CI_PROJECT_NAME

View File

@ -4,7 +4,7 @@
SONAR_HOST_URL: http://sonar7.exxcellent.de/sonar7 SONAR_HOST_URL: http://sonar7.exxcellent.de/sonar7
SONAR_PROJECT_KEY: "" SONAR_PROJECT_KEY: ""
SONAR_PROJECT_NAME: "" SONAR_PROJECT_NAME: ""
SONAR_EXCLUSIONS: "**/target/**,**/src/test/**" SONAR_EXCLUSIONS: "**/target/**,**/src/test/**,**/generated/**,**/i18n/**"
SONAR_SKIP_BUILD_BREAKER: "true" SONAR_SKIP_BUILD_BREAKER: "true"
SONAR_QUERY_MAX_ATTEMPTS_BUILD_BREAKER: "30" SONAR_QUERY_MAX_ATTEMPTS_BUILD_BREAKER: "30"
SONAR_QUERY_INTERVAL_BUILD_BREAKER: "10000" SONAR_QUERY_INTERVAL_BUILD_BREAKER: "10000"