diff --git a/Jenkinsfile b/Jenkinsfile index 59283cb..6130746 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,7 +39,7 @@ pipeline { dir 'jenkins/docker' filename 'dockerfile' 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\"" + args "-v \"${workspace}/tdlight-java/src/main:/home/jenkins/output\" -v \"/var/jenkins_cache/.m2:/home/jenkins/.m2\" -v \"/var/jenkins_cache/.ccache:/home/jenkins/.ccache:rw\" -v \"${workspace}:/home/jenkins/work\"" reuseNode false } }