Fix: Sonarqube workflow project properties
SonarQube Analysis / sonar (push) Successful in 51s

This commit is contained in:
2026-05-04 07:19:33 +00:00
parent e90d4d76db
commit 15e471cc20
+9 -1
View File
@@ -17,6 +17,10 @@ jobs:
run: | run: |
apt-get update apt-get update
apt-get install -y docker.io apt-get install -y docker.io
- name: Debug workspace
run: |
pwd
ls -la
- name: Run SonarScanner - name: Run SonarScanner
run: | run: |
@@ -25,4 +29,8 @@ jobs:
-e SONAR_HOST_URL="${{ vars.SONAR_HOST_URL }}" \ -e SONAR_HOST_URL="${{ vars.SONAR_HOST_URL }}" \
-e SONAR_TOKEN="${{ secrets.SONAR_TOKEN }}" \ -e SONAR_TOKEN="${{ secrets.SONAR_TOKEN }}" \
-v "$PWD:/usr/src" \ -v "$PWD:/usr/src" \
sonarsource/sonar-scanner-cli sonarsource/sonar-scanner-cli \
-Dsonar.projectKey="${{ vars.SONAR_PROJECT_KEY }}" \
-Dsonar.projectName="${{ vars.SONAR_PROJECT_KEY }}" \
-Dsonar.sources=. \
-Dsonar.sourceEncoding=UTF-8