diff --git a/Jenkinsfile b/Jenkinsfile index e703a7c..cbfa047 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,6 @@ pipeline { // add your slave label name - agent { label 'node-machince'} + agent { label 'my_maven_slave'} tools{ maven 'maven-test' } @@ -24,7 +24,7 @@ pipeline { steps { sshagent(['tomcat-web-server']) { - sh "scp -o StrictHostKeyChecking=no target/maven-web-application.war ec2-user@13.229.97.17:/opt/tomcat9/webapps" + sh "scp -o StrictHostKeyChecking=no target/maven-web-application.war ec2-user@51.20.255.117:/opt/tomcat9/webapps" } } }