Commit 1a4e7839 authored by daidekun's avatar daidekun

add bower install

parent 4ad520a7
......@@ -75,6 +75,17 @@ def build_nodejs_and_ui(namespace, systemName, contextDir, repoName, branchName)
sh "cp -rf /home/quant_group/jenkins_home/workspace/pre.${systemName}/node_modules/ node_modules"
sh "mv -f env.config.js ${configPath}"
def bowerFile = fileExists './bower.json'
if (bowerFile) {
sh "bower install"
}
if (systemName == "xyqb-ui") {
}
sh buildCmd
sh 'tar zcf dist.tgz dist/'
sh "mv dist.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