Test_Count exception in Editable email notification

96 views
Skip to first unread message

Vinod Kumar

unread,
Nov 18, 2016, 7:58:26 AM11/18/16
to Jenkins Users
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>

Daniel Beck

unread,
Nov 18, 2016, 8:07:33 AM11/18/16
to jenkins...@googlegroups.com
Update the email-ext plugin. You're using a version at least 2.5 years out of date.
> --
> 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 jenkinsci-use...@googlegroups.com.
> 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.

Vinod Kumar

unread,
Nov 19, 2016, 11:37:04 AM11/19/16
to jenkins...@googlegroups.com
Thanks Daniel.It worked.

> To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/px7OpiyTN7Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2D67EEF1-12EF-419C-98A2-9FF1B396A5E6%40beckweb.net.
Reply all
Reply to author
Forward
0 new messages