diff --git a/Jenkinsfile b/Jenkinsfile index 3578fc3..409f068 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,7 +26,7 @@ pipeline { echo "设置国内镜像源加速..." # npm config set registry https://registry.npmmirror.com - npm install package-name --registry=https://mirrors.cloud.tencent.com/npm/ + npm config set registry https://mirrors.cloud.tencent.com/npm/ # 安装其他依赖 npm install