Commit 37c6446f authored by daidekun's avatar daidekun

包含bower.json的项目,就用absible打包

parent 4fdc6bb3
......@@ -82,10 +82,10 @@ def build_nodejs_and_ui(namespace, systemName, contextDir, repoName, branchName)
sh "ansible-playbook /etc/ansible/deploy.yml -e project_name=pre.${systemName} -e repo_name=${repoName} -e branch_name=${branchName} -vv"
} else {
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