fix : 修改jenkins配置
Showing
1 changed file
with
2 additions
and
0 deletions
| ... | @@ -52,6 +52,8 @@ pipeline { | ... | @@ -52,6 +52,8 @@ pipeline { |
| 52 | //配置私有npm仓库 | 52 | //配置私有npm仓库 |
| 53 | // sh 'npm config set registry http://192.168.5.4:8001/repository/csbr-npm/' | 53 | // sh 'npm config set registry http://192.168.5.4:8001/repository/csbr-npm/' |
| 54 | // sh 'yarn config set registry http://192.168.5.4:8001/repository/csbr-npm/' | 54 | // sh 'yarn config set registry http://192.168.5.4:8001/repository/csbr-npm/' |
| 55 | sh 'npm config set registry http://49.4.23.228:8001/repository/csbr-npm/' | ||
| 56 | sh 'yarn config set registry http://49.4.23.228:8001/repository/csbr-npm/' | ||
| 55 | // 配置后可通过下面方式来验证是否成功 | 57 | // 配置后可通过下面方式来验证是否成功 |
| 56 | sh 'npm config get registry' | 58 | sh 'npm config get registry' |
| 57 | sh 'npm install -g pnpm' | 59 | sh 'npm install -g pnpm' | ... | ... |
-
Please register or sign in to post a comment