Update Jenkinsfile

This commit is contained in:
Andrea Cavalli 2020-10-07 12:09:53 +02:00
parent c9acac2a8b
commit 04166764a4

7
Jenkinsfile vendored
View File

@ -7,9 +7,6 @@ pipeline {
JAVA_TOOL_OPTIONS = '-Duser.home=/var/maven'
}
agent any
triggers {
pollSCM "* * * * *"
}
options {
timestamps()
ansiColor("xterm")
@ -23,7 +20,7 @@ pipeline {
stage("Build & Deploy SNAPSHOT") {
agent {
docker {
image 'maven:3.6.3'
image 'maven:3.6.3-openjdk-11'
args '-v $HOME:/var/maven'
reuseNode true
}
@ -36,7 +33,7 @@ pipeline {
stage("Release") {
agent {
docker {
image 'maven:3.6.3'
image 'maven:3.6.3-openjdk-11'
args '-v $HOME:/var/maven'
reuseNode true
}