Skip to content
Permalink
Browse files

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

…t nesting, for proper interoperability with the context menu.

(cherry picked from commit 87e2d32)

Conflicts:
	changelog.html
  • Loading branch information...
jglick authored and olivergondza committed Jun 17, 2014
1 parent bd378a1 commit 001e51e87ceff6d02b8dbaf4d632eac55d4de47d
Showing with 3 additions and 10 deletions.
  1. +3 −10 core/src/main/resources/hudson/model/AbstractBuild/tasks.jelly
@@ -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}" >

0 comments on commit 001e51e

Please sign in to comment.
You can’t perform that action at this time.