diff --git a/Jenkins-Declarative-Git b/Jenkins-Declarative-Git index 11cdadc5d0..48ffb1dfdc 100644 --- a/Jenkins-Declarative-Git +++ b/Jenkins-Declarative-Git @@ -9,7 +9,7 @@ pipeline{ stages{ stage("Git Checkout"){ steps{ - git credentialsId: 'github', url: 'https://github.com/javahometech/myweb' + git credentialsId: 'github', url: 'https://github.com/Josetim/myweb.git' } } stage("Maven Build"){ @@ -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 ubuntu@18.219.239.214:/home/ubuntu/apache-tomcat-9.0.83/webapps/ - ssh ec2-user@172.31.5.176 /opt/tomcat8/bin/shutdown.sh + ssh ubuntu@18.219.239.214 /home/ubuntu/apache-tomcat-9.0.83/webapps/bin/shutdown.sh - ssh ec2-user@172.31.5.176 /opt/tomcat8/bin/startup.sh + ssh ubuntu@18.219.239.214 /home/ubuntu/apache-tomcat-9.0.83/webapps/bin/startup.sh """ } diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 0f915b20e5..50b12cd9ee 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -1,5 +1,6 @@
-