diff --git a/Jenkinsfile b/Jenkinsfile index e42e8755..348a2ff9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,7 +14,7 @@ pipeline { } stage ('Deploy to Staging'){ steps { - sh 'scp -i /home/bitnami/demo.pem **/target/*.war ec2-user@35.166.210.154:/var/lib/tomcat7/webapps/' + sh 'sudo scp -i /home/bitnami/demo.pem **/target/*.war ec2-user@35.166.210.154:/var/lib/tomcat7/webapps/' } }