From 1bc37e83f4c1fb009c9dcfaab7f881a01b87eab0 Mon Sep 17 00:00:00 2001 From: Wolfram Gulde Date: Tue, 20 Sep 2022 15:18:25 +0200 Subject: [PATCH] chore(Sonar): remove empty projekt key from default variables --- templates/static-analysis/sonar-8.gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/static-analysis/sonar-8.gitlab-ci.yml b/templates/static-analysis/sonar-8.gitlab-ci.yml index 5b5bcc8..3db0d2a 100644 --- a/templates/static-analysis/sonar-8.gitlab-ci.yml +++ b/templates/static-analysis/sonar-8.gitlab-ci.yml @@ -2,8 +2,7 @@ stage: verify variables: SONAR_HOST_URL: https://sonar.exxcellent.de/sonar8 - SONAR_PROJECT_KEY: "" - SONAR_PROJECT_NAME: "" + SONAR_PROJECT_NAME: $CI_PROJECT_NAME SONAR_EXCLUSIONS: "**/target/**,**/build/**,**/src/test/**" SONAR_QUALITYGATE_WAIT: "true" SONAR_QUALITYGATE_TIMEOUT: "10000"