mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:55:49 +00:00
Merge 02765e672a
into 8b8304fa25
This commit is contained in:
commit
96ccd7ef8f
1 changed files with 46 additions and 0 deletions
46
jenkinsfile
Normal file
46
jenkinsfile
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
pipeline {
|
||||||
|
|
||||||
|
agent any
|
||||||
|
|
||||||
|
options {
|
||||||
|
|
||||||
|
timeout(time: 10, unit: 'MINUTES')
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
triggers {
|
||||||
|
|
||||||
|
pollSCM('* * * * *')
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
stages {
|
||||||
|
|
||||||
|
stage('git') {
|
||||||
|
|
||||||
|
steps {
|
||||||
|
|
||||||
|
git url: 'https://github.com/vi-source/spring-petclinic-jenkins-free.git',
|
||||||
|
|
||||||
|
branch: 'dev'
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
stage('build') {
|
||||||
|
|
||||||
|
steps {
|
||||||
|
|
||||||
|
sh 'mvn --version'
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue