更新 Jenkinsfile
This commit is contained in:
parent
5f2de7fd74
commit
0efb648580
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user