mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-25 01:05:48 +00:00
added .groovy file
This commit is contained in:
parent
08c9ff37c6
commit
0e135e30ea
1 changed files with 18 additions and 0 deletions
18
vars/jenkinsfile.groovy
Normal file
18
vars/jenkinsfile.groovy
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
def call() {
|
||||||
|
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