sonarscanner unterscheidet nach tests und anwendung und lässt externe Module außen vor
Some checks failed
Sonarqube Scanner / Build and analyze (push) Failing after 1m1s

This commit is contained in:
Florian Zumpe 2026-06-17 12:18:20 +02:00
parent 0def9b23db
commit 8785a9ec47

View File

@ -49,6 +49,10 @@ jobs:
-Dsonar.sources=. \
-Dsonar.host.url=$SONAR_HOST_URL \
-Dsonar.javascript.lcov.reportPaths=coverage/js/lcov.info
-Dsonar.sources=src,public,scripts,server.js,tools/python
-Dsonar.tests=test
-Dsonar.test.inclusions=test/**/*.test.js
-Dsonar.exclusions=public/vendor/**,node_modules/**,data/**,storage/**
# If you wish to fail your job when the Quality Gate is red, uncomment the
# following lines. This would typically be used to fail a deployment.