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