Commit edcd70c6 authored by daidekun's avatar daidekun

configpath

parent e7dd4e79
...@@ -179,6 +179,8 @@ def build_luaui(namespace, systemNames, contextDir, repoName, branchName, worksp ...@@ -179,6 +179,8 @@ def build_luaui(namespace, systemNames, contextDir, repoName, branchName, worksp
dir (systemName) { dir (systemName) {
if (systemName == "pinjamancepat-credit-review-ui") { if (systemName == "pinjamancepat-credit-review-ui") {
buildCmd = "npm run build" buildCmd = "npm run build"
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}"
...@@ -189,9 +191,10 @@ def build_luaui(namespace, systemNames, contextDir, repoName, branchName, worksp ...@@ -189,9 +191,10 @@ def build_luaui(namespace, systemNames, contextDir, repoName, branchName, worksp
buildCmd = res_json["buildCmd"] buildCmd = res_json["buildCmd"]
configName = systemName configName = systemName
print "==========================" print "=========================="
sh "mv -f ../${systemName}.env.config.js ${configPath}"
} }
sh "mv -f ../${systemName}.env.config.js ${configPath}"
def bowerFile = fileExists './bower.json' def bowerFile = fileExists './bower.json'
if (bowerFile) { if (bowerFile) {
......
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