Skip to content
Browse files
Merge pull request #153 from jglick/doc-JENKINS-26100
[JENKINS-26100] Updating documentation
  • Loading branch information
jglick committed Jun 30, 2017
2 parents b789915 + 1a69342 commit 2e9b83495d9aa91dca4479f03c35daaeb275b22f
Showing with 3 additions and 7 deletions.
  1. +3 −7 src/main/resources/org/jenkinsci/plugins/workflow/cps/EnvActionImpl/Binder/help.jelly
@@ -23,8 +23,7 @@ node {
A set of environment variables are made available to all Jenkins projects, including Pipelines.
The following is a general list of variables (by name) that are available;
see the notes below the list for Pipeline-specific details.
The following is a general list of variable names that are available.
<!-- Cf. EnvironmentContributor/EnvVarsHtml/index.groovy -->
<dl class="env-vars">
@@ -33,12 +32,9 @@ node {
The following variables are currently unavailable inside a Pipeline script:
SCM-specific variables such as <code>GIT_COMMIT</code> are not automatically defined as environment variables;
rather you can use the return value of the <code>checkout</code> step.
<!-- TODO when JENKINS-24141 fixed: SCM.all().each { e -> st.include(class:e.clazz, page:"buildEnv", optional:true) } -->
<li>SCM-specific variables such as <code>SVN_REVISION</code></li>
As an example of loading variable values from Groovy:

0 comments on commit 2e9b834

Please sign in to comment.