Commit a345f2d2 authored by daidekun's avatar daidekun

fix

parent f7d3379a
...@@ -80,7 +80,7 @@ def build_nodejs_and_ui(namespace, systemName, contextDir, repoName, branchName, ...@@ -80,7 +80,7 @@ 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 "ansible-playbook /etc/ansible/deploy.yml -e project_name=pre.${systemName} -e repo_name=${repoName} -e branch_name=${branchName} -e workspace=${workspace}/${contextDir} -vv" sh "ansible-playbook /etc/ansible/build.yml -e project_name=pre.${systemName} -e repo_name=${repoName} -e branch_name=${branchName} -e workspace=${workspace}/${contextDir} -vv"
} else { } else {
sh buildCmd sh buildCmd
sh 'tar zcf dist.tgz dist/' sh 'tar zcf dist.tgz dist/'
......
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