Update Jenkinsfile and dockerfile
This commit is contained in:
parent
3d6bd59f55
commit
fd9aa3a17e
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user