The original template contains not the same code. Where did you get the code from? Your example will not work, please use:
https://github.com/jenkinsci/email-ext-plugin/blob/master/src/main/resources/hudson/plugins/emailext/templates/static-analysis.jelly Does that work better? Ulli Am 26.09.2012 um 01:50 schrieb Hung Huynh <[email protected]>: > Hello, > > I'm using the static-analysis template but there's no data is output in the > email. (see screen shot http://imgur.com/jGFtl) > > I've also added a piece of code to extract FindBugs result only with no luck: > > <div class="content"> > <h1>Findbugs Results</h1> > <j:set var="fb" > value="${it.getAction('hudson.plugins.findbugs.FindBugsResultAction')}" /> > <table width="100%"> > <tr><td colspan="2"><b>Findbugs Result</b></td></tr> > <tr><td>Result:</td><td>${fb.result.pluginResult}</td></tr> > <tr><td>Total:</td><td>${fb.result.numberOfWarnings}</td></tr> > > <tr><td>Fixed:</td><td>${fb.result.numberOfFixedWarnings}</td></tr> > <tr><td>New:</td><td>${fb.result.numberOfNewWarnings}</td></tr> > <tr><td colspan="2"><a > href="${rooturl}${build.url}/findbugs">View Report</a></td></tr> > </table> > </div> > > Anybody has an idea of what might be wrong? > > Thank you, > > Hung >
