Commit 7fdf670c authored by daidekun's avatar daidekun

移除ui部分注释掉的代码

parent aef1c58a
......@@ -21,15 +21,6 @@ def prepare_nodejs(systemName, contextDir) {
sh "cp -rf /home/quant_group/config_repository/nodejs/${systemName}.js env.config.js"
}
/*def prepare_ui(systemName, contextDir) {
sh "rm -rf ${contextDir}"
sh "cd /home/quant_group/qg-dockerfiles/templates/ui; git pull; cd -"
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"
}*/
def prepare_luaui(systemNames, contextDir) {
sh "rm -rf ${contextDir}"
sh "cd /home/quant_group/qg-dockerfiles/templates/lua-ui; git pull; cd -"
......@@ -109,40 +100,6 @@ def jsonParse(def json) {
new groovy.json.JsonSlurperClassic().parseText(json)
}
/*def build_ui(namespace, systemName, contextDir, repoName, branchName, workspace) {
response = httpRequest "http://192.168.4.3:10088/config_server/get_node_command/${systemName}"
def res_json = jsonParse(response.content)
print "=====Build Command Is====="
echo res_json.toString()
configPath = res_json["configPath"]
buildCmd = res_json["buildCmd"]
configName = systemName
print "=========================="
sh "mv -f env.config.js ${configPath}"
def bowerFile = fileExists './bower.json'
print "=========env info=========="
sh '''#!/bin/bash
ruby -v
pwd
ls
'''
if (bowerFile) {
sh "bower install"
}
sh "npm install"
sh buildCmd
sh 'tar zcf dist.tgz dist/'
sh "mv dist.tgz ${contextDir}"
}
*/
def build_nodejs(namespace, systemName, contextDir, repoName, branchName, workspace) {
response = httpRequest "http://192.168.4.3:10088/config_server/get_node_command/${systemName}"
......
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