This commit is contained in:
2025-04-15 19:42:13 +02:00
parent 8895d4c82e
commit 2b25c30fcd
+1 -2
View File
@@ -2,7 +2,6 @@ default:
image: maven:3-amazoncorretto-17-alpine image: maven:3-amazoncorretto-17-alpine
stages: stages:
#- pull
- build - build
- on_commit - on_commit
- sonarcloud_scan - sonarcloud_scan
@@ -13,7 +12,7 @@ variables:
SONAR_HOST_URL: $SONAR_HOST_URL SONAR_HOST_URL: $SONAR_HOST_URL
SONAR_PROJECT_KEY: "ths6435116_CloudflareDNS-java" SONAR_PROJECT_KEY: "ths6435116_CloudflareDNS-java"
SONAR_ORGANIZATION: "ths6435116" SONAR_ORGANIZATION: "ths6435116"
SONAR_TOKEN: $SONAR_TOKEN # Ensure this token is correctly set in GitLab CI/CD variables SONAR_TOKEN: $SONAR_TOKEN
SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache
GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task
API_EMAIL: $API_EMAIL API_EMAIL: $API_EMAIL