commit 0efc26803fce9f024ab7580ad68722ac113996a3
parent b6ccd786a7bcfb3ea1bf86602fc3317766818646
Author: Brian Graham <brian@buildingbetterteams.de>
Date: Tue, 7 Apr 2026 07:46:27 +0200
Exclude dist/build from sonarqube scans
Minified JS in dist/ was causing scanner failures on Vite projects.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tasks/tetris/eval/sonarqube-scan.py b/tasks/tetris/eval/sonarqube-scan.py
@@ -35,7 +35,7 @@ def scan(workspace: Path, project_key: str, token: str) -> bool:
"-Dsonar.sources=.",
f"-Dsonar.host.url={SONAR_URL}",
f"-Dsonar.token={token}",
- "-Dsonar.exclusions=**/node_modules/**,**/package-lock.json,**/report/**",
+ "-Dsonar.exclusions=**/node_modules/**,**/dist/**,**/build/**,**/package-lock.json,**/report/**,.scannerwork/**",
"-Dsonar.scm.disabled=true",
]
result = subprocess.run(