Update Jenkinsfile

This commit is contained in:
Nana Janashia committed 2020-11-18 12:10:01 +00:00
1 parent 31ecf84171
commit f6850fa35f
1 file changed
+1 -1
Vendored
+1 -1
View File
@@ -20,7 +20,7 @@ pipeline {
script {
def dockerCmd = 'docker run -p 3080:3080 -d nanajanashia/demo-app:1.0'
sshagent(['ec2-server-key']) {
sh 'ssh -o StrictHostKeyChecking=no ec2-user@35.180.251.121 ${dockerCmd}'
sh "ssh -o StrictHostKeyChecking=no ec2-user@35.180.251.121 ${dockerCmd}"
}
}
}