diff --git a/alfa-client/package.json b/alfa-client/package.json index 9b869ac159eee03fc8a293855a0629279a5c4ed6..dbe0063274d3f522b718096045ac6bcc467bf76b 100644 --- a/alfa-client/package.json +++ b/alfa-client/package.json @@ -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": { diff --git a/alfa-client/sonar-project.properties b/alfa-client/sonar-project.properties index 9d86ce3203950c37f251af135de553d06c00a347..8bc752489bb573557732ee37b930e83ccc412122 100644 --- a/alfa-client/sonar-project.properties +++ b/alfa-client/sonar-project.properties @@ -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