Skip to content

Commit

Permalink
force HOME to be set to workspace so npm commands can run (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
halkeye authored Nov 18, 2021
1 parent 4753883 commit 16b59df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def runDockerCommand(image, cmd) {
-w "\$PWD" \
-v "\$PWD:\$PWD" \
-u \$(id -u):\$(id -g) \
-e \"HOME=$WORKSPACE\" \
$image \
$cmd
"""
Expand Down

0 comments on commit 16b59df

Please sign in to comment.