From b557d5dec43801cb6a7288dab7c5a5f684a4a79e Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Thu, 2 Nov 2023 15:11:04 +0100 Subject: [PATCH] OZG-4320 OZG-4488 Fix reporting to Sonarqube --- goofy-client/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/goofy-client/package.json b/goofy-client/package.json index fe8266f267..63c9c7c757 100644 --- a/goofy-client/package.json +++ b/goofy-client/package.json @@ -15,7 +15,7 @@ "ci-build": "nx build --outputHashing=all", "ci-prodBuild": "nx build --outputHashing=all --configuration production", "ci-test": "nx run-many --target=test --all --parallel --maxParallel 2 --runInBand --ci --testResultsProcessor='jest-sonar-reporter' --coverage", - "ci-sonar": "sonar-scanner", + "ci-sonar": "npm run sonar-scanner", "lint": "nx workspace-lint && nx lint", "affected:apps": "nx affected:apps", "affected:libs": "nx affected:libs", @@ -39,7 +39,7 @@ "cypress:install": "npx cypress install", "cypress:open": "npx cypress open --project apps/goofy-e2e", "workspace-generator": "nx workspace-generator", - "sonar-scanner": "npm test -- --testResultsProcessor='jest-sonar-reporter' && sonar-scanner -Dsonar.host.url=https://sonarqube.ozg-sh.de/ -Dsonar.login=364c6e09430714838730a83f55d3369a7ffda0e9" + "sonar-scanner": "nx run-many --target=test --all --parallel --maxParallel 2 --runInBand --update-snapshot --testResultsProcessor='jest-sonar-reporter' && npx sonar-scanner -Dsonar.host.url=https://sonarqube.ozg-sh.de/ -Dsonar.login=sqp_e7178a88b40b1058facaf080fad6bef746737d5e" }, "private": true, "dependencies": { -- GitLab