Edit .gitlab-ci.yml

This commit is contained in:
2025-04-07 09:50:59 +02:00
parent 6dcb347d6d
commit 0cab3af773
+2 -2
View File
@@ -11,8 +11,8 @@ variables:
GITLAB_CLONE_DIR: "/builds/thischwa/CloudflareDNS-java" GITLAB_CLONE_DIR: "/builds/thischwa/CloudflareDNS-java"
# GITLAB_CLONE_DIR: "cloudflaredns-java" # GITLAB_CLONE_DIR: "cloudflaredns-java"
SONAR_HOST_URL: "https://sonarcloud.io" SONAR_HOST_URL: "https://sonarcloud.io"
SONAR_PROJECT_KEY: "th-schwarz_CloudflareDNS-java" SONAR_PROJECT_KEY: "thischwa_CloudflareDNS-java"
SONAR_ORGANIZATION: "th-schwarz" SONAR_ORGANIZATION: "thischwa"
SONAR_TOKEN: $SONAR_TOKEN # Ensure this token is correctly set in GitLab CI/CD variables SONAR_TOKEN: $SONAR_TOKEN # Ensure this token is correctly set in GitLab CI/CD variables
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