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>