Use PWD as the home directory by default

This should avoid issues like UID 1000 (Jenkins agent) trying to write to /.npm
in the container which would be owned as root
This commit is contained in:
R. Tyler Croy 2017-09-10 10:26:39 -07:00
parent 2c4f0aa986
commit eefce031fe
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 4 additions and 0 deletions

4
Jenkinsfile vendored
View File

@ -8,6 +8,10 @@ pipeline {
buildDiscarder(logRotator(numToKeepStr: '5'))
}
environment {
HOME = '$PWD'
}
stages {
stage('Build') {
steps {