/
config.jelly
19 lines (18 loc) · 1.01 KB
/
config.jelly
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?jelly escape-by-default='true'?>
<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="${%Build Triggers}" field="configs">
<f:repeatable field="configs" noAddButton="true" minimum="1">
<j:set var="instance" value="${instance.descriptor!=descriptor?null:instance}"/><!-- work around until 1.382 -->
<j:set var="configFor" value="publisher" /> <!-- used for views of AbstractBuildParameters to determine called for builder or publisher -->
<div>
<st:include class="${descriptor.clazz}" page="config.jelly" />
<f:entry>
<div align="right">
<input type="button" value="${%Add trigger...}" class="repeatable-add show-if-last" />
<input type="button" value="${%Delete}" class="repeatable-delete show-if-not-only" style="margin-left: 1em;" />
</div>
</f:entry>
</div>
</f:repeatable>
</f:entry>
</j:jelly>