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