Skip to content

Commit

Permalink
Create deploy-to-tomcat
Browse files Browse the repository at this point in the history
  • Loading branch information
javahometech authored Apr 18, 2018
1 parent 9fed35f commit 488355a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions deploy-to-tomcat
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
node{

stage('SCM Checkout'){
git 'https://github.com/javahometech/my-app'
}
stage('Compile-Package'){
// Get maven home path
def mvnHome = tool name: 'maven-3', type: 'maven'
sh "${mvnHome}/bin/mvn package"
}

}

0 comments on commit 488355a

Please sign in to comment.