Skip to content

Commit 1b9360a

Browse files
authored
Update Jenkinsfile
1 parent 77fa334 commit 1b9360a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

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

0 commit comments

Comments
 (0)