提交 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> ...@@ -61,6 +61,9 @@ Upcoming changes</a>
<li class=bug> <li class=bug>
Failed to correctly resave a project configuration containing both a forward and a reverse build trigger. 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>) (<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"> <li class="major bug">
HTTP error 405 when trying to restart ssh host. HTTP error 405 when trying to restart ssh host.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-23094">issue 23094</a>) (<a href="https://issues.jenkins-ci.org/browse/JENKINS-23094">issue 23094</a>)
......
...@@ -32,16 +32,9 @@ THE SOFTWARE. ...@@ -32,16 +32,9 @@ THE SOFTWARE.
<l:task icon="images/24x24/notepad.png" href="${buildUrl.baseUrl}/changes" title="${%Changes}" /> <l:task icon="images/24x24/notepad.png" href="${buildUrl.baseUrl}/changes" title="${%Changes}" />
<j:choose> <j:choose>
<j:when test="${it.logFile.length() > 200000}"> <j:when test="${it.logFile.length() > 200000}">
<!-- Show raw link directly so user need not click through live console page. --> <!-- 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. -->
<div class="task"> <l:task icon="images/24x24/terminal.png" href="${buildUrl.baseUrl}/console" title="${%Console Output}"/>
<a href="${buildUrl.baseUrl}/console"> <l:task icon="images/24x24/document.png" href="${buildUrl.baseUrl}/consoleText" title="${%View as plain text}"/>
<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>
</j:when> </j:when>
<j:otherwise> <j:otherwise>
<l:task icon="images/24x24/terminal.png" href="${buildUrl.baseUrl}/console" title="${%Console Output}" > <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.
先完成此消息的编辑!
想要评论请 注册