Skip to content

Commit

Permalink
Update deploy_development.groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
ramyahd authored Nov 21, 2019
1 parent d68ce4e commit e7cce7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vars/deploy_development.groovy
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
def call(String msg = 'deploy_dev') {
echo "${msg}"
withCredentials([string(credentialsId: 'tomcat_dev', variable: 'password')]){
sh 'sshpass -p ${password} ssh -o StrictHostKeyChecking=no [email protected] \"ansible-playbook /opt/playbooks/download.yml\"'
sh 'sshpass -p ${password} ssh -o StrictHostKeyChecking=no [email protected] \"ansible-playbook opt/playbooks/download.yml\"'

}
}
Expand Down

0 comments on commit e7cce7a

Please sign in to comment.