We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7721d9 commit 0fefa99Copy full SHA for 0fefa99
1 file changed
Jenkins pipe line project
@@ -17,6 +17,21 @@ pipeline {
17
}
18
19
20
+ stage ("deploy-dev") {
21
+ steps {
22
+
23
+ sshagent(['1b6541c1-f57e-4889-a536-3dfa30e7f133']) {
24
+ sh"""
25
+ scp -o StrictHostKeyChecking=no target/pasad.war ubuntu@172.31.60.215:/home/ubuntu/apache-tomcat-8.5.70/webapps/
26
+ ssh ubuntu@172.31.60.215 /home/ubuntu/apache-tomcat-8.5.70/bin/shutdown.sh
27
+ ssh ubuntu@172.31.60.215 /home/ubuntu/apache-tomcat-8.5.70/bin/startup.sh
28
+ """
29
+}
30
31
32
+ }
33
34
35
36
37
0 commit comments