Commit e7eebad2 authored by daidekun's avatar daidekun

fixbu

parent e25ea19b
...@@ -71,7 +71,6 @@ def jsonParse(def json) { ...@@ -71,7 +71,6 @@ 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") { if (systemName == "uanguang-credit-review-ui") {
buildCmd = "npm run qa" buildCmd = "npm run qa"
configPath = "src/config/env.config.js"
}else { }else {
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}"
...@@ -82,11 +81,10 @@ def build_ui(namespace, systemName, contextDir, repoName, branchName, workspace) ...@@ -82,11 +81,10 @@ 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}"
def bowerFile = fileExists './bower.json' def bowerFile = fileExists './bower.json'
print "=========env info==========" print "=========env info=========="
......
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