Browse Source

开发环境构建脚本更新

刘洋 2 năm trước cách đây
mục cha
commit
7fd1897b6a
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      jenkins.sh

+ 1 - 3
jenkins.sh

@@ -11,9 +11,7 @@ pwd
 echo “build env: $1”
 
 npm -v
-npm cache verify
-rm -rf node_modules
-npm i
+npm install --registry=https://registry.npm.taobao.org
 npm run build:$1
 
 mkdir -p ~/project/examcloud/static-new/oe-web-v3/temp