plc/releaseqa/ReleaseLogsAction/showLog.jelly
<j:jelly xmlns:j="jelly:core"
xmlns:l="/lib/layout"
xmlns:t="/lib/hudson"
xmlns:st="jelly:stapler">
<l:layout title="Release Logs">
<st:include it="${it.primaryView}" page="sidepanel.jelly"/>
<l:main-panel>
<h1>Log ${file}</h1>
<pre>
<st:getOutput var="output" />
<j:whitespace>${logText.writeHtmlTo(0, output.asWriter())}</j:whitespace
</pre>
</l:main-panel>
</l:layout>
</j:jelly>
And that's it. That's the length and breadth of this particular extension. You'll note that this particular extension really doesn't have a great to do with the business of builds, or projects or anything like that, nor does it require any configuration.
However this is a bit of a cheat because you're unlikely to write an extension this simple. Nearly, but not quite.
This is picking up some log files that were put there by another extension. How did they get there then?
Let's have a think about what happens during a build.