Jelly is the way to add more information to notifications email of jenkins (using Email-ext plugin)
Here are some examples:
Text template
HTML template
Project description:
<j:jelly
xmlns:j = "jelly:core"
xmlns:st = "jelly:stapler"
xmlns:d = "jelly:define">
${project.description}
</j:jelly>
Failed tests:
<j:jelly
xmlns:j = "jelly:core"
xmlns:st = "jelly:stapler"
xmlns:d = "jelly:define">
<ul>
<j:forEach
var = "junitResult"
items = "${it.JUnitTestResult}">
<j:forEach
var = "packageResult"
items = "${junitResult.getChildren()}">
<j:forEach
var = "failed_test"
items = "${packageResult.getFailedTests()}">
<li>${failed_test.getFullName()}</li>
</j:forEach>
</j:forEach>
</j:forEach>
</ul>
</j:jelly>
Here are some examples:
Text template
HTML template
Project description:
<j:jelly
xmlns:j = "jelly:core"
xmlns:st = "jelly:stapler"
xmlns:d = "jelly:define">
${project.description}
</j:jelly>
Failed tests:
<j:jelly
xmlns:j = "jelly:core"
xmlns:st = "jelly:stapler"
xmlns:d = "jelly:define">
<ul>
<j:forEach
var = "junitResult"
items = "${it.JUnitTestResult}">
<j:forEach
var = "packageResult"
items = "${junitResult.getChildren()}">
<j:forEach
var = "failed_test"
items = "${packageResult.getFailedTests()}">
<li>${failed_test.getFullName()}</li>
</j:forEach>
</j:forEach>
</j:forEach>
</ul>
</j:jelly>
Comments