Commit 20e08e51 authored by wentao.suo's avatar wentao.suo

ffff

parent 07f7f3cf
......@@ -134,6 +134,7 @@ def checkout_nodejs(systemName, branchName) {
def checkout_luaui(systemNames, branchNames) {
_utils().beautyEcho("checkout_lua_ui :" + systemNames, "info")
sh "cp -rf /home/quant_group/config_repository/lua-ui/npmrc/npmrc /root/.npmrc"
if(systemNames.contains("--")){
_utils().beautyEcho("complex ui projects :" + systemNames, "info")
t1 = systemNames.split("/")
......@@ -184,6 +185,7 @@ def checkout_luaui(systemNames, branchNames) {
).trim()
def folder = new File( "${currentPath}/.git/hooks" )*/
sh "cp -rf /home/quant_group/config_repository/lua-ui/hook/post-merge .git/hooks/"
sh "chmod +x .git/hooks/post-merge"
......@@ -193,7 +195,7 @@ def checkout_luaui(systemNames, branchNames) {
if (bowerFile) {
sh "bower install --allow-root"
}
sh "npm install -g"
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