From 0c4d25de15c96eea481101ae6ff7ab0956991e2a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bernhard=20Fu=CC=88rst?= <bernhard.fuerst@fuerstnet.de>
Date: Thu, 19 Dec 2024 08:25:34 +0100
Subject: [PATCH] OZG-6238 OZG-7130 Use pnpm instead of npx (2)

---
 alfa-client/apps/info/Jenkinsfile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/alfa-client/apps/info/Jenkinsfile b/alfa-client/apps/info/Jenkinsfile
index 95e182020b..6bd520b84b 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"
             }
           }
         }
-- 
GitLab