mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:55:49 +00:00
Merge b8f11381e9
into 8b8304fa25
This commit is contained in:
commit
4fb83b1449
1 changed files with 23 additions and 0 deletions
23
Jenkins
Normal file
23
Jenkins
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
pipeline {
|
||||||
|
agent { label 'MAVEN' }
|
||||||
|
options {
|
||||||
|
timeout(time: 30, unit: 'MINUTES')
|
||||||
|
}
|
||||||
|
triggers {
|
||||||
|
pollSCM('* * * * *')
|
||||||
|
}
|
||||||
|
stages {
|
||||||
|
stage('git') {
|
||||||
|
steps {
|
||||||
|
git url: 'https://github.com/dhille98/spring-petclinic.git' ,
|
||||||
|
branch: 'dev'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('build') {
|
||||||
|
steps {
|
||||||
|
sh 'mvn clean package'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue