diff --git a/alfa-client/apps/info/Jenkinsfile b/alfa-client/apps/info/Jenkinsfile index 95e182020b1e7149764fef7e482571b20fc20f35..6bd520b84bd9b7d6d1a4526a45c42c5b05735593 100644 --- a/alfa-client/apps/info/Jenkinsfile +++ b/alfa-client/apps/info/Jenkinsfile @@ -37,15 +37,15 @@ pipeline { dir('alfa-client') { withNPM(npmrcConfig: 'npm-nexus-auth') { sh 'pnpm install --frozen-lockfile --network-concurrency=8' - sh 'npx nx run info:test' - sh 'npx nx run info:test -- --runInBand --codeCoverage --coverageReporters=lcov --testResultsProcessor=jest-sonar-reporter && npx sonar-scanner' + sh 'pnpm exec nx run info:test' + sh 'pnpm exec nx run info:test -- --runInBand --codeCoverage --coverageReporters=lcov --testResultsProcessor=jest-sonar-reporter && pnpm exec sonar-scanner' IMAGE_TAG = generateImageTag() loginToDockerRegistry() - sh "INPUT_TAGS=${IMAGE_TAG} INPUT_IMAGES=docker.ozg-sh.de/info-client-by npx nx container info --configuration=production-by" - sh "INPUT_TAGS=${IMAGE_TAG} INPUT_IMAGES=docker.ozg-sh.de/info-client-sh npx nx container info --configuration=production-sh" + sh "INPUT_TAGS=${IMAGE_TAG} INPUT_IMAGES=docker.ozg-sh.de/info-client-by pnpm exec nx container info --configuration=production-by" + sh "INPUT_TAGS=${IMAGE_TAG} INPUT_IMAGES=docker.ozg-sh.de/info-client-sh pnpm exec nx container info --configuration=production-sh" } } }