Commit 45294ba1 authored by tong.li's avatar tong.li

deploy

parent 9a6eb3f6
...@@ -25,7 +25,7 @@ def call(body) { ...@@ -25,7 +25,7 @@ def call(body) {
stage('Build') { stage('Build') {
if (action == 'deploy') { if (action == 'deploy') {
sh "ansible-playbook /etc/ansible/build.yml -e project_name=${envType}.${projectName} -e name_with_namespace=${nameWithNamespace} -e tag_name=${tagName} -e force=${force} -vv" sh "ansible-playbook /etc/ansible/build.yml -e project_name=${envType}.${projectName} -e name_with_namespace=${nameWithNamespace} -e tag_name=${tagName} -e force=${force} -e env=${envType} -vv"
} }
} }
......
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