mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 15:25:49 +00:00
Update jenkinsfiles
This commit is contained in:
parent
0da7855d00
commit
05630ecab7
1 changed files with 7 additions and 6 deletions
13
jenkinsfiles
13
jenkinsfiles
|
@ -10,12 +10,13 @@ pipeline {
|
||||||
steps {git url: 'https://github.com/spring-projects/spring-petclinic.git',branch: 'main'
|
steps {git url: 'https://github.com/spring-projects/spring-petclinic.git',branch: 'main'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
stage('build'){
|
stage('build'){
|
||||||
steps {
|
steps {
|
||||||
sh 'mvn clean package'
|
sh 'mvn clean package'
|
||||||
junit testResults: '**/surefire-reports/*_xml'
|
junit testResults: '**/surefire-reports/*_xml'
|
||||||
archive '**/target/spring-petclinic-*.jar'
|
archive '**/target/spring-petclinic-*.jar'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue