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