diff --git a/documentation/chapters/templates/tool-sonar7.adoc b/documentation/chapters/templates/tool-sonar7.adoc index bdc55c7..62f8eb0 100644 --- a/documentation/chapters/templates/tool-sonar7.adoc +++ b/documentation/chapters/templates/tool-sonar7.adoc @@ -15,8 +15,8 @@ Mehr Details sind hier zu finden: https://gitlab.exxcellent.de/gilden/ci/exxcell (Es wird dann standardmäßig der Maven project.name verwendet) |SONAR_EXCLUSIONS | Files die Sonar ausgeschlossen werden |"**/target/**,**/src/test/**" |SONAR_SKIP_BUILD_BREAKER | Definiert ob der Build Breaker übersprungen werden soll | "true" -|SONAR_BUILDBREAKER_QUERYMAXATTEMPTS | Maximale Anzahl an Anfragen, um den Sonar-Report zu erhalten | "30" -|SONAR_BUILDBREAKER_QUERYINTERVAL | Intervallzeit in Millisekunden zwischen 2 Anfragen | "10000" +|SONAR_QUERY_MAX_ATTEMPTS_BUILD_BREAKER | Maximale Anzahl an Anfragen, um den Sonar-Report zu erhalten | "30" +|SONAR_QUERY_INTERVAL_BUILD_BREAKER | Zeit in Millisekunden zwischen 2 Anfragen, um den Sonar-Report zu erhalten | "10000" |=== diff --git a/tool-sonar7.gitlab-ci.yml b/tool-sonar7.gitlab-ci.yml index da2facc..c633d6f 100644 --- a/tool-sonar7.gitlab-ci.yml +++ b/tool-sonar7.gitlab-ci.yml @@ -6,8 +6,8 @@ SONAR_PROJECT_NAME: "" SONAR_EXCLUSIONS: "**/target/**,**/src/test/**" SONAR_SKIP_BUILD_BREAKER: "true" - SONAR_BUILDBREAKER_QUERYMAXATTEMPTS: "30" - SONAR_BUILDBREAKER_QUERYINTERVAL: "10000" + SONAR_QUERY_MAX_ATTEMPTS_BUILD_BREAKER: "30" + SONAR_QUERY_INTERVAL_BUILD_BREAKER: "10000" .sonar-template: extends: .sonar-template-common @@ -20,8 +20,8 @@ "-Dsonar.projectName=$SONAR_PROJECT_NAME" "-Dsonar.exclusions=$SONAR_EXCLUSIONS" "-Dsonar.buildbreaker.skip=$SONAR_SKIP_BUILDBREAKER" - "-Dsonar.buildbreaker.queryMaxAttempts=${SONAR_BUILDBREAKER_QUERYMAXATTEMPTS}" - "-Dsonar.buildbreaker.queryInterval=${SONAR_BUILDBREAKER_QUERYINTERVAL}" + "-Dsonar.buildbreaker.queryMaxAttempts=$SONAR_QUERY_MAX_ATTEMPTS_BUILD_BREAKER" + "-Dsonar.buildbreaker.queryInterval=$SONAR_QUERY_INTERVAL_BUILD_BREAKER" .sonar-template-gradle: extends: .sonar-template-common @@ -34,5 +34,5 @@ "-Dsonar.projectName=$SONAR_PROJECT_NAME" "-Dsonar.exclusions=$SONAR_EXCLUSIONS" "-Dsonar.buildbreaker.skip=$SONAR_SKIP_BUILDBREAKER" - "-Dsonar.buildbreaker.queryMaxAttempts=${SONAR_BUILDBREAKER_QUERYMAXATTEMPTS}" - "-Dsonar.buildbreaker.queryInterval=${SONAR_BUILDBREAKER_QUERYINTERVAL}" + "-Dsonar.buildbreaker.queryMaxAttempts=$SONAR_QUERY_MAX_ATTEMPTS_BUILD_BREAKER" + "-Dsonar.buildbreaker.queryInterval=$SONAR_QUERY_INTERVAL_BUILD_BREAKER"