Commit 1e70fc74 authored by daidekun's avatar daidekun

移除临时代码

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