Thank you for your hint but yes I'm using that template. The new code was 
just something I got from stackoverflow and added to the existing 
static-analysis.

As you can see that part of the code also showing null data.

But then I found out how to reproduce it consistently. The data only shows 
up with Free style project. It doesn't show up for Maven2/3 project.

Wonder if this issue is new?


On Tuesday, September 25, 2012 4:50:53 PM UTC-7, Hung Huynh wrote:
>
> 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
>
>

Reply via email to