Skip to content

Commit 9acb190

Browse files
authored
Update Jenkinsfile
1 parent b1ef153 commit 9acb190

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ pipeline{
1616
sshagent(['18.206.249.222']) {
1717
sh """
1818
scp -o StrictHostKeyChecking=no /var/lib/jenkins/workspace/jenkins3/webapp/target/webapp.war ubuntu@18.206.249.222:/opt/apache-tomcat-8.5.72/webapps
19-
ssh ubuntu@18.206.249.222/opt/apache-tomcat-8.5.72/bin/shutdown.sh
20-
ssh ubuntu@18.206.249.222/opt/apache-tomcat-8.5.72/bin/startup.sh
19+
ssh ubuntu@18.206.249.222 /opt/apache-tomcat-8.5.72/bin/shutdown.sh
20+
ssh ubuntu@18.206.249.222 /opt/apache-tomcat-8.5.72/bin/startup.sh
2121
"""
2222
}
2323
}

0 commit comments

Comments
 (0)