mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 14:55:50 +00:00
added jenkinsfile
This commit is contained in:
parent
12eb8b1ff3
commit
637ead886a
1 changed files with 19 additions and 0 deletions
19
jenkinsfile
Normal file
19
jenkinsfile
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
tools {
|
||||||
|
maven 'maven9'
|
||||||
|
}
|
||||||
|
stages {
|
||||||
|
stage('SCM') {
|
||||||
|
steps {
|
||||||
|
git url: 'https://github.com/Tejadeepc/spring-petclinic.git',
|
||||||
|
branch: 'main'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('BUILD') {
|
||||||
|
steps {
|
||||||
|
sh 'mvn --version'
|
||||||
|
sh 'mvn validate'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} }
|
Loading…
Reference in a new issue