From 20d1e2d7f09f9bbc14490c228950fea484787718 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E5=90=AF=E9=BE=99?= Date: Thu, 14 Mar 2024 14:19:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=20jenkins=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 40d82e2..b376802 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,10 +1,8 @@ @Library('jgpl') _ webPipeline([ onBuildInstallShell:{-> - return """ - npm install url-loader --userconfig ${env.NPM_CONFIG_USERCONFIG} --no-package-lock - pnpm install -no-frozen-lockfile - pnpm run build || echo 'Ignore build error !!!' - """ - }, + return """ + pnpm install --no-prefer-frozen-lockfile + pnpm run build || echo 'Ignore build error !!!' + """} ]) \ No newline at end of file