Skip to content

Commit

Permalink
Update Myjenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
DilunaChathuranga authored Oct 9, 2021
1 parent 2d97f0a commit 7b91ac3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Myjenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ node{
git 'https://github.com/DilunaChathuranga/my-app'
}
stage('Compile-Package'){
sh 'mvn package'
def mvnHome=tool name: 'maven-3', type: 'maven'
sh "${mvnHome}/bin/mvn package"
}
}

0 comments on commit 7b91ac3

Please sign in to comment.