-
New Feature
-
Resolution: Fixed
-
Minor
It would be useful and natural to be able to use env.NODE_NAME inside a node.
Currently. the following code results in null:
node('myNode') { echo "My name is ${env.NODE_NAME}" }
Perhaps ExecutorStepExecution should define NODE_NAME for use by steps inside node.
- is blocking
-
JENKINS-27145 Advertise available environment variables
-
- Resolved
-
- is related to
-
JENKINS-28182 Revisit use of $JENKINS_SERVER_COOKIE and Launcher.kill
-
- Resolved
-
-
JENKINS-31391 Environment variable EXECUTOR_NUMBER should be usable inside node{} block
-
- Closed
-
Code changed in jenkins
User: recena
Path:
cps/src/main/resources/org/jenkinsci/plugins/workflow/cps/EnvActionImpl/Binder/help.jelly
support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/ExecutorStepExecution.java
http://jenkins-ci.org/commit/workflow-plugin/535400df863aa3e297bee6d7a2c51c62b5d32ccc
Log:
JENKINS-28131- Pass NODE_NAME into node{}