diff --git a/Jenkinsfile b/Jenkinsfile index 84a39ee..a600dec 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,10 +26,10 @@ pipeline { sh "chown 1000:1000 -R \"/var/jenkins_cache/.m2\"" sh "mkdir -p \"/var/jenkins_cache/.ccache\"" sh "chown 1000:1000 -R \"/var/jenkins_cache/.ccache\"" - sh "mkdir -p \"/var/jenkins_cache/work\"" - sh "chown 1000:1000 -R \"/var/jenkins_cache/work\"" - sh "mkdir -p \"/var/jenkins_cache/output\"" - sh "chown 1000:1000 -R \"/var/jenkins_cache/output\"" + sh "mkdir -p \"${workspace}/work\"" + sh "chown 1000:1000 -R \"${workspace}/work\"" + sh "mkdir -p \"${workspace}/output\"" + sh "chown 1000:1000 -R \"${workspace}/output\"" } }