Skip to content
Snippets Groups Projects
Commit 0c4d25de authored by Bernhard Fürst's avatar Bernhard Fürst
Browse files

OZG-6238 OZG-7130 Use pnpm instead of npx (2)

parent 237f29c6
No related branches found
No related tags found
1 merge request!1OZG-6238 NPM durch PNPM ersetzen
...@@ -37,15 +37,15 @@ pipeline { ...@@ -37,15 +37,15 @@ pipeline {
dir('alfa-client') { dir('alfa-client') {
withNPM(npmrcConfig: 'npm-nexus-auth') { withNPM(npmrcConfig: 'npm-nexus-auth') {
sh 'pnpm install --frozen-lockfile --network-concurrency=8' sh 'pnpm install --frozen-lockfile --network-concurrency=8'
sh 'npx nx run info:test' sh 'pnpm exec 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 -- --runInBand --codeCoverage --coverageReporters=lcov --testResultsProcessor=jest-sonar-reporter && pnpm exec sonar-scanner'
IMAGE_TAG = generateImageTag() IMAGE_TAG = generateImageTag()
loginToDockerRegistry() 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-by pnpm exec 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-sh pnpm exec nx container info --configuration=production-sh"
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment