1
0

Update Jenkinsfile and dockerfile

This commit is contained in:
Andrea Cavalli 2020-10-04 18:10:14 +02:00
parent 3d6bd59f55
commit fd9aa3a17e
2 changed files with 2 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -26,7 +26,7 @@ pipeline {
dir 'jenkins/docker'
filename 'dockerfile'
additionalBuildArgs '--build-arg version=1.0.0'
args "--user 1000:1000 -v \"${env.WORKSPACE}/tdlight-java/src/main:/output\" -v \"$HOME:/var/maven\" -v \"$HOME/.ccache:/work/ccache\""
args "--user 1000:1000 -v \"${env.WORKSPACE}/tdlight-java/src/main:/output\" -v \"$HOME:/var/maven\" -v \"$HOME/.ccache:/ccache\" -v \"${env.WORKSPACE}:/work\""
reuseNode false
}
}

View File

@ -32,7 +32,7 @@ RUN mkdir /output
WORKDIR /work
ENV CCACHE_DIR=/work/ccache
ENV CCACHE_DIR=/ccache
ENV JAVA_HOME=/usr/lib/jvm/zulu-15-amd64