mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-25 09:05:50 +00:00
added jenkinsfile
This commit is contained in:
parent
f48227aea0
commit
51592a96dd
1 changed files with 16 additions and 0 deletions
16
jenkinsfile
Normal file
16
jenkinsfile
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
pipeline {
|
||||||
|
agent { label 'JDK-11' }
|
||||||
|
stages {
|
||||||
|
stage('clone') {
|
||||||
|
steps {
|
||||||
|
git url: 'https://github.com/GUDAPATIVENKATESH/spring-petclinic.git',
|
||||||
|
branch: 'main'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('build') {
|
||||||
|
steps {
|
||||||
|
sh 'mvn package'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue