提交 5fad5774 编写于 作者: K kohsuke

stopped special-casing test report. It's now using the "summary.jelly"...

stopped special-casing test report. It's now using the "summary.jelly" mechanism like everything else.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3828 71c3de6d-444a-0410-be80-ed276b4c234a
上级 f7ce7ccb
......@@ -28,28 +28,6 @@
<table style="margin-top: 1em; margin-left:1em;">
<t:artifactList build="${it}" caption="Build Artifacts" />
<j:set var="tr" value="${it.testResultAction}" />
<j:if test="${tr!=null}">
<t:summary icon="clipboard.gif">
<a href="testReport/">Latest Test Result</a>
<j:choose>
<j:when test="${tr.totalCount==0}">
(no tests)
</j:when>
<j:when test="${tr.failCount==0}">
(no failures)
</j:when>
<j:when test="${tr.failCount==1}">
(1 failure ${tr.failureDiffString})
</j:when>
<j:otherwise>
(${tr.failCount} failures ${tr.failureDiffString})
</j:otherwise>
</j:choose>
</t:summary>
</j:if>
<j:set var="set" value="${it.changeSet}" />
<t:summary icon="notepad.gif">
<j:choose>
......
<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">
<t:summary icon="clipboard.gif">
<a href="testReport/">Latest Test Result</a>
<j:choose>
<j:when test="${it.totalCount==0}">
(no tests)
</j:when>
<j:when test="${it.failCount==0}">
(no failures)
</j:when>
<j:when test="${it.failCount==1}">
(1 failure ${it.failureDiffString})
</j:when>
<j:otherwise>
(${it.failCount} failures ${it.failureDiffString})
</j:otherwise>
</j:choose>
</t:summary>
</j:jelly>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册