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()) } } }