jelly script for obtaining information from Build Failure Analyzer plugin 
and using it in Email ext plugin

Many thanks to Robert Sandell (one of the developers of BFA) for assisting 
me in creating this snippet!

<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" 
> xmlns:d="jelly:define" >
> <BODY>
>     <j:set var="failureCauses" 
> value="${it.getAction('com.sonyericsson.jenkins.plugins.bfa.model.FailureCauseBuildAction').getFoundFailureCauses()}"/>
>     <j:if test="${failureCauses.size() gt 0}">
> <j:forEach var="cause" items="${failureCauses}">
> ${cause.name}
> <br/>
> ${cause.description}
> <br/>
> </j:forEach>
>     </j:if>
> </BODY>
> </j:jelly>


W dniu czwartek, 3 stycznia 2013 14:24:54 UTC+1 użytkownik David Resnick 
napisał:
>
> Great plugin! It's a huge time saver to have Jenkins figure out what went 
> wrong with a build rather than having to view the log and figure it out for 
> myself.
>
> Right now I'd say that the biggest improvements that could be made to the 
> plugin involve making its results more prominent.
>
> It would be great if there was a "failure reason" email-ext token I could 
> add to failure emails Jenkins sends out. I've seen that some plugins 
> produce tokens for use by other plugins, apparently with the help of the 
> Token Macro Plugin (e.g. 
> https://wiki.jenkins-ci.org/display/JENKINS/Static+Code+Analysis+Plug-ins#StaticCodeAnalysisPlug-ins-tokens).
>
> Also, the "identified problems" that appear in a build summary page is 
> last on the page, seemingly following everything else. As far as I'm 
> concerned, because of its importance it should be the very first item on 
> the summary page. 
>
> The lightbulb is a great way of seeing what happened with various builds 
> without further clicking. Depending on how long descriptions are, it might 
> be good to include additional information in the lightbulb tooltip such as 
> the description or category.
>
> In any case, thanks for a very helpful plugin.
>
> - David
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to