mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:25:49 +00:00
Add Jenkinsfile
This commit is contained in:
parent
8ed6b491b3
commit
c1af0c0c9d
1 changed files with 15 additions and 0 deletions
15
Jenkinsfile
vendored
Normal file
15
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
pipeline {
|
||||||
|
agent {
|
||||||
|
docker {
|
||||||
|
image 'maven:3.6.1-alpine'
|
||||||
|
args '-v /root/.m2:/root/.m2'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stages {
|
||||||
|
stage('Build') {
|
||||||
|
steps {
|
||||||
|
sh 'mvn -B -DskipTests clean install'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue