123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- <!--
- The MIT License
- Copyright (c) 2004-2009, Sun Microsystems, Inc.
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
- The above copyright notice and this permission notice shall be included in
- all copies or substantial portions of the Software.
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- THE SOFTWARE.
- -->
- <!--
- This is bit unusual, but so that we can override "name" with "Instance ID", override the config page entirely,
- instead of just supplying EC2Slave/configure-entries.jelly
- -->
- <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">
- <l:layout norefresh="true" permission="${app.ADMINISTER}" title="${it.name} Configuration">
- <st:include page="sidepanel.jelly"/>
- <l:main-panel>
- <f:form method="post" action="configSubmit" name="config">
- <j:set var="instance" value="${it.node}" />
- <j:set var="descriptor" value="${instance.descriptor}" />
- <f:invisibleEntry>
- <input type="hidden" name="name" value="${it.name}" />
- </f:invisibleEntry>
- <f:entry title="${%Instance ID}" field="instanceId">
- <f:readOnlyTextbox />
- </f:entry>
- <f:entry title="${%Public DNS}" field="publicDNS">
- <f:readOnlyTextbox />
- </f:entry>
- <f:entry title="${%Private DNS}" field="privateDNS">
- <f:readOnlyTextbox />
- </f:entry>
- <f:entry title="${%Description}" help="/help/system-config/master-slave/description.html">
- <f:textbox field="nodeDescription" />
- </f:entry>
- <f:entry title="${%# of executors}" field="numExecutors">
- <f:textbox />
- </f:entry>
-
- <f:entry title="${%Labels}" field="labelString">
- <f:textbox />
- </f:entry>
- <f:entry title="${%Init Script}" field="initScript">
- <f:textarea />
- </f:entry>
- <f:entry title="${%Remote user}" field="remoteAdmin">
- <f:textbox />
- </f:entry>
-
- <f:entry title="${%Root command prefix}" field="rootCommandPrefix">
- <f:textbox />
- </f:entry>
- <f:entry title="${%Stop/Disconnect on Idle Timeout}" field="stopOnTerminate">
- <f:checkbox />
- </f:entry>
- <f:entry title="${%Idle termination time}" field="idleTerminationMinutes">
- <f:textbox />
- </f:entry>
- <f:entry title="${%Tags}" description="${%EC2 Tag/Value Pairs}">
- <f:repeatable field="tags">
- <st:include page="../EC2Tag/config.jelly" />
- </f:repeatable>
- </f:entry>
- <f:entry title="${%Use private DNS}" field="usePrivateDnsName">
- <f:checkbox />
- </f:entry>
- <f:descriptorList title="${%Node Properties}" descriptors="${h.getNodePropertyDescriptors(descriptor.clazz)}" field="nodeProperties" />
- <f:block>
- <f:submit value="${%Save}"/>
- </f:block>
- </f:form>
- </l:main-panel>
- </l:layout>
- </j:jelly>
|