set lsBuild and lfBuild.

This commit is contained in:
Seiji Sogabe committed 2011-03-17 08:08:05 +09:00
1 parent 41eeb25670
commit b9be0b980e
1 file changed
+2
@@ -23,6 +23,8 @@ THE SOFTWARE.
-->
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:i="jelly:fmt">
<j:set var="lsBuild" value="${job.lastSuccessfulBuild}"/>
<j:set var="lfBuild" value="${job.lastFailedBuild}"/>
<td data="${lsBuild.duration ?: lfBuild.duration ?: '0'}">
<j:choose>
<j:when test="${lsBuild!=null}">