From 2ad00b1372c32391be42bd93b13b62ea2ffee623 Mon Sep 17 00:00:00 2001 From: PhilippSchmelter Date: Wed, 9 Oct 2024 13:26:05 +0200 Subject: [PATCH] Added sonar credentials --- .github/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2959b0c65b..3fba70782e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,9 +59,7 @@ jobs: run: | ./gradlew javadoc - - #ADD reportScoverageTask - name: Run SonarQube with Gradle - run: ./gradlew reportScoverage sonarqube -Dsonar.projectKey=edu.ie3:simona \ - -Dsonar.host.url=${{ secrets.SONAR_HOST_URL }} \ + run: ./gradlew reportScoverage sonarqube -Dsonar.projectKey=${{ vars.SONAR_PROJECT_KEY }} \ + -Dsonar.host.url=${{ vars.SONAR_HOST_URL }} \ -Dsonar.login=${{ secrets.SONAR_TOKEN }} \ No newline at end of file