Commit 27a27bcd authored by wentao.suo's avatar wentao.suo

fix bugs

parent 92ae1745
...@@ -114,7 +114,7 @@ def checkout_lua_ui(branchName, gitRepo) { ...@@ -114,7 +114,7 @@ def checkout_lua_ui(branchName, gitRepo) {
} }
sh "npm install" sh "npm install"
}else{ }else{
sh "\\cp -rf /home/quant_group/config_repository/lua-ui/hook/post-merge .git/hooks/" sh "\\cp -rf /home/quant_group/config_repository/lua-ui/hook/post-checkout .git/hooks/"
sh "chmod +x .git/hooks/*" sh "chmod +x .git/hooks/*"
git branch: branches[it], credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: git_path git branch: branches[it], credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: git_path
} }
...@@ -145,7 +145,7 @@ def checkout_lua_ui(branchName, gitRepo) { ...@@ -145,7 +145,7 @@ def checkout_lua_ui(branchName, gitRepo) {
} }
sh "npm install" sh "npm install"
}else{ }else{
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/"
sh "chmod +x .git/hooks/*" sh "chmod +x .git/hooks/*"
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: git_path git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: git_path
......
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