Using the following Jenkinsfile:
#!/usr/bin/env groovy
pipeline {
agent any
stages {
stage('Deploy') {
steps {
sh 'echo $HOME'
}
}
}
}
And I get $HOME == /var/www
Why isn't it being "/home/www-data"? By the way, I am running Jenkins under
the user www-data.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/9d6a403a-3072-47b0-90f9-8e470ff59c40%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.