Commit bfd67fa2 authored by daidekun's avatar daidekun

echo

parent 8971e112
...@@ -23,11 +23,12 @@ def call(body) { ...@@ -23,11 +23,12 @@ def call(body) {
stage('Build') { stage('Build') {
echo projectName echo projectName
echo machines
sh "ansible-playbook /etc/ansible/build.yml -e project_name=${envType}.${projectName} -e name_with_namespace=${nameWithNamespace} -e tag_name=${tagName} -vv" sh "ansible-playbook /etc/ansible/build.yml -e project_name=${envType}.${projectName} -e name_with_namespace=${nameWithNamespace} -e tag_name=${tagName} -vv"
} }
stage('Deploy') { stage('Deploy') {
print machines
sh "ansible-playbook /etc/ansible/nginx_remove.yml -e project_name=${envType}.${projectName} -e data_center=${dataCenter} -e machines=${machines} -vv" sh "ansible-playbook /etc/ansible/nginx_remove.yml -e project_name=${envType}.${projectName} -e data_center=${dataCenter} -e machines=${machines} -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