From 16b59df3014ea03ab8a2eecdb010756153bcc611 Mon Sep 17 00:00:00 2001 From: Gavin Mogan Date: Thu, 18 Nov 2021 12:11:40 -0800 Subject: [PATCH] force HOME to be set to workspace so npm commands can run (#18) --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index 8522ec1..73aa4de 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -34,6 +34,7 @@ def runDockerCommand(image, cmd) { -w "\$PWD" \ -v "\$PWD:\$PWD" \ -u \$(id -u):\$(id -g) \ + -e \"HOME=$WORKSPACE\" \ $image \ $cmd """