[FIXED HUDSON-7717] Killing process tree does not work anymore on slave nodes.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35651 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
swiest committed 2010-10-08 12:54:30 +00:00
1 parent 49d1b7830b
commit fa6bb59867
1 file changed
+1 -1
+1 -1
View File
@@ -1707,7 +1707,7 @@ public abstract class Run <JobT extends Job<JobT,RunT>,RunT extends Run<JobT,Run
*/
public final EnvVars getCharacteristicEnvVars() {
EnvVars env = new EnvVars();
env.put("HUDSON_COOKIE",Util.getDigestOf("ServerID:"+Hudson.getInstance().getSecretKey()));
env.put("HUDSON_SERVER_COOKIE",Util.getDigestOf("ServerID:"+Hudson.getInstance().getSecretKey()));
env.put("BUILD_NUMBER",String.valueOf(number));
env.put("BUILD_ID",getId());
env.put("BUILD_TAG","hudson-"+getParent().getName()+"-"+number);