mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-19 15:03:06 +00:00
set lsBuild and lfBuild.
This commit is contained in:
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}">
|
||||
|
||||
Reference in new issue
Block a user