Commit 1afe94ee authored by daidekun's avatar daidekun

fix

parent 1d08fbd6
......@@ -24,8 +24,8 @@ def prepare_ui(systemName, contextDir) {
sh "cp -rf /home/quant_group/qg-dockerfiles/templates/ui ${contextDir}"
sh "cd /home/quant_group/config_repository/java; git pull; cd -"
sh "cp -rf /home/quant_group/config_repository/ui/${systemName}.js ./env.config.js"
sh "sed -i \"s/.xyqb.com/-${namespace}.q-gp.com/\" ./env.config.js"
sh "cp -rf /home/quant_group/config_repository/ui/${systemName}.js env.config.js"
sh "sed -i \"s/.xyqb.com/-${namespace}.q-gp.com/\" env.config.js"
}
def prepare_python(contextDir) {
......@@ -75,8 +75,11 @@ def build_nodejs_and_ui(namespace, systemName, contextDir, repoName, branchName)
print configName
print "=========================="
print "mv -f ./env.config.js ${configPath}"
sh "mv -f ./env.config.js ${configPath}"
sh "pwd()"
sh "ls -l"
print "mv -f env.config.js ${configPath}"
sh "mv -f env.config.js ${configPath}"
print buildCmd
sh buildCmd
......
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