Add release agent template to internal Jenkins

This change registers the `gerrit-release-bazel` Docker image as a
Jenkins agent template in the internal server configuration.

By adding this agent, the Jenkins cluster can provision containers
dedicated to running the Gerrit release process.

This lays the foundation for a follow-up job that will automate cutting
and publishing releases.

Change-Id: I34a36ef8c33599cbf70d797468d65eb43a1af957
diff --git a/jenkins-docker/server/config-internal.xml b/jenkins-docker/server/config-internal.xml
index cf9961d..5e828fa 100644
--- a/jenkins-docker/server/config-internal.xml
+++ b/jenkins-docker/server/config-internal.xml
@@ -125,6 +125,48 @@
           <removeVolumes>false</removeVolumes>
           <pullStrategy>PULL_LATEST</pullStrategy>
         </com.nirima.jenkins.plugins.docker.DockerTemplate>
+        <com.nirima.jenkins.plugins.docker.DockerTemplate>
+          <configVersion>2</configVersion>
+          <labelString>gerrit-release-bazel</labelString>
+          <connector class="io.jenkins.docker.connector.DockerComputerAttachConnector">
+            <user>jenkins</user>
+            <jvmArgs>
+              <string>-Dfile.encoding=UTF-8</string>
+            </jvmArgs>
+          </connector>
+          <remoteFsMapping></remoteFsMapping>
+          <remoteFs>/home/jenkins</remoteFs>
+          <instanceCap>5</instanceCap>
+          <mode>EXCLUSIVE</mode>
+          <retentionStrategy class="com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy">
+            <idleMinutes>10</idleMinutes>
+            <idleMinutes defined-in="com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy">10</idleMinutes>
+          </retentionStrategy>
+          <numExecutors>1</numExecutors>
+          <dockerTemplateBase>
+            <image>gerritforge/gerrit-release-bazel:debian-bookworm</image>
+            <dockerCommand></dockerCommand>
+            <lxcConfString>gerrit-release-bazel</lxcConfString>
+            <hostname></hostname>
+            <dnsHosts/>
+            <volumes>
+              <string>/dev/urandom:/dev/random</string>
+              <string>/var/run/docker.sock:/var/run/docker.sock</string>
+            </volumes>
+            <volumesFrom2/>
+            <environment/>
+            <bindPorts></bindPorts>
+            <bindAllPorts>false</bindAllPorts>
+            <privileged>true</privileged>
+            <tty>false</tty>
+            <extraHosts class="java.util.Collections$UnmodifiableRandomAccessList" resolves-to="java.util.Collections$UnmodifiableList">
+              <c class="list"/>
+              <list reference="../c"/>
+            </extraHosts>
+          </dockerTemplateBase>
+          <removeVolumes>false</removeVolumes>
+          <pullStrategy>PULL_LATEST</pullStrategy>
+        </com.nirima.jenkins.plugins.docker.DockerTemplate>
       </templates>
       <serverUrl>unix:///var/run/docker.sock</serverUrl>
       <connectTimeout>30</connectTimeout>