From 4a7bc96fde82776ea00864dda237420ef44fc894 Mon Sep 17 00:00:00 2001 From: sunlei Date: Wed, 24 Jun 2026 16:43:09 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E7=A8=B3=E5=AE=9AJenkins=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E5=AE=89=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index b3f0974..8c9b544 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -200,7 +200,15 @@ pipeline { stage('Install') { steps { script { - runCmd('pnpm install --frozen-lockfile') + runCmd(""" + pnpm config set registry https://registry.npmmirror.com + pnpm config set fetch-retries 5 + pnpm config set fetch-retry-factor 2 + pnpm config set fetch-retry-mintimeout 10000 + pnpm config set fetch-retry-maxtimeout 120000 + pnpm config set network-concurrency 4 + pnpm install --frozen-lockfile --prefer-offline + """.stripIndent()) } } }