-
Notifications
You must be signed in to change notification settings - Fork 96
/
config.xml
383 lines (383 loc) · 17.9 KB
/
config.xml
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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
<?xml version='1.0' encoding='UTF-8'?>
<hudson>
<disabledAdministrativeMonitors/>
<version>2.0</version>
<numExecutors>0</numExecutors>
<mode>NORMAL</mode>
<useSecurity>true</useSecurity>
<authorizationStrategy class="hudson.security.AuthorizationStrategy$Unsecured"/>
<securityRealm class="hudson.security.SecurityRealm$None"/>
<disableRememberMe>false</disableRememberMe>
<projectNamingStrategy class="jenkins.model.ProjectNamingStrategy$DefaultProjectNamingStrategy"/>
<workspaceDir>${JENKINS_HOME}/workspace/${ITEM_FULLNAME}</workspaceDir>
<buildsDir>${ITEM_ROOTDIR}/builds</buildsDir>
<jdks/>
<viewsTabBar class="hudson.views.DefaultViewsTabBar"/>
<myViewsTabBar class="hudson.views.DefaultMyViewsTabBar"/>
<clouds>
<org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud plugin="kubernetes@0.5-SNAPSHOT">
<name>kubernetes</name>
<templates>
<org.csanchez.jenkins.plugins.kubernetes.PodTemplate>
<name>base</name>
<label>base</label>
<serviceAccount>jenkins</serviceAccount>
<remoteFs>/home/jenkins/workspace</remoteFs>
<rootFs>/home/jenkins/</rootFs>
<instanceCap>20</instanceCap>
<envVars>
<org.csanchez.jenkins.plugins.kubernetes.PodEnvVar>
<key>KUBERNETES_MASTER</key>
<value>https://kubernetes.default</value>
</org.csanchez.jenkins.plugins.kubernetes.PodEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.PodEnvVar>
<key>KUBERNETES_TRUST_CERTIFICATES</key>
<value>true</value>
</org.csanchez.jenkins.plugins.kubernetes.PodEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.PodEnvVar>
<key>KUBERNETES_NAMESPACE</key>
<value>${KUBERNETES_NAMESPACE}</value>
</org.csanchez.jenkins.plugins.kubernetes.PodEnvVar>
</envVars>
<containers>
<org.csanchez.jenkins.plugins.kubernetes.ContainerTemplate>
<name>jnlp</name>
<image>fabric8/jenkins-jnlp-client:${PROJECT_VERSION}</image>
<command></command>
<args>${computer.jnlpmac} ${computer.name}</args>
<workingDir>/home/jenkins/</workingDir>
</org.csanchez.jenkins.plugins.kubernetes.ContainerTemplate>
</containers>
<volumes>
<org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<mountPath>/root/.ssh-git</mountPath>
<secretName>jenkins-git-ssh</secretName>
</org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<mountPath>/root/.ssh</mountPath>
<secretName>jenkins-ssh-config</secretName>
</org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<mountPath>/root/.gnupg</mountPath>
<secretName>jenkins-release-gpg</secretName>
</org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<mountPath>/root/ssh-keys</mountPath>
<secretName>jenkins-master-ssh</secretName>
</org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<mountPath>/root/.apitoken</mountPath>
<secretName>jenkins-hub-api-token</secretName>
</org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
</volumes>
</org.csanchez.jenkins.plugins.kubernetes.PodTemplate>
<org.csanchez.jenkins.plugins.kubernetes.PodTemplate>
<name>release</name>
<label>release</label>
<inheritFrom>base</inheritFrom>
<remoteFs>/home/jenkins/workspace</remoteFs>
<rootFs>/home/jenkins/</rootFs>
<instanceCap>20</instanceCap>
<envVars>
<org.csanchez.jenkins.plugins.kubernetes.PodEnVar>
<key>SONATYPE_USERNAME</key>
<value>${SONATYPE_USERNAME}</value>
</org.csanchez.jenkins.plugins.kubernetes.PodEnVar>
<org.csanchez.jenkins.plugins.kubernetes.PodEnvVar>
<key>SONATYPE_PASSWORD</key>
<value>${SONATYPE_PASSWORD}</value>
</org.csanchez.jenkins.plugins.kubernetes.PodEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.PodEnvVar>
<key>GPG_PASSPHRASE</key>
<value>${GPG_PASSPHRASE}</value>
</org.csanchez.jenkins.plugins.kubernetes.PodEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.PodEnvVar>
<key>NEXUS_USERNAME</key>
<value>${NEXUS_USERNAME}</value>
</org.csanchez.jenkins.plugins.kubernetes.PodEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.PodEnvVar>
<key>NEXUS_PASSWORD</key>
<value>${NEXUS_PASSWORD}</value>
</org.csanchez.jenkins.plugins.kubernetes.PodEnvVar>
</envVars>
<containers>
<org.csanchez.jenkins.plugins.kubernetes.ContainerTemplate>
<name>jnlp</name>
<image>fabric8/jenkins-jnlp-client:${PROJECT_VERSION}</image>
<envVars>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>SONATYPE_USERNAME</key>
<value>${SONATYPE_USERNAME}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>SONATYPE_PASSWORD</key>
<value>${SONATYPE_PASSWORD}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>GPG_PASSPHRASE</key>
<value>${GPG_PASSPHRASE}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>NEXUS_USERNAME</key>
<value>${NEXUS_USERNAME}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>NEXUS_PASSWORD</key>
<value>${NEXUS_PASSWORD}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
</envVars>
</org.csanchez.jenkins.plugins.kubernetes.ContainerTemplate>
</containers>
<volumes>
<org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<mountPath>/root/.gnupg</mountPath>
<secretName>jenkins-release-gpg</secretName>
</org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
</volumes>
</org.csanchez.jenkins.plugins.kubernetes.PodTemplate>
<org.csanchez.jenkins.plugins.kubernetes.PodTemplate>
<name>docker</name>
<label>docker</label>
<inheritFrom>base</inheritFrom>
<remoteFs>/home/jenkins/workspace</remoteFs>
<rootFs>/home/jenkins/</rootFs>
<instanceCap>20</instanceCap>
<containers>
<org.csanchez.jenkins.plugins.kubernetes.ContainerTemplate>
<name>jnlp</name>
<image>fabric8/jenkins-jnlp-client:${PROJECT_VERSION}</image>
<envVars>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>DOCKER_HOST</key>
<value>unix:/var/run/docker.sock</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
</envVars>
</org.csanchez.jenkins.plugins.kubernetes.ContainerTemplate>
</containers>
<volumes>
<org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-HostPathVolume>
<mountPath>/var/run/docker.sock</mountPath>
<hostPath>/var/run/docker.sock</hostPath>
</org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-HostPathVolume>
<org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<mountPath>/root/.docker</mountPath>
<secretName>jenkins-docker-cfg</secretName>
</org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
</volumes>
</org.csanchez.jenkins.plugins.kubernetes.PodTemplate>
<org.csanchez.jenkins.plugins.kubernetes.PodTemplate>
<name>cli</name>
<label>cli</label>
<serviceAccount>jenkins</serviceAccount>
<remoteFs>/home/jenkins/workspace</remoteFs>
<rootFs>/home/jenkins/</rootFs>
<instanceCap>20</instanceCap>
<containers>
<org.csanchez.jenkins.plugins.kubernetes.ContainerTemplate>
<name>cli</name>
<image>fabric8/builder-clients:latest</image>
<command>cat</command>
<args></args>
<ttyEnabled>true</ttyEnabled>
<workingDir>/home/jenkins/</workingDir>
</org.csanchez.jenkins.plugins.kubernetes.ContainerTemplate>
</containers>
</org.csanchez.jenkins.plugins.kubernetes.PodTemplate>
<org.csanchez.jenkins.plugins.kubernetes.PodTemplate>
<name>maven</name>
<label>maven</label>
<serviceAccount>jenkins</serviceAccount>
<remoteFs>/home/jenkins/workspace</remoteFs>
<rootFs>/home/jenkins/</rootFs>
<instanceCap>20</instanceCap>
<containers>
<org.csanchez.jenkins.plugins.kubernetes.ContainerTemplate>
<name>maven</name>
<image>fabric8/maven-builder:2.2.297</image>
<command>cat</command>
<args></args>
<ttyEnabled>true</ttyEnabled>
<workingDir>/home/jenkins/</workingDir>
</org.csanchez.jenkins.plugins.kubernetes.ContainerTemplate>
</containers>
<envVars>
<org.csanchez.jenkins.plugins.kubernetes.PodEnVar>
<key>MAVEN_OPTS</key>
<value>-Duser.home=/root/</value>
</org.csanchez.jenkins.plugins.kubernetes.PodEnVar>
</envVars>
<volumes>
<org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<mountPath>/root/.m2</mountPath>
<secretName>jenkins-maven-settings</secretName>
</org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-PersistentVolumeClaim>
<mountPath>/root/.mvnrepo</mountPath>
<claimName>jenkins-mvn-local-repo</claimName>
</org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-PersistentVolumeClaim>
</volumes>
</org.csanchez.jenkins.plugins.kubernetes.PodTemplate>
<org.csanchez.jenkins.plugins.kubernetes.PodTemplate>
<name>kubernetes</name>
<remoteFs>/home/jenkins/workspace</remoteFs>
<rootFs>/home/jenkins/</rootFs>
<containers>
<org.csanchez.jenkins.plugins.kubernetes.ContainerTemplate>
<name>jnlp</name>
<image>fabric8/jenkins-jnlp-client:${PROJECT_VERSION}</image>
<envVars>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>DOMAIN</key>
<value>${DOMAIN}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>JENKINS_WORKFLOW_GIT_REPOS</key>
<value>${JENKINS_WORKFLOW_GIT_REPOS}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>JENKINS_WORKFLOW_GIT_REPOSITORY</key>
<value>${JENKINS_WORKFLOW_GIT_REPOSITORY}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>SONATYPE_PASSWORD</key>
<value>${SONATYPE_PASSWORD}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>GITHUB_TOKEN</key>
<value>${GITHUB_TOKEN}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>DOCKER_REGISTRY_USERNAME</key>
<value>${DOCKER_REGISTRY_USERNAME}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>JENKINS_GOGS_EMAIL</key>
<value>${JENKINS_GOGS_EMAIL}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>DOCKER_REGISTRY_SERVER_ID</key>
<value>${DOCKER_REGISTRY_SERVER_ID}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>DOCKER_REGISTRY_PASSWORD</key>
<value>${DOCKER_REGISTRY_PASSWORD}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>DOCKER_REGISTRY_PREFIX</key>
<value>${DOCKER_REGISTRY_PREFIX}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>JENKINS_JOBS_GIT_REPOSITORY</key>
<value>${JENKINS_JOBS_GIT_REPOSITORY}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>SONATYPE_USERNAME</key>
<value>${SONATYPE_USERNAME}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>JENKINS_GOGS_USER</key>
<value>${JENKINS_GOGS_USER}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>JENKINS_GOGS_PASSWORD</key>
<value>${JENKINS_GOGS_PASSWORD}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>GPG_PASSPHRASE</key>
<value>${GPG_PASSPHRASE}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>GITHUB_AUTH_TOKEN</key>
<value>${GITHUB_AUTH_TOKEN}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>NEXUS_USERNAME</key>
<value>${NEXUS_USERNAME}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>NEXUS_PASSWORD</key>
<value>${NEXUS_PASSWORD}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>KUBERNETES_TRUST_CERTIFICATES</key>
<value>true</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>KUBERNETES_NAMESPACE</key>
<value>${KUBERNETES_NAMESPACE}</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>DOCKER_HOST</key>
<value>unix:/var/run/docker.sock</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
<key>DOCKER_AUTH_DOCKERCFG_PATH</key>
<value>/root/.docker/config.json</value>
</org.csanchez.jenkins.plugins.kubernetes.ContainerEnvVar>
</envVars>
</org.csanchez.jenkins.plugins.kubernetes.ContainerTemplate>
</containers>
<instanceCap>20</instanceCap>
<label>kubernetes</label>
<serviceAccount>jenkins</serviceAccount>
<volumes>
<org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-HostPathVolume>
<mountPath>/var/run/docker.sock</mountPath>
<hostPath>/var/run/docker.sock</hostPath>
</org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-HostPathVolume>
<org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<mountPath>/root/.ssh-git</mountPath>
<secretName>jenkins-git-ssh</secretName>
</org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<mountPath>/root/.ssh</mountPath>
<secretName>jenkins-ssh-config</secretName>
</org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<mountPath>/root/.gnupg</mountPath>
<secretName>jenkins-release-gpg</secretName>
</org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<mountPath>/root/ssh-keys</mountPath>
<secretName>jenkins-master-ssh</secretName>
</org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<mountPath>/root/.docker</mountPath>
<secretName>jenkins-docker-cfg</secretName>
</org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<mountPath>/root/.m2</mountPath>
<secretName>jenkins-maven-settings</secretName>
</org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
<mountPath>/root/.apitoken</mountPath>
<secretName>jenkins-hub-api-token</secretName>
</org.csanchez.jenkins.plugins.kubernetes.PodVolumes_-SecretVolume>
</volumes>
</org.csanchez.jenkins.plugins.kubernetes.PodTemplate>
</templates>
<serverUrl>https://kubernetes.default</serverUrl>
<skipTlsVerify>false</skipTlsVerify>
<jenkinsUrl>http://jenkins:80</jenkinsUrl>
<jenkinsTunnel>jenkins-jnlp:50000</jenkinsTunnel>
<containerCap>10</containerCap>
<retentionTimeout>5</retentionTimeout>
</org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud>
</clouds>
<quietPeriod>0</quietPeriod>
<scmCheckoutRetryCount>0</scmCheckoutRetryCount>
<views>
<hudson.model.AllView>
<owner class="hudson" reference="../../.."/>
<name>All</name>
<filterExecutors>false</filterExecutors>
<filterQueue>false</filterQueue>
<properties class="hudson.model.View$PropertyList"/>
</hudson.model.AllView>
</views>
<primaryView>All</primaryView>
<slaveAgentPort>50000</slaveAgentPort>
<label></label>
<nodeProperties/>
<globalNodeProperties/>
</hudson>