Commit c0e70b64 authored by daidekun's avatar daidekun

目录处理

parent c5160bd4
......@@ -163,6 +163,7 @@ def build_python(namespace, systemName, contextDir) {
def build_luaui(namespace, systemNames, contextDir, repoName, branchName, workspace) {
arrSystem = systemNames.spit("--")
for (systemName in arrSystem) {
sh "cd ${systemName}"
response = httpRequest "http://192.168.4.3:10088/config_server/get_node_command/${systemName}"
def res_json = jsonParse(response.content)
......@@ -189,7 +190,8 @@ def build_luaui(namespace, systemNames, contextDir, repoName, branchName, worksp
}
sh buildCmd
sh 'tar zcf ${systemName}.dist.tgz dist/'
sh "mv ${systemName}.dist.tgz ${contextDir}"
sh "mv ${systemName}.dist.tgz ../${contextDir}"
sh "cd .."
}
}
......
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