Adam Guja commented on Improvement JENKINS-17658

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!

html_causes.jelly
<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>
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to