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
<http://stacktrace.jenkins-ci.org/search?query=java.lang.NoSuchMethodError>:
hudson.model.AbstractBuild.getTestResultAction()Lhudson/tasks/test/AbstractTestResultAction;
at
hudson.plugins.emailext.plugins.content.TestCountsContent.getContent(TestCountsContent.java:56)
<http://stacktrace.jenkins-ci.org/search/?query=hudson.plugins.emailext.plugins.content.TestCountsContent.getContent&entity=method>
<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.