Commit 9f09688c authored by daidekun's avatar daidekun

split

parent c0e70b64
...@@ -161,7 +161,7 @@ def build_python(namespace, systemName, contextDir) { ...@@ -161,7 +161,7 @@ def build_python(namespace, systemName, contextDir) {
} }
def build_luaui(namespace, systemNames, contextDir, repoName, branchName, workspace) { def build_luaui(namespace, systemNames, contextDir, repoName, branchName, workspace) {
arrSystem = systemNames.spit("--") arrSystem = systemNames.split("--")
for (systemName in arrSystem) { for (systemName in arrSystem) {
sh "cd ${systemName}" sh "cd ${systemName}"
response = httpRequest "http://192.168.4.3:10088/config_server/get_node_command/${systemName}" response = httpRequest "http://192.168.4.3:10088/config_server/get_node_command/${systemName}"
...@@ -192,7 +192,7 @@ def build_luaui(namespace, systemNames, contextDir, repoName, branchName, worksp ...@@ -192,7 +192,7 @@ def build_luaui(namespace, systemNames, contextDir, repoName, branchName, worksp
sh 'tar zcf ${systemName}.dist.tgz dist/' sh 'tar zcf ${systemName}.dist.tgz dist/'
sh "mv ${systemName}.dist.tgz ../${contextDir}" sh "mv ${systemName}.dist.tgz ../${contextDir}"
sh "cd .." sh "cd .."
} }l
} }
def dockerbuild_and_push(buildNumber, branchName, harborGroup, systemName, contextDir) { def dockerbuild_and_push(buildNumber, branchName, harborGroup, systemName, contextDir) {
......
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