mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:25:49 +00:00
Jenkin File Change
This commit is contained in:
parent
b0babd0f9f
commit
db214469ea
1 changed files with 8 additions and 4 deletions
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
|
@ -5,8 +5,12 @@ node {
|
||||||
git 'https://github.com/ThilakrajKM/spring-petclinic'
|
git 'https://github.com/ThilakrajKM/spring-petclinic'
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Build') {
|
stage('Build'){
|
||||||
sh 'mvn clean package'
|
|
||||||
|
def mvn_version = 'M3'
|
||||||
|
withEnv( ["PATH+MAVEN=${tool mvn_version}/bin"] ) {
|
||||||
|
sh "mvn clean package"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Archive') {
|
stage('Archive') {
|
||||||
|
|
Loading…
Reference in a new issue