<commit_before><!--
  Parts of the configuration that applies to Project and MavenModuleSet.
-->
<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">
  <f:entry title="Disable Build" help="/help/project-config/disable.html">
    <f:checkbox name="disable" checked="${it.disabled}" />
    (No new builds will be executed until the project is re-enabled.)
  </f:entry>


  <j:set var="jdks" value="${app.JDKs}" />
  <j:if test="${!empty(jdks)}">
    <f:entry title="JDK"
             description="JDK to be used for this project">
      <select class="setting-input" name="jdk">
        <option>(Default)</option>
        <j:forEach var="inst" items="${jdks}">
        	<f:option selected="${inst.name==it.JDK.name}">${inst.name}</f:option>
        </j:forEach>
      </select>
    </f:entry>
  </j:if>

  <!-- master/slave -->
  <j:set var="slaves" value="${app.slaves}" />
  <j:if test="${!empty(slaves)}">
    <f:optionalBlock name="hasSlaveAffinity" title="Tie this project to a node" checked="${it.assignedNode!=null}"
        help="/help/project-config/slave.html">
      <f:entry title="Node">
        <select class="setting-input" name="slave">
          <option>(This machine)</option>
          <j:forEach var="s" items="${slaves}">
            <f:option selected="${s==it.assignedNode}" value="${s.nodeName}"
              >${s.nodeName} <j:if test="${!empty(s.nodeDescription)}">(${s.nodeDescription})</j:if></f:option>
          </j:forEach>
        </select>
      </f:entry>
    </f:optionalBlock>
  </j:if>

  <f:section title="Advanced Project Options">
    <f:advanced>
      <!-- custom quiet period -->
      <f:optionalBlock name="hasCustomQuietPeriod" title="Quiet period" checked="${it.hasCustomQuietPeriod}"
          help="/help/project-config/quietPeriod.html">
        <f:entry title="Quiet period"
          description="Number of seconds">
          <input class="setting-input" name="quiet_period"
            type="text" value="${it.quietPeriod}"/>
        </f:entry>
      </f:optionalBlock>
    </f:advanced>
  </f:section>


  <!-- SCM config pane -->
  <f:section title="Source Code Management">
    <j:getStatic var="scms" className="hudson.scm.SCMS" field="SCMS" /><commit_msg>implemented label support. Slaves can be grouped into labels and jobs can be tied to labels.<commit_after><!--
  Parts of the configuration that applies to Project and MavenModuleSet.
-->
<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">
  <f:entry title="Disable Build" help="/help/project-config/disable.html">
    <f:checkbox name="disable" checked="${it.disabled}" />
    (No new builds will be executed until the project is re-enabled.)
  </f:entry>


  <j:set var="jdks" value="${app.JDKs}" />
  <j:if test="${!empty(jdks)}">
    <f:entry title="JDK"
             description="JDK to be used for this project">
      <select class="setting-input" name="jdk">
        <option>(Default)</option>
        <j:forEach var="inst" items="${jdks}">
        	<f:option selected="${inst.name==it.JDK.name}">${inst.name}</f:option>
        </j:forEach>
      </select>
    </f:entry>
  </j:if>

  <!-- master/slave -->
  <j:if test="${!empty(app.slaves)}">
    <f:optionalBlock name="hasSlaveAffinity" title="Tie this project to node" checked="${it.assignedLabel!=null}"
        help="/help/project-config/slave.html">
      <f:entry title="Node">
        <select class="setting-input" name="slave">
          <j:forEach var="s" items="${app.labels}">
            <f:option selected="${s==it.assignedLabel}" value="${s.name}"
              >${s.name} <j:if test="${!empty(s.description)}">(${s.description})</j:if></f:option>
          </j:forEach>
        </select>
      </f:entry>
    </f:optionalBlock>
  </j:if>

  <f:section title="Advanced Project Options">
    <f:advanced>
      <!-- custom quiet period -->
      <f:optionalBlock name="hasCustomQuietPeriod" title="Quiet period" checked="${it.hasCustomQuietPeriod}"
          help="/help/project-config/quietPeriod.html">
        <f:entry title="Quiet period"
          description="Number of seconds">
          <input class="setting-input" name="quiet_period"
            type="text" value="${it.quietPeriod}"/>
        </f:entry>
      </f:optionalBlock>
    </f:advanced>
  </f:section>


  <!-- SCM config pane -->
  <f:section title="Source Code Management">
    <j:getStatic var="scms" className="hudson.scm.SCMS" field="SCMS" />
{'fraction_non_alphanumeric': 0.19646750981247274, 'fraction_numerical': 0.0, 'mean_word_length': 3.3192090395480225, 'pattern_counts': {'":': 0, '<': 98, '<?xml version=': 0, '>': 98, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 12}, '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': '6204305', 'n_tokens_mistral': 1527, 'n_tokens_neox': 1468, 'n_words': 291}