From 1537c16c377e00d368c9d7c1938d461ca2aebe08 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Tue, 15 Apr 2008 00:53:36 +0000 Subject: [PATCH] clarified the docs. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8596 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/EnvVars.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/core/src/main/java/hudson/EnvVars.java b/core/src/main/java/hudson/EnvVars.java index 1b1cb78007..a9af87e74a 100644 --- a/core/src/main/java/hudson/EnvVars.java +++ b/core/src/main/java/hudson/EnvVars.java @@ -94,6 +94,15 @@ public class EnvVars extends TreeMap { /** * Environmental variables that we've inherited. + * + *

+ * Despite what the name might imply, this is the environment variable + * of the current JVM process. And therefore, it is Hudson master's environment + * variables only when you access this from the master. + * + *

+ * If you access this field from slaves, then this is the environment + * variable of the slave agent. */ public static final Map masterEnvVars = new EnvVars(System.getenv()); }