Commit e7dd4e79 authored by daidekun's avatar daidekun

fix

parent 29c7f012
...@@ -177,17 +177,20 @@ def build_luaui(namespace, systemNames, contextDir, repoName, branchName, worksp ...@@ -177,17 +177,20 @@ def build_luaui(namespace, systemNames, contextDir, repoName, branchName, worksp
arrSystem = systemNames.split("--") arrSystem = systemNames.split("--")
for (systemName in arrSystem) { for (systemName in arrSystem) {
dir (systemName) { dir (systemName) {
response = httpRequest "http://192.168.4.3:10088/config_server/get_node_command/${systemName}" if (systemName == "pinjamancepat-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) def res_json = jsonParse(response.content)
print "=====Build Command Is=====" print "=====Build Command Is====="
echo res_json.toString() echo res_json.toString()
configPath = res_json["configPath"] configPath = res_json["configPath"]
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'
......
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