From bf12bceb5667f4d321d3aef6ee573bc92cdbd33d Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Sun, 6 Apr 2025 18:23:40 +0200 Subject: [PATCH] Update SonarQube scan configuration in CI pipeline Added project key, organization, and token parameters to the `sonar-scanner` command for better integration and customization. This ensures proper identification and authentication with SonarQube during code analysis. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6b9a9ca..726096d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -47,7 +47,7 @@ sonarcloud_scan: paths: - .sonar/cache script: - - sonar-scanner + - sonar-scanner -Dsonar.projectKey=${SONAR_PROJECT_KEY} -Dsonar.organization=${SONAR_ORGANIZATION} -Dsonar.token=${SONAR_TOKEN} only: - merge_requests - develop