We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96eaac7 commit a745effCopy full SHA for a745eff
Jenkinsfile
@@ -15,7 +15,7 @@ pipeline{
15
steps{
16
sshagent(['3.82.186.105']) {
17
sh """
18
- scp -o StrictHostKeyChecking=no target/*.war ubuntu@3.82.186.105:/opt/tomcat/webapps/
+ scp -o StrictHostKeyChecking=no target/webapp.war ubuntu@3.82.186.105:/opt/tomcat/webapps/
19
ssh ubuntu@3.82.186.105 /opt/tomcat/bin/shutdown.sh
20
ssh ubuntu@3.82.186.105 /opt/tomcat/bin/startup.sh
21
"""
0 commit comments