diff --git a/src/main/resources/org/jenkinsci/plugins/workflow/cps/EnvActionImpl/Binder/help.jelly b/src/main/resources/org/jenkinsci/plugins/workflow/cps/EnvActionImpl/Binder/help.jelly index 05fd5330c..37f3ef910 100644 --- a/src/main/resources/org/jenkinsci/plugins/workflow/cps/EnvActionImpl/Binder/help.jelly +++ b/src/main/resources/org/jenkinsci/plugins/workflow/cps/EnvActionImpl/Binder/help.jelly @@ -2,8 +2,8 @@

- Environment variables are accessible from Groovy code as env.VARNAME. - You can write to such properties as well: + Environment variables are accessible from Groovy code as env.VARNAME or simply as VARNAME. + You can write to such properties as well (only using the env. prefix):

env.MYTOOL_VERSION = '1.33'
@@ -44,7 +44,7 @@ node {
     

mail to: 'devops@acme.com',
-    subject: "Job '$${env.JOB_NAME}' ($${env.BUILD_NUMBER}) is waiting for input",
-    body: "Please go to $${env.BUILD_URL} and verify the build"
+ subject: "Job '$${JOB_NAME}' ($${BUILD_NUMBER}) is waiting for input", + body: "Please go to $${BUILD_URL} and verify the build"