mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-18 13:35:50 +00:00
Added Jenkinsfile for pipelining.
This commit is contained in:
parent
49d729e3cd
commit
fbaab781de
1 changed files with 19 additions and 0 deletions
19
Jenkinsfile
vendored
Normal file
19
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
pipeline {
|
||||||
|
environment {
|
||||||
|
}
|
||||||
|
|
||||||
|
tools {
|
||||||
|
maven 'Maven 3.5.0'
|
||||||
|
}
|
||||||
|
|
||||||
|
agent none
|
||||||
|
|
||||||
|
stages {
|
||||||
|
stage('Build, Test, and Package') {
|
||||||
|
agent any
|
||||||
|
steps {
|
||||||
|
sh "mvn clean package"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue