Skip to content
Snippets Groups Projects
Commit 84644fb9 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4561 OZG-4564 Update SonarQube config

Ausserdem: Testweise die parallelen Unit Tests im Alfa Client build von 2 auf 4 hochsetzen.
Mittlerweile deckeln wir den RAM-Verbrauch auf 500MB, vorher hat sich jeder Prozess gerne
2-3 GB genehmigt. Insofern denke ich, dass die Maschine damit zurecht kommt.
parent 1f657407
Branches
Tags
No related merge requests found
......@@ -14,7 +14,7 @@
"test:debug:lib": "nx test ${npm_config_lib} --detectOpenHandles --watchAll",
"ci-build": "nx run alfa:build --outputHashing=all",
"ci-prodBuild": "nx run alfa:build --outputHashing=all --configuration production",
"ci-test": "nx run-many --target=test --all --parallel --maxParallel 2 --runInBand --ci --testResultsProcessor='jest-sonar-reporter' --coverage",
"ci-test": "nx run-many --target=test --all --parallel --maxParallel 4 --runInBand --ci --testResultsProcessor='jest-sonar-reporter' --coverage",
"ci-sonar": "npm run sonar-scanner",
"lint": "nx workspace-lint && nx lint",
"affected:apps": "nx affected:apps",
......@@ -39,7 +39,7 @@
"cypress:install": "npx cypress install",
"cypress:open": "npx cypress open --project apps/alfa-e2e",
"workspace-generator": "nx workspace-generator",
"sonar-scanner": "npm run ci-test && npx sonar-scanner -Dsonar.host.url=https://sonarqube.ozg-sh.de/ -Dsonar.login=sqp_213cf98b5cc575e4efb9cf5888ee105621fc3201"
"sonar-scanner": "npm run ci-test && npx sonar-scanner"
},
"private": true,
"dependencies": {
......
......@@ -28,4 +28,7 @@ sonar.tests=apps/alfa/src,libs
sonar.test.inclusions=**/*.spec.ts
sonar.javascript.lcov.reportPaths=coverage/lcov.info
sonar.testExecutionReportPaths=test-report.xml
sonar.sourceEncoding=UTF-8
\ No newline at end of file
sonar.sourceEncoding=UTF-8
sonar.projectName=Alfa Client
sonar.host.url=https://sonarqube.ozg-sh.de
sonar.login=sqp_213cf98b5cc575e4efb9cf5888ee105621fc3201
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment