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