-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Minor
-
Component/s: pipeline
-
Environment: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
-