Commit 3061eb21 authored by daidekun's avatar daidekun

copy

parent 0072ab39
......@@ -35,6 +35,8 @@ def prepare_luaui(systemNames, contextDir) {
sh "cd /home/quant_group/qg-dockerfiles/templates/lua-ui; git pull; cd -"
sh "cp -rf /home/quant_group/qg-dockerfiles/templates/lua-ui ${contextDir}"
sh "cd /home/quant_group/config_repository/lua-ui; git pull; cd -"
sh "cp -rf /home/quant_group/config_repository/lua-ui/lua/*.lua ${contextDir}"
sh "cp -rf /home/quant_group/config_repository/lua-ui/*.vh.conf ${contextDir} "
arrSystem = systemNames.split("--")
for (systemName in arrSystem) {
......@@ -143,7 +145,7 @@ def build_nodejs(namespace, systemName, contextDir, repoName, branchName, worksp
sh "mv -f env.config.js ${configPath}"
sh "npm install --registry=https://registry.npm.taobao.org"
sh "npm install"
sh 'tar zcf dist.tgz ./*'
sh "mv dist.tgz ${contextDir}"
}
......@@ -184,13 +186,7 @@ def build_luaui(namespace, systemNames, contextDir, repoName, branchName, worksp
sh "bower install"
}
sh "env"
/* if (systemName == "xjd-ui--xyqb-ui") {
sh "grunt build --force"
}
else{*/
sh buildCmd
/* }*/
sh buildCmd
sh "tar zcf ${systemName}.tgz dist/"
sh "mv ${systemName}.tgz ../${contextDir}"
......
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