Skip to content

Commit 8703696

Browse files
authored
Update Jenkinsfile
1 parent 0bf845c commit 8703696

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ node{
33
stage('code'){
44
git branch: 'development', url: 'https://github.com/LandmakTechnology/web-app'
55
}
6-
stage('BUILD'){
6+
stage('BUILD'){
77
sh "${MHD}/bin/mvn clean package"
88

99
}
1010
/*
1111
stage('deploy'){
1212
sshagent(['tomcat']) {
13-
//sh "scp -o StrictHostKeyChecking=no target/*war ec2-user@172.31.15.31:/opt/tomcat9/webapps/"
13+
sh "scp -o StrictHostKeyChecking=no target/*war ec2-user@172.31.15.31:/opt/tomcat9/webapps/"
1414
}
1515
}
1616
stage('email'){

0 commit comments

Comments
 (0)