mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-18 05:25:50 +00:00
use docker agent with maven 3.3
This commit is contained in:
parent
75ca03794e
commit
faf1094bfe
1 changed files with 6 additions and 1 deletions
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
@ -1,5 +1,10 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent
|
||||||
|
docker {
|
||||||
|
image 'maven:3-alpine'
|
||||||
|
label 'my-defined-label'
|
||||||
|
args '-v /tmp:/tmp'
|
||||||
|
}
|
||||||
tools {
|
tools {
|
||||||
maven 'Maven'
|
maven 'Maven'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue