Skip to content

Commit a6744c5

Browse files
committed
[FIX] sonar source not present on dashboard
1 parent ad94163 commit a6744c5

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/sonarCube.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,12 @@ jobs:
3939
/opt/build-wrapper/build-wrapper-linux-x86-64 --out-dir bw-output make -j$(nproc)
4040
4141
- name: Run SonarQube Scanner
42-
uses: sonarsource/sonarqube-scan-action@master
4342
env:
4443
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
4544
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
45+
run: |
46+
sonar-scanner \
47+
-Dsonar.projectKey=TDL \
48+
-Dsonar.sources=source \
49+
-Dsonar.host.url=$SONAR_HOST_URL \
50+
-Dsonar.login=$SONAR_TOKEN

0 commit comments

Comments
 (0)