<commit_before><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" xmlns:p="/lib/hudson/project">

  <j:invokeStatic var="hudson" className="hudson.model.Hudson" method="getInstance" />
  <j:set var="rootURL" value="${hudson.getRootURL() + '/'}" />
  <j:set var="builds" value="${it.getLatestBuilds()}" />
  <j:if test="${!empty(builds)}">
    <h2>${%Latest Builds}</h2>
    <t:setIconSize/>
      <table class="sortable pane bigtable" id="projectStatus">
        <tr>
          <th><st:nbsp/></th>
          <th>${%Build}</th>
          <th initialSortDir="up">${%Date}</th>
          <th>${%Status}</th>
          <th><st:nbsp/></th> <!-- Badges -->
        </tr>
        <!-- TODO: support gradual expansion of the list -->
        <j:forEach var="b" items="${builds}">
          <tr>
            <td data="${b.iconColor.ordinal()}">
              <a href="${rootURL}${b.url}">
                <img src="${imagesURL}/${iconSize}/${b.buildStatusUrl}"
                   alt="${b.iconColor.description}"/>
              </a>
            </td>
            <td>
              <a href="${rootURL}${b.parent.url}">${b.parent.fullDisplayName}</a>
              <st:nbsp/>
              <a href="${rootURL}${b.url}">${b.displayName}</a>
            </td>
            <td data="${b.timestampString2}">
              ${b.timestampString}
            </td>
            <td>
              <t:buildStatusSummary build="${b}" />
            </td>
            <td>
              <table>
                <tr>
            <td> <!-- Rebuild -->
            </td>
            <td> <!-- Build Artifacts -->
              <j:if test="${b.getHasArtifacts()}">
                <a href="${rootURL}${b.url}artifact/">
                  <img src="${imagesURL}/${subIconSize}/package.gif" title="${%Build Artifacts}" alt="${%Build Artifacts}" border="0" />
                </a>
              </j:if>
            </td>
            <td> <!-- Changes -->
              <a href="${rootURL}${b.url}changes">
               <img src="${imagesURL}/${subIconSize}/notepad.gif" title="${%Changes}" alt="${%Changes}" border="0" />
              </a>
            </td>
            <td> <!-- Test Result -->
              <a href="${rootURL}${b.url}testReport/">
                <img src="${imagesURL}/${subIconSize}/clipboard.gif" title="${%Test Result}" alt="${%Test Result}" border="0" />
              </a>
            </td>
            <td> <!-- Console Output -->
              <a href="${rootURL}${b.url}console">
                <img src="${imagesURL}/${subIconSize}/terminal.gif" title="${%Console output}" alt="${%Console output}" border="0" />
              </a>
            </td>
                </tr>
              </table>
            </td>
          </tr>
        </j:forEach>
      </table>
      <t:rssBar-with-iconSize/>
  </j:if>

</j:jelly>
<commit_msg>AUTO-345 Hudson Master Project plug-in<commit_after><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" xmlns:p="/lib/hudson/project">

  <j:invokeStatic var="hudson" className="hudson.model.Hudson" method="getInstance" />
  <j:set var="rootURL" value="${hudson.getRootURL() + '/'}" />
  <j:set var="builds" value="${it.getLatestBuilds()}" />
  <j:if test="${!empty(builds)}">
    <h2>${%Latest Builds}</h2>
    <t:setIconSize/>
      <table class="sortable pane bigtable" id="projectStatus">
        <tr>
          <th><st:nbsp/></th>
          <th>${%Build}</th>
          <th initialSortDir="up">${%Date}</th>
          <th>${%Status}</th>
          <th><st:nbsp/></th> <!-- Artifacts -->
          <th><st:nbsp/></th> <!-- Changes -->
          <th><st:nbsp/></th> <!-- Test Report -->
          <th><st:nbsp/></th> <!-- Console output -->
          <th><st:nbsp/></th> <!-- Rebuild button -->
        </tr>
        <!-- TODO: support gradual expansion of the list -->
        <j:forEach var="b" items="${builds}">
          <tr>
            <td data="${b.iconColor.ordinal()}">
              <a href="${rootURL}${b.url}">
                <img src="${imagesURL}/${iconSize}/${b.buildStatusUrl}"
                   alt="${b.iconColor.description}"/>
              </a>
            </td>
            <td>
              <a href="${rootURL}${b.parent.url}">${b.parent.fullDisplayName}</a>
              <st:nbsp/>
              <a href="${rootURL}${b.url}">${b.displayName}</a>
            </td>
            <td data="${b.timestampString2}">
              ${b.timestampString}
            </td>
            <td>
              <t:buildStatusSummary build="${b}" />
            </td>
                  <td width="30px"> <!-- Build Artifacts -->
                    <j:choose>
                      <j:when test="${b.getHasArtifacts()}">
                        <a href="${rootURL}${b.url}artifact/">
                          <img src="${imagesURL}/${subIconSize}/package.gif" title="${%Build Artifacts}" alt="${%Build Artifacts}" border="0" />
                        </a>
                      </j:when>
                      <j:otherwise>
                        <st:nbsp/>
                      </j:otherwise>
                    </j:choose>
                  </td>

                  <td width="30px"> <!-- Test Result -->
                    <j:choose>
                      <j:when test="${b.getTestResultAction() != null}">
                        <a href="${rootURL}${b.url}testReport/">
                          <img src="${imagesURL}/${subIconSize}/clipboard.gif" title="${%Test Result}" alt="${%Test Result}" border="0" />
                        </a>
                      </j:when>
                      <j:otherwise>
                        <st:nbsp/>
                      </j:otherwise>
                    </j:choose>
                  </td>

                  <td width="30px"> <!-- Changes -->
                    <a href="${rootURL}${b.url}changes">
                      <img src="${imagesURL}/${subIconSize}/notepad.gif" title="${%Changes}" alt="${%Changes}" border="0" />
                    </a>
                  </td>

                  <td width="30px"> <!-- Console Output -->
                    <a href="${rootURL}${b.url}console">
                      <img src="${imagesURL}/${subIconSize}/terminal.gif" title="${%Console output}" alt="${%Console output}" border="0" />
                    </a>
                  </td>
            <td> <!-- Rebuild link -->
            </td>
          </tr>
        </j:forEach>
      </table>
      <t:rssBar-with-iconSize/>
  </j:if>

</j:jelly>

{'fraction_non_alphanumeric': 0.2148103732573827, 'fraction_numerical': 0.003747564083345825, 'mean_word_length': 1.5573016481410502, 'pattern_counts': {'":': 0, '<': 195, '<?xml version=': 0, '>': 195, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 16}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4821234', 'n_tokens_mistral': 2086, 'n_tokens_neox': 1986, 'n_words': 316}