Commit 1e70fc74 authored by daidekun's avatar daidekun

移除临时代码

parent 742a2372
......@@ -69,21 +69,17 @@ def jsonParse(def json) {
def build_ui(namespace, systemName, contextDir, repoName, branchName, workspace) {
if (systemName == "uanguang-credit-review-ui") {
buildCmd = "npm run build"
}else {
response = httpRequest "http://192.168.4.3:10088/config_server/get_node_command/${systemName}"
def res_json = jsonParse(response.content)
print "=====Build Command Is====="
echo res_json.toString()
configPath = res_json["configPath"]
buildCmd = res_json["buildCmd"]
configName = systemName
print "=========================="
sh "mv -f env.config.js ${configPath}"
}
response = httpRequest "http://192.168.4.3:10088/config_server/get_node_command/${systemName}"
def res_json = jsonParse(response.content)
print "=====Build Command Is====="
echo res_json.toString()
configPath = res_json["configPath"]
buildCmd = res_json["buildCmd"]
configName = systemName
print "=========================="
sh "mv -f env.config.js ${configPath}"
def bowerFile = fileExists './bower.json'
......
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