mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 22:35:49 +00:00
Jenkin File Change
This commit is contained in:
parent
b0babd0f9f
commit
db214469ea
1 changed files with 8 additions and 4 deletions
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue