forked from awslabs/aws-codebuild-jenkins-plugin
-
Notifications
You must be signed in to change notification settings - Fork 27
/
config.jelly
216 lines (160 loc) · 8.91 KB
/
config.jelly
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<?jelly escape-by-default='true'?>
<!--
~ Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
~
~ Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License.
~ A copy of the License is located at
~
~ http://aws.amazon.com/apache2.0/
~
~ or in the "license" file accompanying this file.
~ This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and limitations under the License.
~
-->
<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" xmlns:html="jelly:html">
<f:section title="AWS Configuration" >
<f:radioBlock title="Select credentials from Jenkins" name="credentialsType" help="/plugin/aws-codebuild/help-JenkinsCreds.html"
value="jenkins" checked="${instance.credentialsTypeEquals('jenkins')}" inline="true">
<f:entry title="Credentials" field="credentialsId">
<c:select/>
</f:entry>
</f:radioBlock>
<f:radioBlock title="Manually specify access and secret keys" name="credentialsType"
value="keys" checked="${instance.credentialsTypeEquals('keys')}" inline="true">
<f:entry title="Proxy Host (optional)" field="proxyHost">
<f:textbox />
</f:entry>
<f:entry title="Proxy Port (optional)" field="proxyPort">
<f:textbox />
</f:entry>
<f:entry title="AWS Access Key" field="awsAccessKey" help="/plugin/aws-codebuild/help-keyCredsHelp.html">
<f:textbox />
</f:entry>
<f:entry title="AWS Secret Key" field="awsSecretKey" help="/plugin/aws-codebuild/help-keyCredsHelp.html">
<f:password />
</f:entry>
</f:radioBlock>
</f:section>
<f:section title="Project Configuration" >
<f:entry title="Region" field="region">
<f:select />
</f:entry>
<f:entry title="Project Name" field="projectName" help="/plugin/aws-codebuild/help-projectNameHelp.html">
<f:textbox />
</f:entry>
<f:radioBlock title="Use Project source" name="sourceControlType" help="/plugin/aws-codebuild/help-projectSourceHelp.html"
value="project" checked="${instance.sourceControlTypeEquals('project')}" inline="true">
<f:entry title="Source Type Override (optional)" field="sourceTypeOverride" help="/plugin/aws-codebuild/help-sourceTypeOverride.html">
<f:select />
</f:entry>
<f:entry title="Source Location Override (optional)" field="sourceLocationOverride" help="/plugin/aws-codebuild/help-sourceLocationOverride.html">
<f:textbox />
</f:entry>
<f:entry title="Source Control Version (optional)" field="sourceVersion" help="/plugin/aws-codebuild/help-sourceVersionHelp.html">
<f:textbox />
</f:entry>
<f:entry title="Git Clone Depth Override (optional)" field="gitCloneDepthOverride" help="/plugin/aws-codebuild/help-gitCloneDepthHelp.html">
<f:select />
</f:entry>
<f:entry title="Report Build Status Override (optional)" field="reportBuildStatusOverride" help="/plugin/aws-codebuild/help-reportBuildStatusHelp.html">
<f:select />
</f:entry>
</f:radioBlock>
<f:radioBlock title="Use Jenkins source" name="sourceControlType" help="/plugin/aws-codebuild/help-jenkinsSourceHelp.html"
value="jenkins" checked="${instance.sourceControlTypeEquals('jenkins')}" inline="true">
<f:entry title="Server-side encryption algorithm" field="sseAlgorithm" help="/plugin/aws-codebuild/help-sseAlgorithm.html">
<f:select />
</f:entry>
<f:entry title="Local Source Path (optional)" field="localSourcePath" help="/plugin/aws-codebuild/help-localSourcePathHelp.html">
<f:textbox />
</f:entry>
<f:entry title="Workspace Subdirectory (optional)" field="workspaceSubdir" help="/plugin/aws-codebuild/help-workspaceSubdir.html">
<f:textbox />
</f:entry>
</f:radioBlock>
</f:section>
<f:section title="Build Configuration" >
<f:entry title="Artifact Type Override" field="artifactTypeOverride" help="/plugin/aws-codebuild/help-artifactTypeOverride.html">
<f:select />
</f:entry>
<f:entry title="Artifact Location Override" field="artifactLocationOverride" help="/plugin/aws-codebuild/help-artifactLocationOverride.html">
<f:textbox />
</f:entry>
<f:entry title="Artifact Name Override" field="artifactNameOverride" help="/plugin/aws-codebuild/help-artifactNameOverride.html">
<f:textbox />
</f:entry>
<f:entry title="Override Artifact Name" field="overrideArtifactName" help="/plugin/aws-codebuild/help-overrideArtifactName.html">
<f:select />
</f:entry>
<f:entry title="Artifact Namespace Override" field="artifactNamespaceOverride" help="/plugin/aws-codebuild/help-artifactNamespaceOverride.html">
<f:select />
</f:entry>
<f:entry title="Artifact Packaging Override" field="artifactPackagingOverride" help="/plugin/aws-codebuild/help-artifactPackagingOverride.html">
<f:select />
</f:entry>
<f:entry title="Artifact Path Override" field="artifactPathOverride" help="/plugin/aws-codebuild/help-artifactPathOverride.html">
<f:textbox />
</f:entry>
<f:entry title="Artifact Encryption Disabled Override" field="artifactEncryptionDisabledOverride" help="/plugin/aws-codebuild/help-artifactEncryptionDisabledOverride.html">
<f:select />
</f:entry>
<f:entry title="Buildspec Override" field="buildSpecFile" help="/plugin/aws-codebuild/help-buildSpecFileHelp.html">
<f:textarea codemirror-mode="yaml" codemirror-config="mode: 'text/x-yaml'" />
</f:entry>
<f:entry title="Environment Type Override" field="environmentTypeOverride" help="/plugin/aws-codebuild/help-environmentTypeOverride.html">
<f:select />
</f:entry>
<f:entry title="Image Override" field="imageOverride" help="/plugin/aws-codebuild/help-imageOverride.html">
<f:textbox />
</f:entry>
<f:entry title="Privileged Mode Override" field="privilegedModeOverride" help="/plugin/aws-codebuild/help-privilegedModeOverride.html">
<f:select />
</f:entry>
<f:entry title="Insecure SSL Override" field="insecureSslOverride" help="/plugin/aws-codebuild/help-insecureSslOverride.html">
<f:select />
</f:entry>
<f:entry title="Compute Type Override" field="computeTypeOverride" help="/plugin/aws-codebuild/help-computeTypeOverride.html">
<f:select />
</f:entry>
<f:entry title="Cache Type Override" field="cacheTypeOverride" help="/plugin/aws-codebuild/help-cacheTypeOverride.html">
<f:select />
</f:entry>
<f:entry title="Cache Location Override" field="cacheLocationOverride" help="/plugin/aws-codebuild/help-cacheLocationOverride.html">
<f:textbox />
</f:entry>
<f:entry title="CloudWatch Logs Status Override" field="cloudWatchLogsStatusOverride" help="/plugin/aws-codebuild/help-cloudWatchLogsStatusOverride.html">
<f:select />
</f:entry>
<f:entry title="CloudWatch Logs Group Name Override" field="cloudWatchLogsGroupNameOverride" help="/plugin/aws-codebuild/help-cloudWatchLogsGroupNameOverride.html">
<f:textbox />
</f:entry>
<f:entry title="CloudWatch Logs Stream Name Override" field="cloudWatchLogsStreamNameOverride" help="/plugin/aws-codebuild/help-cloudWatchLogsStreamNameOverride.html">
<f:textbox />
</f:entry>
<f:entry title="S3 Logs Status Override" field="s3LogsStatusOverride" help="/plugin/aws-codebuild/help-s3LogsStatusOverride.html">
<f:select />
</f:entry>
<f:entry title="S3 Logs Location Override" field="s3LogsLocationOverride" help="/plugin/aws-codebuild/help-s3LogsLocationOverride.html">
<f:textbox />
</f:entry>
<f:entry title="Certificate Override" field="certificateOverride" help="/plugin/aws-codebuild/help-certificateOverride.html">
<f:textbox />
</f:entry>
<f:entry title="Service Role Override" field="serviceRoleOverride" help="/plugin/aws-codebuild/help-serviceRoleOverride.html">
<f:textbox />
</f:entry>
<f:entry title="Environment Variables Override" field="envVariables" help="/plugin/aws-codebuild/help-envVariablesHelp.html">
<f:textarea />
</f:entry>
<f:entry title="Parameter Store Variables Override" field="envParameters" help="/plugin/aws-codebuild/help-envParametersHelp.html">
<f:textarea />
</f:entry>
<f:entry title="Timeout Override" field="buildTimeoutOverride" help="/plugin/aws-codebuild/help-buildTimeout.html">
<f:textbox />
</f:entry>
<f:entry title="Disable CloudWatch Streaming" field="cwlStreamingDisabled" help="/plugin/aws-codebuild/help-cwlStreamingDisabled.html">
<f:select />
</f:entry>
</f:section>
</j:jelly>