Commit 4fdc6bb3 authored by daidekun's avatar daidekun

fixbugs

parent 1a4e7839
...@@ -79,14 +79,11 @@ def build_nodejs_and_ui(namespace, systemName, contextDir, repoName, branchName) ...@@ -79,14 +79,11 @@ def build_nodejs_and_ui(namespace, systemName, contextDir, repoName, branchName)
def bowerFile = fileExists './bower.json' def bowerFile = fileExists './bower.json'
if (bowerFile) { if (bowerFile) {
sh "bower install" sh "ansible-playbook /etc/ansible/deploy.yml -e project_name=pre.${systemName} -e repo_name=${repoName} -e branch_name=${branchName} -vv"
} else {
sh buildCmd
} }
if (systemName == "xyqb-ui") {
}
sh buildCmd
sh 'tar zcf dist.tgz dist/' sh 'tar zcf dist.tgz dist/'
sh "mv dist.tgz ${contextDir}" 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