diff --git a/Jenkins-Declarative-Git b/Jenkins-Declarative-Git index 11cdadc5d0..719f689658 100644 --- a/Jenkins-Declarative-Git +++ b/Jenkins-Declarative-Git @@ -22,11 +22,11 @@ pipeline{ steps{ sshagent(['tomcat-new']) { sh """ - scp -o StrictHostKeyChecking=no target/myweb.war ec2-user@172.31.5.176:/opt/tomcat8/webapps/ + scp -o StrictHostKeyChecking=no target/myweb.war ec2-user@172.31.83.118:/opt/tomcat8/webapps/ - ssh ec2-user@172.31.5.176 /opt/tomcat8/bin/shutdown.sh + ssh ec2-user@172.31.83.118 /opt/tomcat8/bin/shutdown.sh - ssh ec2-user@172.31.5.176 /opt/tomcat8/bin/startup.sh + ssh ec2-user@172.31.83.118 /opt/tomcat8/bin/startup.sh """ }