<% /* NOTE: inlined styles so that this works as HTML email */ %> <% checks = bpipe.Check.loadAll(); %> <%def title; if(pipeline.documentation?.title && pipeline.documentation?.title != "Pipeline Report" ) { title = "Check Report : $pipeline.documentation.title" } else { title = "Pipeline Check Report : " + new File(".").canonicalFile.name } %> ${title}

$title

<% if(checks.any { !it.passed && !it.override }) { %>

One or more checks failed

<% } else { %>

All checks passed

<% } %> <%checks.each { check -> %> <%}%>
CheckBranchStatusDetails
<%=check.name ? "$check.stage / $check.Name" : check.stage%> <%=check.branch!="all"?check.branch:""%> <%=check.override?"Overridden":(check.passed?"Passed":"Failed")%> <%=check.message?utils.escape(check.message):""%>
Report generated ${new Date()}