Commit 3ee7f13f authored by daidekun's avatar daidekun

配置替换

parent c4b1c2fa
......@@ -180,6 +180,10 @@ def build_luaui(namespace, systemNames, contextDir, repoName, branchName, worksp
if (systemName == "pinjamancepat-credit-review-ui") {
buildCmd = "npm run build"
configPath = "src/config/env.config.js"
sh "mv -f ../${systemName}.env.config.js ${configPath}"
configPath = "src/config/production.config.js"
sh "mv -f ../${systemName}.env.config.js ${configPath}"
}else{
response = httpRequest "http://192.168.4.3:10088/config_server/get_node_command/${systemName}"
......@@ -190,7 +194,7 @@ def build_luaui(namespace, systemNames, contextDir, repoName, branchName, worksp
buildCmd = res_json["buildCmd"]
configName = systemName
print "=========================="
sh "mv -f ../${systemName}.env.config.js ${configPath}"
}
sh "mv -f ../${systemName}.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