plc/gstats/GStatsBuildAction/index.jelly
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define"
xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<l:layout norefresh="true">
<st:include it="${it.build}" page="sidepanel.jelly" />
<l:main-panel>
<h1>Build #${it.build.number}</h1>
<table>
<tr><th>Name</th><th/></tr>
<st:include page="gstats.jelly"/>
</table>
</l:main-panel>
</l:layout>
</j:jelly>
So it's a little loop over the name the results. It's easy. If we look at the build page, we can see there's a little summary - this large icon here. For each action on the build, when Jenkins is constructing this page, it calls getSummary. So, through the magic of stapler, if we add a summary.jelly into the resources, we can pop a little bit of information on the build page.
The project action works similarly, but not identically. Let's bob across to the project page.