[FIXED HUDSON-6311] (actually, this change went in as rev.30287, but I'm testing if the issue update is working again)

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30290 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2010-04-21 07:07:55 +00:00
1 parent e57e27dafd
commit d21407be4f
1 file changed
+1
+1
View File
@@ -1646,6 +1646,7 @@ public abstract class Run <JobT extends Job<JobT,RunT>,RunT extends Run<JobT,Run
env.put("BUILD_URL", rootUrl+getUrl());
env.put("JOB_URL", rootUrl+getParent().getUrl());
}
if(!env.containsKey("HUDSON_HOME"))
env.put("HUDSON_HOME", Hudson.getInstance().getRootDir().getPath() );