mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
Changes are made as much as possible
This commit is contained in:
parent
db214469ea
commit
719c74b409
1 changed files with 9 additions and 6 deletions
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
|
@ -1,20 +1,23 @@
|
|||
node {
|
||||
|
||||
|
||||
tools{
|
||||
maven "Maven-3.3.9"
|
||||
jdk "JAVA_HOME"
|
||||
|
||||
}
|
||||
stage('Checkout') {
|
||||
git 'https://github.com/ThilakrajKM/spring-petclinic'
|
||||
|
||||
}
|
||||
|
||||
stage('Build'){
|
||||
|
||||
def mvn_version = 'M3'
|
||||
withEnv( ["PATH+MAVEN=${tool mvn_version}/bin"] ) {
|
||||
sh "mvn clean package"
|
||||
}
|
||||
sh "mvn clean package"
|
||||
|
||||
}
|
||||
|
||||
stage('Archive') {
|
||||
junit allowEmptyResults: true, testResults: '**/target/**/TEST*.xml'
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue