Skip to content

Commit eacc723

Browse files
authored
Update Jenkinsfile
1 parent a745eff commit eacc723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pipeline{
1515
steps{
1616
sshagent(['3.82.186.105']) {
1717
sh """
18-
scp -o StrictHostKeyChecking=no target/webapp.war ubuntu@3.82.186.105:/opt/tomcat/webapps/
18+
scp -o StrictHostKeyChecking=no /var/lib/jenkins/workspace/sree55/webapp/target/webapp.war ubuntu@3.82.186.105:/opt/tomcat/webapps/
1919
ssh ubuntu@3.82.186.105 /opt/tomcat/bin/shutdown.sh
2020
ssh ubuntu@3.82.186.105 /opt/tomcat/bin/startup.sh
2121
"""

0 commit comments

Comments
 (0)