-
Bug
-
Resolution: Duplicate
-
Minor
-
Jenkins 2.73.3 on Linux
If I run a pipline that contains:
node('some-machine') {
checkout scm
sh(script 'env')
}
I expect the checkout scm and the script to be passed the environment variables I defined in the machine configuration (Node properties > Environment variables in http://hostname/jenkins/computer/some-machine/configure), as that is passed to the Git Plugin and non-pipeline jobs. Not having this causes problems on some machines (in my case I can't run git through the pipeline)
- duplicates
-
JENKINS-44465 Regression: pipeline does not see Node Properties overrides
- Resolved