Commit f6bc552a authored by daidekun's avatar daidekun

移除没用代码

parent 385b16aa
...@@ -25,12 +25,10 @@ def call(body) { ...@@ -25,12 +25,10 @@ def call(body) {
} }
stage('Build') { stage('Build') {
echo config.envType
sh "ansible-playbook /etc/ansible/build.yml -e project_name=${config.envType}.${projectName} -e repo_name=${repoName} -e branch_name=${branchName} -vv" sh "ansible-playbook /etc/ansible/build.yml -e project_name=${config.envType}.${projectName} -e repo_name=${repoName} -e branch_name=${branchName} -vv"
} }
stage('Deploy') { stage('Deploy') {
/*摘服务,看日志*/
sh "ansible-playbook /etc/ansible/nginx_remove.yml -e project_name=${config.envType}.${projectName} -e room=${room} -e room_hosts=${hosts} -vv" sh "ansible-playbook /etc/ansible/nginx_remove.yml -e project_name=${config.envType}.${projectName} -e room=${room} -e room_hosts=${hosts} -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