From 83af5fefa04c3760961f5872066939631ce0a411 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Tue, 17 Dec 2024 15:17:43 +0100
Subject: [PATCH] OZG-6238 `pnpm cache verify` does not exist

---
 Jenkinsfile                        | 1 -
 Jenkinsfile.admin                  | 1 -
 alfa-client/Jenkinsfile.e2e        | 1 -
 alfa-client/Jenkinsfile.e2e.static | 1 -
 alfa-client/Jenkinsfile.storybook  | 1 -
 alfa-client/apps/info/Jenkinsfile  | 1 -
 6 files changed, 6 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 35523ce35d..66d9a87250 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -84,7 +84,6 @@ pipeline {
                         sh 'node --version'
 
                         dir('alfa-client') {
-                            sh 'pnpm cache verify'
                             sh 'pnpm install'
 
                             if (isMasterBranch()) {
diff --git a/Jenkinsfile.admin b/Jenkinsfile.admin
index 871f712902..3a5229a35b 100644
--- a/Jenkinsfile.admin
+++ b/Jenkinsfile.admin
@@ -64,7 +64,6 @@ pipeline {
 
                     withNPM(npmrcConfig: 'npm-nexus-auth') {
                         dir('alfa-client') {
-  	                        sh 'pnpm cache verify'
                             sh 'pnpm install'
 
 	                        if (isReleaseBranch()) {
diff --git a/alfa-client/Jenkinsfile.e2e b/alfa-client/Jenkinsfile.e2e
index 019cb16c9e..9b41448c6e 100644
--- a/alfa-client/Jenkinsfile.e2e
+++ b/alfa-client/Jenkinsfile.e2e
@@ -228,7 +228,6 @@ pipeline {
                     withNPM(npmrcConfig: 'npm-nexus-auth') {
                         sh 'pnpm --version'
                         dir('alfa-client') {
-                            sh 'pnpm cache verify'
                             sh 'pnpm install'
                             sh "pnpm run cypress:install"
                         }
diff --git a/alfa-client/Jenkinsfile.e2e.static b/alfa-client/Jenkinsfile.e2e.static
index bfd91deda7..0102ea42ee 100644
--- a/alfa-client/Jenkinsfile.e2e.static
+++ b/alfa-client/Jenkinsfile.e2e.static
@@ -177,7 +177,6 @@ pipeline {
                     withNPM(npmrcConfig: 'npm-nexus-auth') {
                         sh 'pnpm --version'
                         dir('alfa-client') {
-                            sh 'pnpm cache verify'
                             sh 'pnpm install'
                             sh "pnpm run cypress:install"
                         }
diff --git a/alfa-client/Jenkinsfile.storybook b/alfa-client/Jenkinsfile.storybook
index 36e75ceed8..fb3335332a 100644
--- a/alfa-client/Jenkinsfile.storybook
+++ b/alfa-client/Jenkinsfile.storybook
@@ -64,7 +64,6 @@ pipeline {
 
                     withNPM(npmrcConfig: 'npm-nexus-auth') {
                         dir('alfa-client') {
-                            sh 'pnpm cache verify'
                             sh 'pnpm install'
                             sh 'pnpm run ci-storybook'
                         }
diff --git a/alfa-client/apps/info/Jenkinsfile b/alfa-client/apps/info/Jenkinsfile
index daea9bb4f5..754fd6b42a 100644
--- a/alfa-client/apps/info/Jenkinsfile
+++ b/alfa-client/apps/info/Jenkinsfile
@@ -36,7 +36,6 @@ pipeline {
           FAILED_STAGE = env.STAGE_NAME
           dir('alfa-client') {
             withNPM(npmrcConfig: 'npm-nexus-auth') {
-              sh 'pnpm cache verify'
               sh 'pnpm install'
               sh 'npx nx run info:test'
               sh 'npx nx run info:test -- --runInBand --codeCoverage --coverageReporters=lcov --testResultsProcessor=jest-sonar-reporter && npx sonar-scanner'
-- 
GitLab