Merge "Relocation of android apk artifacts."
[ci-management.git] / jjb / hc2vpp / hc2vpp-csit.yaml
1 - project:
2     name: hc2vpp-csit
3     description: 'jenkins jobs to test Hc2vpp features.'
4     jobs:
5         - 'hc2vpp-csit-integration-{stream}-{os}'
6         - 'hc2vpp-csit-verify-{stream}-{os}'
7         - 'hc2vpp-csit-integration-odl-{odl}-{stream}-{os}'
8         - 'hc2vpp-csit-verify-odl-{odl}-{stream}-{os}'
9     project: 'hc2vpp'
10     build-artifact-num-to-keep: 10
11     stream:
12         - master:
13             branch: 'master'
14             repo-stream-part: 'master'
15         - '1701':
16             branch: 'stable/1701'
17             repo-stream-part: 'stable.1701'
18         - '1704':
19             branch: 'stable/1704'
20             repo-stream-part: 'stable.1704'
21     os:
22         - ubuntu1604:
23             repo-os-part: 'ubuntu.xenial.main'
24     odl:
25         - boron
26
27 - project:
28     name: csit-hc2vpp-perf
29     description: 'jenkins jobs to test Hc2vpp performance.'
30     jobs:
31         - 'hc2vpp-csit-perf-{stream}-{os}'
32     project: 'hc2vpp'
33     build-artifact-num-to-keep: 10
34     stream:
35         - master:
36             branch: 'master'
37             repo-stream-part: 'master'
38     os:
39         - ubuntu1604:
40             repo-os-part: 'ubuntu.xenial.main'
41     odl:
42         - boron
43
44 - job-template:
45     name: 'hc2vpp-csit-integration-{stream}-{os}'
46
47     project-type: freestyle
48     node: '{os}-basebuild-4c-4g'
49     concurrent: true
50
51     logrotate:
52         daysToKeep: '{build-days-to-keep}'
53         numToKeep: '{build-num-to-keep}'
54         artifactDaysToKeep: '{build-artifact-days-to-keep}'
55         artifactNumToKeep: '{build-artifact-num-to-keep}'
56
57     parameters:
58         - project-parameter:
59             project: '{project}'
60         - os-parameter:
61             os: '{os}'
62         - stream-parameter:
63             stream: '{stream}'
64
65     scm:
66         - git-scm:
67             credentials-id: 'jenkins-gerrit-credentials'
68             branch: '{branch}'
69
70     wrappers:
71         - fdio-infra-wrappers:
72             build-timeout: '{build-timeout}'
73
74     triggers:
75         - reverse:
76             jobs: 'hc2vpp-integration-{stream}-{os}'
77             result: 'success'
78
79     builders:
80         - shell:
81             !include-raw-escape: include-raw-hc2vpp-csit-integration.sh
82
83     publishers:
84         - archive-artifacts:
85             artifacts: 'csit/report.html, csit/log.html, csit/output.xml, csit/honeycomb.log'
86             latest-only: false
87         - email-notification:
88             email-prefix: '[hc2vpp]'
89
90         - robot-report:
91             output-path: 'csit'
92
93 - job-template:
94     name: 'hc2vpp-csit-verify-{stream}-{os}'
95
96     project-type: maven
97     node: '{os}-basebuild-4c-4g'
98     jdk: openjdk8-{os}
99     concurrent: true
100
101     logrotate:
102         daysToKeep: '{build-days-to-keep}'
103         numToKeep: '{build-num-to-keep}'
104         artifactDaysToKeep: '{build-artifact-days-to-keep}'
105         artifactNumToKeep: '{build-artifact-num-to-keep}'
106
107     parameters:
108         - project-parameter:
109             project: '{project}'
110         - gerrit-parameter:
111             branch: '{branch}'
112         - os-parameter:
113             os: '{os}'
114         - maven-project-parameter:
115             maven: 'mvn33-new'
116         - maven-exec:
117             maven-version: 'mvn33-new'
118         - stream-parameter:
119             stream: '{stream}'
120         - odl-parameter:
121             odl: '{odl}'
122
123     scm:
124         - gerrit-trigger-scm:
125             credentials-id: 'jenkins-gerrit-credentials'
126             refspec: '$GERRIT_REFSPEC'
127             choosing-strategy: 'gerrit'
128
129     wrappers:
130         - fdio-infra-wrappers:
131             build-timeout: '{build-timeout}'
132
133     triggers:
134         - gerrit:
135             server-name: 'Primary'
136             trigger-on:
137                 - comment-added-contains-event:
138                     comment-contains-value: 'verify-csit'
139             projects:
140               - project-compare-type: 'ANT'
141                 project-pattern: '{project}'
142                 branches:
143                   - branch-compare-type: 'ANT'
144                     branch-pattern: '**/{branch}'
145             skip-vote:
146                 successful: true
147                 failed: true
148                 unstable: true
149                 notbuilt: true
150
151     prebuilders:
152         - shell:
153             !include-raw-escape: include-raw-hc2vpp-csit-verify-prebuild.sh
154
155     maven:
156         maven-name: 'mvn33-new'
157         root-pom: 'pom.xml'
158         goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -DskipTests -Dcheckstyle.skip=true'
159         maven-opts: '-Xmx2048m -Dmaven.compile.fork=true'
160         settings: 'hc2vpp-settings'
161         settings-type: cfp
162         global-settings: 'global-settings'
163         global-settings-type: cfp
164
165     postbuilders:
166         - shell:
167             !include-raw-escape: include-raw-hc2vpp-csit-verify.sh
168
169     publishers:
170         - archive-artifacts:
171             artifacts: 'csit/report.html, csit/log.html, csit/output.xml, csit/honeycomb.log'
172             latest-only: false
173         - email-notification:
174             email-prefix: '[hc2vpp]'
175
176         - robot-report:
177             output-path: 'csit'
178
179 - job-template:
180     name: 'hc2vpp-csit-integration-odl-{odl}-{stream}-{os}'
181
182     project-type: freestyle
183     node: '{os}-basebuild-4c-4g'
184     concurrent: true
185
186     logrotate:
187         daysToKeep: '{build-days-to-keep}'
188         numToKeep: '{build-num-to-keep}'
189         artifactDaysToKeep: '{build-artifact-days-to-keep}'
190         artifactNumToKeep: '{build-artifact-num-to-keep}'
191
192     parameters:
193         - project-parameter:
194             project: '{project}'
195         - os-parameter:
196             os: '{os}'
197         - stream-parameter:
198             stream: '{stream}'
199         - odl-parameter:
200             odl: '{odl}'
201
202     scm:
203         - git-scm:
204             credentials-id: 'jenkins-gerrit-credentials'
205             branch: '{branch}'
206
207     wrappers:
208         - fdio-infra-wrappers:
209             build-timeout: '{build-timeout}'
210
211     triggers:
212         - reverse:
213             jobs: 'hc2vpp-integration-{stream}-{os}'
214             result: 'success'
215
216     builders:
217         - shell:
218             !include-raw-escape: include-raw-hc2vpp-csit-integration-odl.sh
219
220     publishers:
221         - archive-artifacts:
222             artifacts: 'csit/report.html, csit/log.html, csit/output.xml, csit/honeycomb.log'
223             latest-only: false
224         - email-notification:
225             email-prefix: '[hc2vpp]'
226
227         - robot-report:
228             output-path: 'csit'
229
230 - job-template:
231     name: 'hc2vpp-csit-verify-odl-{odl}-{stream}-{os}'
232
233     project-type: maven
234     node: '{os}-basebuild-4c-4g'
235     jdk: openjdk8-{os}
236     concurrent: true
237
238     logrotate:
239         daysToKeep: '{build-days-to-keep}'
240         numToKeep: '{build-num-to-keep}'
241         artifactDaysToKeep: '{build-artifact-days-to-keep}'
242         artifactNumToKeep: '{build-artifact-num-to-keep}'
243
244     parameters:
245         - project-parameter:
246             project: '{project}'
247         - gerrit-parameter:
248             branch: '{branch}'
249         - os-parameter:
250             os: '{os}'
251         - maven-project-parameter:
252             maven: 'mvn33-new'
253         - maven-exec:
254             maven-version: 'mvn33-new'
255         - stream-parameter:
256             stream: '{stream}'
257         - odl-parameter:
258             odl: '{odl}'
259
260     scm:
261         - gerrit-trigger-scm:
262             credentials-id: 'jenkins-gerrit-credentials'
263             refspec: '$GERRIT_REFSPEC'
264             choosing-strategy: 'gerrit'
265
266     wrappers:
267         - fdio-infra-wrappers:
268             build-timeout: '{build-timeout}'
269
270     triggers:
271         - gerrit:
272             server-name: 'Primary'
273             trigger-on:
274                 - comment-added-contains-event:
275                     comment-contains-value: 'verify-csit'
276             projects:
277               - project-compare-type: 'ANT'
278                 project-pattern: '{project}'
279                 branches:
280                   - branch-compare-type: 'ANT'
281                     branch-pattern: '**/{branch}'
282             skip-vote:
283                 successful: true
284                 failed: true
285                 unstable: true
286                 notbuilt: true
287
288     prebuilders:
289         - shell:
290             !include-raw-escape: include-raw-hc2vpp-csit-verify-prebuild.sh
291
292     maven:
293         maven-name: 'mvn33-new'
294         root-pom: 'pom.xml'
295         goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -DskipTests -Dcheckstyle.skip=true'
296         maven-opts: '-Xmx2048m -Dmaven.compile.fork=true'
297         settings: 'hc2vpp-settings'
298         settings-type: cfp
299         global-settings: 'global-settings'
300         global-settings-type: cfp
301
302     postbuilders:
303         - shell:
304             !include-raw-escape: include-raw-hc2vpp-csit-verify-odl.sh
305
306     publishers:
307         - archive-artifacts:
308             artifacts: 'csit/report.html, csit/log.html, csit/output.xml, csit/honeycomb.log'
309             latest-only: false
310         - email-notification:
311             email-prefix: '[hc2vpp]'
312
313         - robot-report:
314             output-path: 'csit'
315
316 - job-template:
317     name: 'hc2vpp-csit-perf-{stream}-{os}'
318
319     project-type: freestyle
320     node: '{os}-basebuild-4c-4g'
321     concurrent: false
322
323     logrotate:
324         daysToKeep: '{build-days-to-keep}'
325         numToKeep: '{build-num-to-keep}'
326         artifactDaysToKeep: '{build-artifact-days-to-keep}'
327         artifactNumToKeep: '{build-artifact-num-to-keep}'
328
329     parameters:
330         - project-parameter:
331             project: '{project}'
332         - os-parameter:
333             os: '{os}'
334         - stream-parameter:
335             stream: '{stream}'
336         - odl-parameter:
337             odl: '{odl}'
338
339     scm:
340         - gerrit-trigger-scm:
341             credentials-id: 'jenkins-gerrit-credentials'
342             refspec: '$GERRIT_REFSPEC'
343             choosing-strategy: 'gerrit'
344
345     wrappers:
346         - fdio-infra-wrappers:
347             build-timeout: '{build-timeout}'
348
349     triggers:
350         - gerrit:
351             server-name: 'Primary'
352             trigger-on:
353                 - comment-added-contains-event:
354                     comment-contains-value: 'verify-perf'
355
356             projects:
357               - project-compare-type: 'ANT'
358                 project-pattern: '{project}'
359                 branches:
360                   - branch-compare-type: 'ANT'
361                     branch-pattern: '**/{branch}'
362             skip-vote:
363                 successful: false
364                 failed: false
365                 unstable: false
366                 notbuilt: false
367
368     builders:
369         - shell:
370             !include-raw-escape: include-raw-hc2vpp-csit-perf.sh
371
372     publishers:
373         - archive-artifacts:
374             artifacts: 'csit/archive/*.*'
375             latest-only: false
376
377         - robot-report:
378             output-path: 'csit/archive'
379
380         - fdio-infra-shiplogs:
381             maven-version: 'mvn33-new'
382
383 - parameter:
384     name: odl-parameter
385     parameters:
386         - string:
387             name: ODL
388             default: '{odl}'
389             description: "ODL version parameter."