title: How to write testng report into html.jelly?
body: <p>I use email-ext-plugin to generate report in hudson, and check the templete html.jelly in $HUDSON_ROOM\plugins\email-ext\WEB-INF\classes\hudson\plugins\emailext\templates\html.jelly, but i don't how to add the testng testing result into this jelly file.</p>
  
  <p>the junit script in html.jelly, could someone know the script meaning for example, what's the meaning of it.JUnitTestResult? where the "it" object variable come from?</p>
  
  <pre><code>&lt;j:set var="junitResultList" value="${it.JUnitTestResult}" /&gt;
  &lt;j:if test="${junitResultList.isEmpty()!=true}"&gt;
    &lt;TABLE width="100%"&gt;
      &lt;TR&gt;&lt;TD class="bg1" colspan="2"&gt;&lt;B&gt;JUnit Tests&lt;/B&gt;&lt;/TD&gt;&lt;/TR&gt;
      &lt;j:forEach var="junitResult" items="${it.JUnitTestResult}"&gt;
        &lt;j:forEach var="packageResult" items="${junitResult.getChildren()}"&gt;
          &lt;TR&gt;&lt;TD class="bg2" colspan="2"&gt; Name: ${packageResult.getName()} Failed: ${packageResult.getFailCount()} test(s), Passed: ${packageResult.getPassCount()} test(s), Skipped: ${packageResult.getSkipCount()} test(s), Total: ${packageResult.getPassCount()+packageResult.getFailCount()+packageResult.getSkipCount()} test(s)&lt;/TD&gt;&lt;/TR&gt;
          &lt;j:forEach var="failed_test" items="${packageResult.getFailedTests()}"&gt;
            &lt;TR bgcolor="white"&gt;&lt;TD class="test_failed" colspan="2"&gt;&lt;B&gt;&lt;li&gt;Failed: ${failed_test.getFullName()} &lt;/li&gt;&lt;/B&gt;&lt;/TD&gt;&lt;/TR&gt;
          &lt;/j:forEach&gt;
        &lt;/j:forEach&gt; 
      &lt;/j:forEach&gt;  
    &lt;/TABLE&gt;  
  &lt;BR/&gt;
  &lt;/j:if&gt;
  </code></pre>