From 0efb6485807e24cfc8c7e9e84778eeb2160c70b9 Mon Sep 17 00:00:00 2001 From: panjunjie <46790855@qq.com> Date: Mon, 11 Aug 2025 16:20:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Jenkinsfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2e02b13..3578fc3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,7 +25,8 @@ pipeline { npm cache clean --force echo "设置国内镜像源加速..." - npm config set registry https://registry.npmmirror.com + # npm config set registry https://registry.npmmirror.com + npm install package-name --registry=https://mirrors.cloud.tencent.com/npm/ # 安装其他依赖 npm install