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
Some checks failed
Sonarqube Scanner / Build and analyze (push) Failing after 1m1s
This commit is contained in:
parent
0def9b23db
commit
8785a9ec47
@ -49,6 +49,10 @@ jobs:
|
|||||||
-Dsonar.sources=. \
|
-Dsonar.sources=. \
|
||||||
-Dsonar.host.url=$SONAR_HOST_URL \
|
-Dsonar.host.url=$SONAR_HOST_URL \
|
||||||
-Dsonar.javascript.lcov.reportPaths=coverage/js/lcov.info
|
-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
|
# 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.
|
# following lines. This would typically be used to fail a deployment.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user