1
0

Update Jenkinsfile

This commit is contained in:
Andrea Cavalli 2020-10-03 15:18:39 +02:00
parent 6e40e20129
commit 0766bc196c

11
Jenkinsfile vendored
View File

@ -7,16 +7,7 @@ pipeline {
JAVA_TOOL_OPTIONS = '-Duser.home=/var/maven' JAVA_TOOL_OPTIONS = '-Duser.home=/var/maven'
} }
agent { agent {
docker { any
image 'maven:3.6.3'
args '-v $HOME:/var/maven'
reuseNode true
}
docker {
image 'dockcross/linux-x64'
args '-v $JAVA_HOME:/java'
reuseNode true
}
} }
triggers { triggers {
pollSCM "* * * * *" pollSCM "* * * * *"