String subject = compileJelly(context,
"result_email_subject.jelly");
context = new JellyContext();
context.setVariable("subject", subject);
context.setVariable("preamble", env.expand(preamble));
context.setVariable("master", master);
context.setVariable("links", links);
context.setVariable("rootURL", Hudson.getInstance().getRootUrl());
String body = compileJelly(context,
"result_email_body.jelly");