Jenkin File Change

This commit is contained in:
Thilakraj Kannadajeddu Mahabala 2019-06-10 16:42:38 +05:30
parent b0babd0f9f
commit db214469ea

12
Jenkinsfile vendored
View file

@ -4,10 +4,14 @@ node {
stage('Checkout') {
git 'https://github.com/ThilakrajKM/spring-petclinic'
}
stage('Build') {
sh 'mvn clean package'
}
stage('Build'){
def mvn_version = 'M3'
withEnv( ["PATH+MAVEN=${tool mvn_version}/bin"] ) {
sh "mvn clean package"
}
}
stage('Archive') {
junit allowEmptyResults: true, testResults: '**/target/**/TEST*.xml'