Update the email-ext plugin. You're using a version at least 2.5 years out of 
date.


> On 18.11.2016, at 13:58, Vinod Kumar <[email protected]> wrote:
> 
> Hi All,
> 
> I'm using below html code with ${TEST_COUNTS,...} and i get the exception in 
> console with out any email.Something i'm missing?
> 
> ERROR: Step ‘Editable Email Notification’ aborted due to exception: 
> 
> java.lang.NoSuchMethodError
> : 
> hudson.model.AbstractBuild.getTestResultAction()Lhudson/tasks/test/AbstractTestResultAction;
>       at 
> hudson.plugins.emailext.plugins.content.TestCountsContent.getContent(TestCountsContent.java:56)
> 
> 
> 
> 
> <font face="Calibri (Body)" color="DarkBlue" size="3" 
> class="normal">XXXXAutomation Test Results Report.</font><br>
> 
> <font face="Calibri (Body)" color="DarkBlue" size="3" 
> class="normal">${TEST_COUNTS,var="fail"}</font><br>
> <font face="Calibri (Body)" color="DarkBlue" size="3" 
> class="normal">${TEST_COUNTS,var="pass"}</font><br>
> <html>
> <head>
> <title>HTML Table Header</title>
> </head>
> <body>
> <table border="1">
> <tr>
> <th>Name</th>
> <th>Salary</th>
> </tr>
> <tr>
> <td>Ramesh Raman</td>
> <td>test2</td>
> </tr>
> <tr>
> <td>Shabbir Hussein</td>
> <td>test</td>
> </tr>
> </table>
> </body>
> </html>
> 
> 
> <br>
> <br>                                                                          
>                                                                               
>                                            
> <font face="Calibri (Body)" color="DarkBlue" size="3" class="normal">Attached 
> the Execution Results and below is the Build info and URL.</font>
> <br>
> <br>
>                                                                               
>                                      
> <font face="Calibri (Body)" color="DarkBlue" size="3" 
> class="normal">$DEFAULT_CONTENT</font>
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/54517020-f1a2-4e19-ac1c-d97cbe6977ca%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/2D67EEF1-12EF-419C-98A2-9FF1B396A5E6%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to