1
0

Update Jenkinsfile

This commit is contained in:
Andrea Cavalli 2020-10-04 18:42:26 +02:00
parent e39c2779e1
commit 03140d5dab

4
Jenkinsfile vendored
View File

@ -25,8 +25,8 @@ pipeline {
dockerfile {
dir 'jenkins/docker'
filename 'dockerfile'
additionalBuildArgs '--build-arg version=1.0.0 --build-arg UID=$(id -u) --build-arg GID=$(id -g) --build-arg UNAME=jenkins'
args "-v \"${env.WORKSPACE}/tdlight-java/src/main:/home/jenkins/output\" -v \"${env.WORKSPACE}/.m2:/home/jenkins/.m2\" -v \"${env.WORKSPACE}/.ccache:/home/jenkins/.ccache\" -v \"${env.WORKSPACE}:/home/jenkins/work\""
additionalBuildArgs '--build-arg version=1.0.0 --build-arg UID=1000 --build-arg GID=1000 --build-arg UNAME=jenkins'
args "-v \"${workspace}/tdlight-java/src/main:/home/jenkins/output\" -v \"${workspace}/.m2:/home/jenkins/.m2\" -v \"${workspace}/.ccache:/home/jenkins/.ccache:rw\" -v \"${workspace}:/home/jenkins/work\""
reuseNode false
}
}