Commit 92649fb8 authored by wentao.suo's avatar wentao.suo

fix

parent 21096d91
...@@ -176,7 +176,7 @@ def checkout_nodejs(systemName, branchName) { ...@@ -176,7 +176,7 @@ def checkout_nodejs(systemName, branchName) {
if (bowerFile) { if (bowerFile) {
sh "bower install --allow-root" sh "bower install --allow-root"
} }
sh "npm install"
} else { } else {
echo ">>>>>>>>> not first git clone" echo ">>>>>>>>> not first git clone"
sh "cp -rf /home/quant_group/config_repository/lua-ui/hook/post-checkout .git/hooks/" sh "cp -rf /home/quant_group/config_repository/lua-ui/hook/post-checkout .git/hooks/"
...@@ -184,6 +184,7 @@ def checkout_nodejs(systemName, branchName) { ...@@ -184,6 +184,7 @@ def checkout_nodejs(systemName, branchName) {
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: gitPath git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: gitPath
} }
sh "npm install"
} }
...@@ -229,7 +230,7 @@ def checkout_luaui(systemName, branchName) { ...@@ -229,7 +230,7 @@ def checkout_luaui(systemName, branchName) {
if (bowerFile) { if (bowerFile) {
sh "bower install --allow-root" sh "bower install --allow-root"
} }
sh "npm install"
} }
}else{ }else{
...@@ -248,6 +249,7 @@ def checkout_luaui(systemName, branchName) { ...@@ -248,6 +249,7 @@ def checkout_luaui(systemName, branchName) {
} }
} }
sh "npm install"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment