I tried to access the getReports() on a triggered build in a velocity template but it looks like the collection is empty.
Here's my code
#if ($step.class.simpleName.contains("TriggerBuildStep") && $step.failed)
#set($triggeredBuild=$system.buildManager.load($step.runtime.customData))
<BR>FOUND TRIGGERED BUILD ! $triggeredBuild.getVersion() reports ? $triggeredBuild.getReports().size() <BR>
#end
But then size returns 0
Is there a way to access it ?
Thanks a lot
Ben