1
0

Update Jenkinsfile

This commit is contained in:
Andrea Cavalli 2020-10-07 01:19:23 +02:00
parent b60b993967
commit 571f4ef0ee

6
Jenkinsfile vendored
View File

@ -51,7 +51,7 @@ pipeline {
stage("Build & Deploy SNAPSHOT") { stage("Build & Deploy SNAPSHOT") {
agent { agent {
docker { docker {
image 'maven:3.6.3' image 'maven:3.6.3-openjdk-11'
args '-v $HOME:/var/maven' args '-v $HOME:/var/maven'
reuseNode true reuseNode true
} }
@ -64,7 +64,7 @@ pipeline {
stage("Release") { stage("Release") {
agent { agent {
docker { docker {
image 'maven:3.6.3' image 'maven:3.6.3-openjdk-11'
args '-v $HOME:/var/maven' args '-v $HOME:/var/maven'
reuseNode true reuseNode true
} }
@ -79,7 +79,7 @@ pipeline {
stage('Deliver') { stage('Deliver') {
agent { agent {
docker { docker {
image 'maven:3.6.3' image 'maven:3.6.3-openjdk-11'
args '-v $HOME:/var/maven' args '-v $HOME:/var/maven'
reuseNode true reuseNode true
} }