提交 87e2d32f 编写于 作者: J Jesse Glick

[FIXED JENKINS-14264] For logs >200Kb, just show two <t:task>s without...

[FIXED JENKINS-14264] For logs >200Kb, just show two <t:task>s without nesting, for proper interoperability with the context menu.
上级 c3a2dae7
......@@ -61,6 +61,9 @@ Upcoming changes</a>
<li class=bug>
Failed to correctly resave a project configuration containing both a forward and a reverse build trigger.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-23191">issue 23191</a>)
<li class=bug>
Long log output resulted in missing Console link in popup.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-14264">issue 14264</a>)
<li class="major bug">
HTTP error 405 when trying to restart ssh host.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-23094">issue 23094</a>)
......
......@@ -32,16 +32,9 @@ THE SOFTWARE.
<l:task icon="images/24x24/notepad.png" href="${buildUrl.baseUrl}/changes" title="${%Changes}" />
<j:choose>
<j:when test="${it.logFile.length() > 200000}">
<!-- Show raw link directly so user need not click through live console page. -->
<div class="task">
<a href="${buildUrl.baseUrl}/console">
<img width="24" height="24" style="margin: 2px;" src="${imagesURL}/24x24/terminal.png" alt=""/>
</a>
<st:nbsp />
<a href="${buildUrl.baseUrl}/console">${%Console Output}</a>
<st:nbsp />
<a href="${buildUrl.baseUrl}/consoleText">[${%raw}]</a>
</div>
<!-- Show raw link directly so user need not click through live console page, though this is not so bad now as they would just see: Skipping nnn KB.. Full Log. -->
<l:task icon="images/24x24/terminal.png" href="${buildUrl.baseUrl}/console" title="${%Console Output}"/>
<l:task icon="images/24x24/document.png" href="${buildUrl.baseUrl}/consoleText" title="${%View as plain text}"/>
</j:when>
<j:otherwise>
<l:task icon="images/24x24/terminal.png" href="${buildUrl.baseUrl}/console" title="${%Console Output}" >
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册