Skip to content

Commit

Permalink
Migrate from EE 8 to EE 9 in Jelly views (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
basil authored Feb 6, 2025
1 parent 5a85959 commit 83506af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ THE SOFTWARE.

<j:set var="threshold" value="${h.getSystemProperty('hudson.consoleTailKB')?:'150'}" />
<!-- Show at most last 150KB (can override with system property) unless consoleFull is set -->
<j:set var="offset" value="${request.hasParameter('consoleFull') ? 0 : it.logText.length()-threshold*1024}" />
<j:set var="offset" value="${request2.hasParameter('consoleFull') ? 0 : it.logText.length()-threshold*1024}" />
<j:choose>
<j:when test="${offset > 0}">
${%skipSome(offset/1024,"?consoleFull")}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ THE SOFTWARE.

<j:set var="threshold" value="${h.getSystemProperty('hudson.consoleTailKB')?:'150'}" />
<!-- Show at most last 150KB (can override with system property) unless consoleFull is set -->
<j:set var="offset" value="${request.hasParameter('consoleFull') ? 0 : it.logText.length()-threshold*1024}" />
<j:set var="offset" value="${request2.hasParameter('consoleFull') ? 0 : it.logText.length()-threshold*1024}" />
<j:choose>
<j:when test="${offset > 0}">
${%skipSome(offset/1024,"?consoleFull")}
Expand Down

0 comments on commit 83506af

Please sign in to comment.