Commit 988c74ba authored by daidekun's avatar daidekun

临时判断

parent 990e4736
...@@ -69,6 +69,9 @@ def jsonParse(def json) { ...@@ -69,6 +69,9 @@ def jsonParse(def json) {
def build_ui(namespace, systemName, contextDir, repoName, branchName, workspace) { def build_ui(namespace, systemName, contextDir, repoName, branchName, workspace) {
if (systemName == "uanguang-credit-review-ui") {
buildCmd = "npm run qa"
}else if {
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}"
def res_json = jsonParse(response.content) def res_json = jsonParse(response.content)
...@@ -78,6 +81,8 @@ def build_ui(namespace, systemName, contextDir, repoName, branchName, workspace) ...@@ -78,6 +81,8 @@ def build_ui(namespace, systemName, contextDir, repoName, branchName, workspace)
buildCmd = res_json["buildCmd"] buildCmd = res_json["buildCmd"]
configName = systemName configName = systemName
print "==========================" print "=========================="
}
sh "mv -f env.config.js ${configPath}" sh "mv -f env.config.js ${configPath}"
......
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