Commit d3a46911 authored by tywldx's avatar tywldx

f

parent ad422db1
...@@ -79,7 +79,7 @@ def checkout_nodejs(branchName, systemName) { ...@@ -79,7 +79,7 @@ def checkout_nodejs(branchName, systemName) {
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-merge .git/hooks/"
sh "chmod +x .git/hooks/post-merge" 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
} }
...@@ -115,7 +115,7 @@ def checkout_lua_ui(branchName, gitRepo) { ...@@ -115,7 +115,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-merge .git/hooks/"
sh "chmod +x .git/hooks/post-merge" 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
} }
} }
...@@ -146,7 +146,7 @@ def checkout_lua_ui(branchName, gitRepo) { ...@@ -146,7 +146,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-merge .git/hooks/"
sh "chmod +x .git/hooks/post-merge" 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