Update Jenkinsfile and dockerfile
This commit is contained in:
parent
934e8551ee
commit
2d89aee098
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -26,7 +26,7 @@ pipeline {
|
||||
dir 'jenkins/docker'
|
||||
filename 'dockerfile'
|
||||
additionalBuildArgs '--build-arg version=1.0.0'
|
||||
args "-v \"${env.WORKSPACE}/tdlight-java/src/main:/output\" -v \"$HOME:/var/maven\" -v \"${env.WORKSPACE}/.ccache:/ccache\" -v \"${env.WORKSPACE}:/work\""
|
||||
args "-v \"${env.WORKSPACE}/tdlight-java/src/main:/output\" -v \"$HOME:/var/maven\" -v \"${env.WORKSPACE}:/work\""
|
||||
reuseNode false
|
||||
}
|
||||
}
|
||||
|
@ -30,11 +30,9 @@ RUN mkdir /work
|
||||
|
||||
RUN mkdir /output
|
||||
|
||||
RUN mkdir /ccache
|
||||
|
||||
WORKDIR /work
|
||||
|
||||
ENV CCACHE_DIR=/ccache
|
||||
ENV CCACHE_DIR=/work/ccache
|
||||
|
||||
ENV JAVA_HOME=/usr/lib/jvm/zulu-15-amd64
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user