mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 18:55:49 +00:00
Declarative jenkinsfile
This commit is contained in:
parent
9ecdc1111e
commit
b4347e2be4
1 changed files with 17 additions and 0 deletions
17
Jenkinsfile
vendored
Normal file
17
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
pipeline {
|
||||||
|
agent { label 'Master'}
|
||||||
|
triggers { pollSCM('* * * * *') }
|
||||||
|
stages{
|
||||||
|
stage('vcs') {
|
||||||
|
steps {
|
||||||
|
git branch: 'master',
|
||||||
|
url: 'https://github.com/Bharatkumar5690/spring-petclinic.git'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Build') {
|
||||||
|
steps {
|
||||||
|
sh 'mvn package'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue