Changes are made as much as possible

This commit is contained in:
Thilakraj Kannadajeddu Mahabala 2019-06-10 16:50:46 +05:30
parent db214469ea
commit 719c74b409

11
Jenkinsfile vendored
View file

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