-
Notifications
You must be signed in to change notification settings - Fork 132
Expand file tree
/
Copy pathconfig.jelly
More file actions
92 lines (86 loc) · 4.04 KB
/
config.jelly
File metadata and controls
92 lines (86 loc) · 4.04 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<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="AWS CodeDeploy Application Name" field="applicationName">
<f:textbox />
</f:entry>
<f:entry title="AWS CodeDeploy Deployment Group" field="deploymentGroupName">
<f:textbox />
</f:entry>
<f:entry title="AWS CodeDeploy Deployment Config" field="deploymentConfig">
<f:textbox />
</f:entry>
<f:entry title="AWS Region" field="region">
<f:select />
</f:entry>
<f:entry title="S3 Bucket" field="s3bucket">
<f:textbox />
</f:entry>
<f:entry title="S3 Prefix" field="s3prefix">
<f:textbox default="" />
</f:entry>
<f:entry title="Subdirectory" field="subdirectory">
<f:textbox default="" />
</f:entry>
<f:entry title="Include Files" field="includes">
<f:textbox default="**" />
</f:entry>
<f:entry title="Exclude Files" field="excludes">
<f:textbox default="" />
</f:entry>
<f:entry title="Proxy Host" field="proxyHost">
<f:textbox default="" />
</f:entry>
<f:entry title="Proxy Port" field="proxyPort">
<f:textbox default="" />
</f:entry>
<f:entry title="Version File" field="versionFileName">
<f:textbox />
</f:entry>
<f:entry title="Appspec.yml per Deployment Group" field="deploymentGroupAppspec">
<f:checkbox field="deploymentGroupAppspec" checked="${instance.getDeploymentGroupAppspec}"/>
</f:entry>
<f:entry title="Encrypt file on server" field="serverEncryptFile">
<f:checkbox field="serverEncryptFile" checked="${instance.getServerEncryptFile}"/>
</f:entry>
<f:radioBlock title="Register Revision" name="deploymentMethod" value="onlyRevision" checked="${instance.getDeploymentMethod() == 'onlyRevision'}" inline="true">
<f:description>
Register the new revision with the specified CodeDeploy application but do not deploy it.
</f:description>
</f:radioBlock>
<f:radioBlock title="Deploy Revision" name="deploymentMethod" value="deploy" checked="${instance.getDeploymentMethod() == 'deploy'}" inline="true">
<f:description>
Register the new revision and deploy it to the specified CodeDeploy deployment group.
</f:description>
<f:optionalBlock title="Wait for deployment to finish?" field="waitForCompletion" checked="${instance.getWaitForCompletion()}" inline="true">
<f:entry title="Polling Timeout (s)" field="pollingTimeoutSec">
<f:textbox default="300"/>
</f:entry>
<f:entry title="Polling Frequency (s)" field="pollingFreqSec">
<f:textbox default="15"/>
</f:entry>
</f:optionalBlock>
</f:radioBlock>
<f:radioBlock title="Use Access/Secret keys" name="credentials" checked="${instance.getCredentials() == 'awsAccessKey'}" inline="true" value="awsAccessKey">
<f:description>
If these keys are left blank, the plugin will attempt to use credentials from the default provider chain. That
is: Environment Variables, Java System properties, credentials profile file, and finally, EC2 Instance profile.
</f:description>
<f:entry title="AWS Access Key" field="awsAccessKey">
<f:textbox />
</f:entry>
<f:entry title="AWS Secret Key" field="awsSecretKey">
<f:password />
</f:entry>
</f:radioBlock>
<f:radioBlock title="Use temporary credentials" name="credentials" checked="${instance.getCredentials() == 'iamRoleArn'}" inline="true" value="iamRoleArn">
<f:entry title="IAM Role ARN" field="iamRoleArn">
<f:textbox />
</f:entry>
<f:description>
This plugin uses temporary access keys via the AWS Security Token Service. For instructions on setting this up,
see the help text on the "IAM Role ARN" field above.<br/><br/>
AWS Account ID: <strong>${descriptor.accountId}</strong><br/>
External ID: <strong>${descriptor.externalId}</strong>
</f:description>
<f:validateButton title="${%Test Connection}" progress="${%Testing...}" method="testConnection" with="s3bucket,applicationName,region,iamRoleArn" />
</f:radioBlock>
</j:jelly>