Commit 55b04903 authored by daidekun's avatar daidekun

if (bowerFile) {

        sh "bower install"
    }
parent b7358792
......@@ -81,7 +81,11 @@ def build_ui(namespace, systemName, contextDir, repoName, branchName, workspace)
sh "mv -f env.config.js ${configPath}"
def bowerFile = fileExists './bower.json'
if (bowerFile) {
sh "bower install"
}
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