-
New Feature
-
Resolution: Fixed
-
Major
People often confuse Groovy variables with environment variables and do not grasp how to access the latter from outside a forked process.
CpsScript.getProperty ought to fall back to EnvActionImpl.getProperty as a convenience, so that you can access environment variables from a script as PROP_NAME in addition to env.PROP_NAME.
- is related to
-
JENKINS-29951 Supported way to get all defined environment variables
-
- Open
-
-
JENKINS-27295 Boolean parameters injected as String
-
- Resolved
-
-
JENKINS-30910 Job parameters should be exposed as environment variables
-
- Resolved
-
- relates to
-
JENKINS-33353 Document existence of steps global variable
-
- Open
-
- links to
Code changed in jenkins
User: Jesse Glick
Path:
src/main/resources/org/jenkinsci/plugins/workflow/cps/EnvActionImpl/Binder/help.jelly
http://jenkins-ci.org/commit/workflow-cps-plugin/35a074c683b757b90cf651a1e37f19c66eed4421
Log:
JENKINS-29952Updated documentation.