chore(Sonar 8): Correct the names of the new Sonar 8 Keys. Change Documentation for Sonar 8.

This commit is contained in:
Marcel Feix 2022-05-25 11:50:26 +02:00
parent 26bb72e28e
commit b7fa794ca2
No known key found for this signature in database
GPG Key ID: 04D016E104A25F03
2 changed files with 8 additions and 9 deletions

View File

@ -8,14 +8,13 @@ Mehr Details zu finden hier: https://gitlab.exxcellent.de/gilden/ci/exxcellent-s
.Variables .Variables
|=== |===
|Name |Description | Default Value |Name |Description | Default Value
|SONAR_HOST_URL | Die URL des eXXcellent sonar servers | http://sonar7.exxcellent.de/sonar7 |SONAR_HOST_URL | Die URL des eXXcellent sonar servers | https://sonar.exxcellent.de/sonar8
|SONAR_TOKEN | Token um geschützte Sonar Funktionen auszuführen | ""
|SONAR_PROJECT_KEY | Der Sonar-Projekt-Key. | "" |SONAR_PROJECT_KEY | Der Sonar-Projekt-Key. | ""
|SONAR_PROJECT_NAME | Der Sonar-Projekt-Name. | "" (Es wird dann standardmäßig der Maven project.name verwendet) |SONAR_PROJECT_NAME | Der Sonar-Projekt-Name. | "" (Es wird dann standardmäßig der Maven project.name verwendet)
|SONAR_EXCLUSIONS | Von Sonar auszuschließende Bereiche | **/target/**,**/src/test/** |SONAR_EXCLUSIONS | Von Sonar auszuschließende Bereiche | **/target/**,**/src/test/**
|GRADLE_CLI_OPTS | Zusätzliche CLI Opts für Gradle | "" |GRADLE_CLI_OPTS | Zusätzliche CLI Opts für Gradle | ""
|SONAR_QUERY_MAX_ATTEMPTS_BUILD_BREAKER | Wie oft soll versucht werden das der Build breaker funktioniert | 30 |SONAR_QUALITYGATE_WAIT | Definiert, ob auf das Quality-Gate gewartet werden soll. Muss auf True gesetzt werden damit das Quality gate beachtet wird. Wenn das Quality-Gate beachtet werden aber die Pipeline nicht Fehlschlagen soll empfehlen das Flag `allow_failure` auf `true` zu setzen. | true
|SONAR_QUERY_INTERVAL_BUILD_BREAKER | Wie oft in welchem Intervall soll der Build breaker abgefragt werden | 10000 |SONAR_QUALITYGATE_TIMEOUT | Zeit bis zum Timeout der Quality gate abfrage | 10000
|=== |===

View File

@ -5,8 +5,8 @@
SONAR_PROJECT_KEY: "" SONAR_PROJECT_KEY: ""
SONAR_PROJECT_NAME: "" SONAR_PROJECT_NAME: ""
SONAR_EXCLUSIONS: "**/target/**,**/src/test/**" SONAR_EXCLUSIONS: "**/target/**,**/src/test/**"
SONAR_QUERY_MAX_ATTEMPTS_BUILD_BREAKER: "30" SONAR_QUALITYGATE_WAIT: "true"
SONAR_QUERY_INTERVAL_BUILD_BREAKER: "10000" SONAR_QUALITYGATE_TIMEOUT: "10000"
.sonar-template: .sonar-template:
extends: .sonar-template-common extends: .sonar-template-common
@ -18,8 +18,8 @@
"-Dsonar.projectKey=$SONAR_PROJECT_KEY" "-Dsonar.projectKey=$SONAR_PROJECT_KEY"
"-Dsonar.projectName=$SONAR_PROJECT_NAME" "-Dsonar.projectName=$SONAR_PROJECT_NAME"
"-Dsonar.exclusions=$SONAR_EXCLUSIONS" "-Dsonar.exclusions=$SONAR_EXCLUSIONS"
"-Dsonar.qualitygate.wait=true" "-Dsonar.qualitygate.wait=$SONAR_QUALITYGATE_WAIT"
"-Dsonar.qualitygate.timeout=300" "-Dsonar.qualitygate.timeout=$SONAR_QUALITYGATE_TIMEOUT"
.sonar-template-gradle: .sonar-template-gradle:
extends: .sonar-template-common extends: .sonar-template-common
@ -32,4 +32,4 @@
"-Dsonar.projectName=$SONAR_PROJECT_NAME" "-Dsonar.projectName=$SONAR_PROJECT_NAME"
"-Dsonar.exclusions=$SONAR_EXCLUSIONS" "-Dsonar.exclusions=$SONAR_EXCLUSIONS"
"-Dsonar.qualitygate.wait=$SONAR_QUALITYGATE_WAIT" "-Dsonar.qualitygate.wait=$SONAR_QUALITYGATE_WAIT"
"-Dsonar.qualitygate.timeout=$SONAR_QUERY_INTERVAL_BUILD_BREAKER" "-Dsonar.qualitygate.timeout=$SONAR_QUALITYGATE_TIMEOUT"