We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84409c2 commit e7775fbCopy full SHA for e7775fb
Jenkinsfile
@@ -14,12 +14,12 @@ pipeline{
14
}
15
stage("deploy-dev"){
16
steps{
17
- sshagent(['3.87.15.40']) {
+ sshagentsshagent(['3.82.186.105']) {
18
sh """
19
scp -o StrictHostKeyChecking=no target/myweb.war
20
- ubuntu@3.87.15.40:/opt/tomcat/webapps/
21
- ssh ubuntu@3.87.15.40 /opt/tomcat/bin/shutdown.sh
22
- ssh ubuntu@3.87.15.40 /opt/tomcat/bin/startup.sh
+ ubuntu@3.82.186.105:/opt/tomcat/webapps/
+ ssh ubuntu@3.82.186.105 /opt/tomcat/bin/shutdown.sh
+ ssh ubuntu@3.82.186.105 /opt/tomcat/bin/startup.sh
23
"""
24
25
0 commit comments