From 0e96ad62bb213682212a93cba5b4cc961614653a Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Thu, 10 Oct 2019 09:41:50 +1000 Subject: [PATCH] Fix CI permissions, again --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 63b73843..eb0b820c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -354,7 +354,7 @@ pipeline { always { // Revert ownership sh 'echo Reverting ownership' - sh 'docker run --rm -v ${CWD}:/project ${DOCKER_CI_TOOLS} chown -R $(id -u):$(id -g) /project' + sh 'docker run --rm -v $(pwd):/project ${DOCKER_CI_TOOLS} chown -R $(id -u):$(id -g) /project' } } }