forked from lsegal/jenkins-codebuilder-plugin
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathconfig.jelly
More file actions
54 lines (42 loc) · 1.89 KB
/
config.jelly
File metadata and controls
54 lines (42 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?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" xmlns:c="/lib/credentials">
<f:entry field="credentialsId" title="${%AWS Credentials}">
<c:select />
</f:entry>
<f:entry field="region" title="${%Region}">
<f:select />
</f:entry>
<f:entry field="projectName" title="${%Project Name}">
<f:select />
</f:entry>
<f:entry field="label" title="${%Label}">
<f:textbox />
</f:entry>
<f:entry field="computeType" title="${%Compute Type}">
<select name="computeType">
<option selected="${instance.computeType.equals('BUILD_GENERAL1_SMALL')? 'true':null}" value="BUILD_GENERAL1_SMALL">Small (2 vCPUs, 3GB RAM, 64GB Disk)</option>
<option selected="${instance.computeType.equals('BUILD_GENERAL1_MEDIUM')? 'true':null}" value="BUILD_GENERAL1_MEDIUM">Medium (4 vCPUs, 7GB RAM, 128GB Disk)</option>
<option selected="${instance.computeType.equals('BUILD_GENERAL1_LARGE')? 'true':null}" value="BUILD_GENERAL1_LARGE">Large (8 vCPUs, 15GB RAM, 128GB Disk)</option>
</select>
</f:entry>
<f:advanced>
<f:entry field="webSocket" title="${%Use WebSocket}">
<f:checkbox/>
</f:entry>
<f:entry field="tunnel" title="${%Tunnel URL}">
<f:textbox />
</f:entry>
<f:entry field="jenkinsUrl" title="${%Alternative Jenkins URL}">
<f:textbox />
</f:entry>
<f:entry field="jnlpImage" title="${%JNLP Docker Image}">
<f:textbox default="${descriptor.defaultJnlpImage}" />
</f:entry>
<f:entry field="jnlpCommand" title="${%JNLP Docker Image Command}">
<f:textbox default="${descriptor.defaultJnlpCommand}" />
</f:entry>
<f:entry field="agentTimeout" title="${%Agent Connection Timeout}">
<f:number default="${descriptor.defaultAgentTimeout}" />
</f:entry>
</f:advanced>
</j:jelly>