Merge "Add csit report merge job"
[ci-management.git] / jjb / csit / csit.yaml
1 - project:
2     name: csit
3     description: 'CSIT jenkins jobs.'
4
5     jobs:
6         - 'csit-dpdk-perf-{stream}-{type}'
7         - 'csit-vpp-perf-{stream}-{type}'
8         - 'csit-vpp-functional-{stream}-virl'
9         - 'csit-vpp-verify-{stream_timed}-weekly'
10         - 'csit-vpp-verify-{stream_timed}-semiweekly'
11         - 'csit-vpp-verify-perf-master-nightly-all'
12         - 'csit-docs-merge-{stream}'
13         - 'csit-docs-verify-{stream}'
14         - 'csit-report-merge-{stream}'
15
16     project: 'csit'
17     branch: 'master'
18     branch-id: 'oper'
19     build-artifact-num-to-keep: 10
20     type:
21         - all
22         - long
23     stream_timed:
24         - master:
25             branch: 'master'
26             branch-id: 'oper'
27         - '1701':
28             branch: 'rls1701'
29             branch-id: 'oper-rls1701'
30     stream:
31         - master:
32             branch: 'master'
33             branch-id: 'oper'
34         - '1606':
35             branch: 'rls1606'
36             branch-id: 'oper-rls1606'
37         - '1609':
38             branch: 'rls1609'
39             branch-id: 'oper-rls1609'
40         - '1701':
41             branch: 'rls1701'
42             branch-id: 'oper-rls1701'
43
44
45 - job-template:
46     name: 'csit-vpp-functional-{stream}-virl'
47
48     project-type: freestyle
49     node: ubuntu1604-basebuild-4c-4g
50     concurrent: true
51
52     logrotate:
53         daysToKeep: '{build-days-to-keep}'
54         numToKeep: '{build-num-to-keep}'
55         artifactDaysToKeep: '{build-artifact-days-to-keep}'
56         artifactNumToKeep: '{build-artifact-num-to-keep}'
57
58     parameters:
59         - project-parameter:
60             project: '{project}'
61         - gerrit-parameter:
62             branch: '{branch}'
63
64     scm:
65         - gerrit-trigger-scm:
66             credentials-id: 'jenkins-gerrit-credentials'
67             refspec: '$GERRIT_REFSPEC'
68             choosing-strategy: 'gerrit'
69
70     wrappers:
71        - fdio-infra-wrappers:
72             build-timeout: '{build-timeout}'
73
74     triggers:
75         - gerrit-trigger-patch-submitted:
76             name: '{project}'
77             branch: '{branch}'
78
79     builders:
80         - shell:
81             !include-raw-escape: include-raw-csit-vpp-functional-virl.sh
82
83     publishers:
84         - archive-artifacts:
85             artifacts: 'report.html, log.html, output.xml'
86             latest-only: false
87
88         - robot-report:
89             output-path: ''
90
91         - fdio-infra-shiplogs:
92             maven-version: 'mvn33-new'
93
94 - job-template:
95     name: 'csit-dpdk-perf-{stream}-{type}'
96
97     project-type: freestyle
98     node: ubuntu1604-basebuild-4c-4g
99     concurrent: false
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         - type-parameter:
113             type: '{type}'
114
115     scm:
116         - gerrit-trigger-scm:
117             credentials-id: 'jenkins-gerrit-credentials'
118             refspec: '$GERRIT_REFSPEC'
119             choosing-strategy: 'gerrit'
120
121     wrappers:
122       - fdio-infra-wrappers-non-activity-timeout:
123           build-timeout: 30
124
125     triggers:
126         - gerrit-trigger-manually-triggered:
127             name: '{project}'
128             branch: '{branch}'
129             comment-trigger-value: 'verify-perf-dpdk-{type}'
130
131     builders:
132         - shell:
133             !include-raw-escape: jjb/csit/include-raw-csit-dpdk-perf-hw.sh
134
135     publishers:
136         - archive-artifacts:
137             artifacts: 'report.html, log.html, output.xml, output_perf_data.xml'
138             latest-only: false
139
140         - robot-report:
141             output-path: ''
142
143         - fdio-infra-shiplogs:
144             maven-version: 'mvn33-new'
145
146 - job-template:
147     name: 'csit-vpp-perf-{stream}-{type}'
148
149     project-type: freestyle
150     node: ubuntu1604-basebuild-4c-4g
151     concurrent: false
152
153     logrotate:
154         daysToKeep: '{build-days-to-keep}'
155         numToKeep: '{build-num-to-keep}'
156         artifactDaysToKeep: '{build-artifact-days-to-keep}'
157         artifactNumToKeep: '{build-artifact-num-to-keep}'
158
159     parameters:
160         - project-parameter:
161             project: '{project}'
162         - gerrit-parameter:
163             branch: '{branch}'
164         - type-parameter:
165             type: '{type}'
166
167     scm:
168         - gerrit-trigger-scm:
169             credentials-id: 'jenkins-gerrit-credentials'
170             refspec: '$GERRIT_REFSPEC'
171             choosing-strategy: 'gerrit'
172
173     wrappers:
174       - fdio-infra-wrappers-non-activity-timeout:
175           build-timeout: 30
176
177     triggers:
178         - gerrit-trigger-manually-triggered:
179             name: '{project}'
180             branch: '{branch}'
181             comment-trigger-value: 'verify-perf-{type}'
182
183     builders:
184         - shell:
185             !include-raw-escape: jjb/csit/include-raw-csit-vpp-perf-hw.sh
186
187     publishers:
188         - archive-artifacts:
189             artifacts: 'report.html, log.html, output.xml, output_perf_data.xml'
190             latest-only: false
191
192         - robot-report:
193             output-path: ''
194
195         - plot:
196             - title: 'RFC2544 binary search with 64B, worker-thread=1, rss=1, NDR'
197               yaxis: 'Packets Per Second'
198               group: 'RFC2544:NDR'
199               num-builds: '20'
200               keep-records: True
201               csv-file-name: 'csit-vpp-perf-{stream}-{type}-1.csv'
202               series:
203                   - file: 'output_perf_data.xml'
204                     format: xml
205                     xpath-type: 'nodeset'
206                     xpath: '//*[@framesize="64" and contains(@tags,"NDR") and @workerthreads="1"]'
207             - title: 'RFC2544 binary search with 78B, worker-thread=1, rss=1, NDR'
208               yaxis: 'Packets Per Second'
209               group: 'RFC2544:NDR'
210               num-builds: '20'
211               keep-records: True
212               csv-file-name: 'csit-vpp-perf-{stream}-{type}-2.csv'
213               series:
214                   - file: 'output_perf_data.xml'
215                     format: xml
216                     xpath-type: 'nodeset'
217                     xpath: '//*[@framesize="78" and contains(@tags,"NDR") and @workerthreads="1"]'
218             - title: 'RFC2544 binary search with 64B, worker-thread=2, rss=1, NDR'
219               yaxis: 'Packets Per Second'
220               group: 'RFC2544:NDR'
221               num-builds: '20'
222               keep-records: True
223               csv-file-name: 'csit-vpp-perf-{stream}-{type}-3.csv'
224               series:
225                   - file: 'output_perf_data.xml'
226                     format: xml
227                     xpath-type: 'nodeset'
228                     xpath: '//*[@framesize="64" and contains(@tags,"NDR") and @workerthreads="2"]'
229             - title: 'RFC2544 binary search with 78B, worker-thread=2, rss=1, NDR'
230               yaxis: 'Packets Per Second'
231               group: 'RFC2544:NDR'
232               num-builds: '20'
233               keep-records: True
234               csv-file-name: 'csit-vpp-perf-{stream}-{type}-4.csv'
235               series:
236                   - file: 'output_perf_data.xml'
237                     format: xml
238                     xpath-type: 'nodeset'
239                     xpath: '//*[@framesize="78" and contains(@tags,"NDR") and @workerthreads="2"]'
240             - title: 'RFC2544 binary search with 64B, worker-thread=4, rss=2, NDR'
241               yaxis: 'Packets Per Second'
242               group: 'RFC2544:NDR'
243               num-builds: '20'
244               keep-records: True
245               csv-file-name: 'csit-vpp-perf-{stream}-{type}-5.csv'
246               series:
247                   - file: 'output_perf_data.xml'
248                     format: xml
249                     xpath-type: 'nodeset'
250                     xpath: '//*[@framesize="64" and contains(@tags,"NDR") and @workerthreads="4"]'
251             - title: 'RFC2544 binary search with 78B, worker-thread=4, rss=2, NDR'
252               yaxis: 'Packets Per Second'
253               group: 'RFC2544:NDR'
254               num-builds: '20'
255               keep-records: True
256               csv-file-name: 'csit-vpp-perf-{stream}-{type}-6.csv'
257               series:
258                   - file: 'output_perf_data.xml'
259                     format: xml
260                     xpath-type: 'nodeset'
261                     xpath: '//*[@framesize="78" and contains(@tags,"NDR") and @workerthreads="4"]'
262             - title: 'RFC2544 binary search with 64B, worker-thread=1, rss=1, PDR=0.5%'
263               yaxis: 'Packets Per Second'
264               group: 'RFC2544:PDR'
265               num-builds: '20'
266               keep-records: True
267               csv-file-name: 'csit-vpp-perf-{stream}-{type}-7.csv'
268               series:
269                   - file: 'output_perf_data.xml'
270                     format: xml
271                     xpath-type: 'nodeset'
272                     xpath: '//*[@framesize="64" and contains(@tags,"PDR") and @workerthreads="1"]'
273             - title: 'RFC2544 binary search with 78B, worker-thread=1, rss=1, PDR=0.5%'
274               yaxis: 'Packets Per Second'
275               group: 'RFC2544:PDR'
276               num-builds: '20'
277               keep-records: True
278               csv-file-name: 'csit-vpp-perf-{stream}-{type}-8.csv'
279               series:
280                   - file: 'output_perf_data.xml'
281                     format: xml
282                     xpath-type: 'nodeset'
283                     xpath: '//*[@framesize="78" and contains(@tags,"PDR") and @workerthreads="1"]'
284             - title: 'RFC2544 binary search with 64B, worker-thread=2, rss=1, PDR=0.5%'
285               yaxis: 'Packets Per Second'
286               group: 'RFC2544:PDR'
287               num-builds: '20'
288               keep-records: True
289               csv-file-name: 'csit-vpp-perf-{stream}-{type}-9.csv'
290               series:
291                   - file: 'output_perf_data.xml'
292                     format: xml
293                     xpath-type: 'nodeset'
294                     xpath: '//*[@framesize="64" and contains(@tags,"PDR") and @workerthreads="2"]'
295             - title: 'RFC2544 binary search with 78B, worker-thread=2, rss=1, PDR=0.5%'
296               yaxis: 'Packets Per Second'
297               group: 'RFC2544:PDR'
298               num-builds: '20'
299               keep-records: True
300               csv-file-name: 'csit-vpp-perf-{stream}-{type}-10.csv'
301               series:
302                   - file: 'output_perf_data.xml'
303                     format: xml
304                     xpath-type: 'nodeset'
305                     xpath: '//*[@framesize="78" and contains(@tags,"PDR") and @workerthreads="2"]'
306             - title: 'RFC2544 binary search with 64B, worker-thread=4, rss=2, PDR=0.5%'
307               yaxis: 'Packets Per Second'
308               group: 'RFC2544:PDR'
309               num-builds: '20'
310               keep-records: True
311               csv-file-name: 'csit-vpp-perf-{stream}-{type}-11.csv'
312               series:
313                   - file: 'output_perf_data.xml'
314                     format: xml
315                     xpath-type: 'nodeset'
316                     xpath: '//*[@framesize="64" and contains(@tags,"PDR") and @workerthreads="4"]'
317             - title: 'RFC2544 binary search with 78B, worker-thread=4, rss=2, PDR=0.5%'
318               yaxis: 'Packets Per Second'
319               group: 'RFC2544:PDR'
320               num-builds: '20'
321               keep-records: True
322               csv-file-name: 'csit-vpp-perf-{stream}-{type}-12.csv'
323               series:
324                   - file: 'output_perf_data.xml'
325                     format: xml
326                     xpath-type: 'nodeset'
327                     xpath: '//*[@framesize="78" and contains(@tags,"PDR") and @workerthreads="4"]'
328
329         - fdio-infra-shiplogs:
330             maven-version: 'mvn33-new'
331
332 - job-template:
333     name: 'csit-vpp-verify-{stream_timed}-weekly'
334     description: 'Purpose of this job is to validate CSIT code of corresponding branch against verified vpp build from corresponding branch and create corresponding operational branch in case of success.'
335
336     project-type: freestyle
337     node: ubuntu1604-basebuild-4c-4g
338     concurrent: false
339
340     logrotate:
341         daysToKeep: '{build-days-to-keep}'
342         numToKeep: '{build-num-to-keep}'
343         artifactDaysToKeep: '{build-artifact-days-to-keep}'
344         artifactNumToKeep: '{build-artifact-num-to-keep}'
345
346     parameters:
347         - project-parameter:
348             project: '{project}'
349         - gerrit-parameter:
350             branch: '{branch}'
351
352     scm:
353         - git-scm:
354             credentials-id: 'jenkins-gerrit-credentials'
355             branch: '{branch}'
356
357     wrappers:
358         - fdio-infra-wrappers:
359             build-timeout: '600'
360
361     triggers:
362         - timed: '0 4 * * 0'
363
364         - gerrit-trigger-manually-triggered:
365             comment-trigger-value: 'csit-vpp-ref-verify'
366             name: '{project}'
367             branch: '{branch}'
368
369     builders:
370         - shell:
371             !include-raw-escape: jjb/csit/include-raw-csit-vpp-verify-weekly.sh
372         - shell: 'echo "DATE=`date +%y%m%d`" > $WORKSPACE/variables.prop'
373         - inject:
374             properties-file: variables.prop
375
376     publishers:
377         - archive-artifacts:
378             artifacts: 'report.html, log.html, output.xml'
379             latest-only: false
380
381         - robot-report:
382             output-path: ''
383         - git:
384                push-only-if-success: true
385                branches:
386                 - branch:
387                     remote: origin
388                     name: 'refs/heads/{branch-id}-$DATE'
389
390         - fdio-infra-shiplogs:
391             maven-version: 'mvn33-new'
392
393 - job-template:
394     name: 'csit-vpp-verify-{stream_timed}-semiweekly'
395     description: 'Purpose of this job is to validate latest vpp build from corresponding branch stored in nexus against verified CSIT codebase of corresponding branch.'
396
397     project-type: freestyle
398     node: ubuntu1604-basebuild-4c-4g
399     concurrent: false
400
401     logrotate:
402         daysToKeep: '{build-days-to-keep}'
403         numToKeep: '{build-num-to-keep}'
404         artifactDaysToKeep: '{build-artifact-days-to-keep}'
405         artifactNumToKeep: '{build-artifact-num-to-keep}'
406
407     parameters:
408         - project-parameter:
409             project: '{project}'
410         - gerrit-parameter:
411             branch: '{branch}'
412
413     wrappers:
414         - fdio-infra-wrappers:
415             build-timeout: 480
416
417     triggers:
418         - timed: '0 4 * * 2,6'
419
420         - gerrit-trigger-manually-triggered:
421             comment-trigger-value: 'csit-verify-vpp'
422             name: '{project}'
423             branch: '{branch}'
424
425     builders:
426         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
427         - inject:
428             properties-file: variables.prop
429         - shell:
430             !include-raw-escape: jjb/csit/include-raw-csit-vpp-verify-semiweekly.sh
431
432     publishers:
433         - archive-artifacts:
434             artifacts: 'csit/archive/*.*'
435             latest-only: false
436
437         - robot-report:
438             output-path: 'csit/archive'
439
440         - fdio-infra-shiplogs:
441             maven-version: 'mvn33-new'
442
443 - job-template:
444     name: 'csit-vpp-verify-perf-master-nightly-all'
445     description: 'Purpose of this job is to validate latest vpp build from corresponding branch stored in nexus against verified CSIT codebase of corresponding branch.'
446
447     project-type: freestyle
448     node: ubuntu1604-basebuild-4c-4g
449     concurrent: false
450
451     logrotate:
452         daysToKeep: '{build-days-to-keep}'
453         numToKeep: '{build-num-to-keep}'
454         artifactDaysToKeep: '{build-artifact-days-to-keep}'
455         artifactNumToKeep: '{build-artifact-num-to-keep}'
456
457     parameters:
458         - project-parameter:
459             project: '{project}'
460         - gerrit-parameter:
461             branch: '{branch}'
462
463     wrappers:
464       - fdio-infra-wrappers-non-activity-timeout:
465           build-timeout: '1440'
466
467     triggers:
468         - timed: '0 20 * * *'
469
470     builders:
471         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
472         - inject:
473             properties-file: variables.prop
474         - shell:
475             !include-raw-escape: jjb/csit/include-raw-csit-vpp-perf-nightly.sh
476
477     publishers:
478         - archive-artifacts:
479             artifacts: 'csit/archive/*.*'
480             latest-only: false
481
482         - robot-report:
483             output-path: 'csit/archive'
484
485         - plot:
486             - title: 'RFC2544 binary search with 64B, worker-thread=1, rxq=1, NDR'
487               yaxis: 'Packets Per Second'
488               group: 'RFC2544:NDR'
489               num-builds: '20'
490               keep-records: True
491               csv-file-name: 'csit-vpp-verify-master-nightly-1.csv'
492               series:
493                   - file: 'csit/output_perf_data.xml'
494                     format: xml
495                     xpath-type: 'nodeset'
496                     xpath: '//*[@framesize="64" and contains(@tags,"NDR") and @workerthreads="1"]'
497             - title: 'RFC2544 binary search with 78B, worker-thread=1, rxq=1, NDR'
498               yaxis: 'Packets Per Second'
499               group: 'RFC2544:NDR'
500               num-builds: '20'
501               keep-records: True
502               csv-file-name: 'csit-vpp-verify-master-nightly-2.csv'
503               series:
504                   - file: 'csit/output_perf_data.xml'
505                     format: xml
506                     xpath-type: 'nodeset'
507                     xpath: '//*[@framesize="78" and contains(@tags,"NDR") and @workerthreads="1"]'
508             - title: 'RFC2544 binary search with 64B, worker-thread=2, rxq=1, NDR'
509               yaxis: 'Packets Per Second'
510               group: 'RFC2544:NDR'
511               num-builds: '20'
512               keep-records: True
513               csv-file-name: 'csit-vpp-verify-master-nightly-3.csv'
514               series:
515                   - file: 'csit/output_perf_data.xml'
516                     format: xml
517                     xpath-type: 'nodeset'
518                     xpath: '//*[@framesize="64" and contains(@tags,"NDR") and @workerthreads="2"]'
519             - title: 'RFC2544 binary search with 78B, worker-thread=2, rxq=1, NDR'
520               yaxis: 'Packets Per Second'
521               group: 'RFC2544:NDR'
522               num-builds: '20'
523               keep-records: True
524               csv-file-name: 'csit-vpp-verify-master-nightly-4.csv'
525               series:
526                   - file: 'csit/output_perf_data.xml'
527                     format: xml
528                     xpath-type: 'nodeset'
529                     xpath: '//*[@framesize="78" and contains(@tags,"NDR") and @workerthreads="2"]'
530             - title: 'RFC2544 binary search with 64B, worker-thread=4, rxq=2, NDR'
531               yaxis: 'Packets Per Second'
532               group: 'RFC2544:NDR'
533               num-builds: '20'
534               keep-records: True
535               csv-file-name: 'csit-vpp-verify-master-nightly-5.csv'
536               series:
537                   - file: 'csit/output_perf_data.xml'
538                     format: xml
539                     xpath-type: 'nodeset'
540                     xpath: '//*[@framesize="64" and contains(@tags,"NDR") and @workerthreads="4"]'
541             - title: 'RFC2544 binary search with 78B, worker-thread=4, rxq=2, NDR'
542               yaxis: 'Packets Per Second'
543               group: 'RFC2544:NDR'
544               num-builds: '20'
545               keep-records: True
546               csv-file-name: 'csit-vpp-verify-master-nightly-6.csv'
547               series:
548                   - file: 'csit/output_perf_data.xml'
549                     format: xml
550                     xpath-type: 'nodeset'
551                     xpath: '//*[@framesize="78" and contains(@tags,"NDR") and @workerthreads="4"]'
552             - title: 'RFC2544 binary search with 64B, worker-thread=1, rxq=1, PDR=0.5%'
553               yaxis: 'Packets Per Second'
554               group: 'RFC2544:PDR'
555               num-builds: '20'
556               keep-records: True
557               csv-file-name: 'csit-vpp-verify-master-nightly-7.csv'
558               series:
559                   - file: 'csit/output_perf_data.xml'
560                     format: xml
561                     xpath-type: 'nodeset'
562                     xpath: '//*[@framesize="64" and contains(@tags,"PDR") and @workerthreads="1"]'
563             - title: 'RFC2544 binary search with 78B, worker-thread=1, rxq=1, PDR=0.5%'
564               yaxis: 'Packets Per Second'
565               group: 'RFC2544:PDR'
566               num-builds: '20'
567               keep-records: True
568               csv-file-name: 'csit-vpp-verify-master-nightly-8.csv'
569               series:
570                   - file: 'csit/output_perf_data.xml'
571                     format: xml
572                     xpath-type: 'nodeset'
573                     xpath: '//*[@framesize="78" and contains(@tags,"PDR") and @workerthreads="1"]'
574             - title: 'RFC2544 binary search with 64B, worker-thread=2, rxq=1, PDR=0.5%'
575               yaxis: 'Packets Per Second'
576               group: 'RFC2544:PDR'
577               num-builds: '20'
578               keep-records: True
579               csv-file-name: 'csit-vpp-verify-master-nightly-9.csv'
580               series:
581                   - file: 'csit/output_perf_data.xml'
582                     format: xml
583                     xpath-type: 'nodeset'
584                     xpath: '//*[@framesize="64" and contains(@tags,"PDR") and @workerthreads="2"]'
585             - title: 'RFC2544 binary search with 78B, worker-thread=2, rxq=1, PDR=0.5%'
586               yaxis: 'Packets Per Second'
587               group: 'RFC2544:PDR'
588               num-builds: '20'
589               keep-records: True
590               csv-file-name: 'csit-vpp-verify-master-nightly-10.csv'
591               series:
592                   - file: 'csit/output_perf_data.xml'
593                     format: xml
594                     xpath-type: 'nodeset'
595                     xpath: '//*[@framesize="78" and contains(@tags,"PDR") and @workerthreads="2"]'
596             - title: 'RFC2544 binary search with 64B, worker-thread=4, rxq=2, PDR=0.5%'
597               yaxis: 'Packets Per Second'
598               group: 'RFC2544:PDR'
599               num-builds: '20'
600               keep-records: True
601               csv-file-name: 'csit-vpp-verify-master-nightly-11.csv'
602               series:
603                   - file: 'csit/output_perf_data.xml'
604                     format: xml
605                     xpath-type: 'nodeset'
606                     xpath: '//*[@framesize="64" and contains(@tags,"PDR") and @workerthreads="4"]'
607             - title: 'RFC2544 binary search with 78B, worker-thread=4, rxq=2, PDR=0.5%'
608               yaxis: 'Packets Per Second'
609               group: 'RFC2544:PDR'
610               num-builds: '20'
611               keep-records: True
612               csv-file-name: 'csit-vpp-verify-master-nightly-12.csv'
613               series:
614                   - file: 'csit/output_perf_data.xml'
615                     format: xml
616                     xpath-type: 'nodeset'
617                     xpath: '//*[@framesize="78" and contains(@tags,"PDR") and @workerthreads="4"]'
618
619         - fdio-infra-shiplogs:
620             maven-version: 'mvn33-new'
621
622 - job-template:
623     name: 'csit-docs-verify-{stream}'
624
625     project-type: freestyle
626     node: 'ubuntu1604-basebuild-4c-4g'
627     concurrent: true
628
629     logrotate:
630         daysToKeep: '{build-days-to-keep}'
631         numToKeep: '{build-num-to-keep}'
632         artifactDaysToKeep: '{build-artifact-days-to-keep}'
633         artifactNumToKeep: '{build-artifact-num-to-keep}'
634
635     parameters:
636         - project-parameter:
637             project: '{project}'
638         - gerrit-parameter:
639             branch: '{branch}'
640         - maven-exec:
641             maven-version: 'mvn33-new'
642
643     scm:
644         - gerrit-trigger-scm:
645             credentials-id: 'jenkins-gerrit-credentials'
646             refspec: '$GERRIT_REFSPEC'
647             choosing-strategy: 'gerrit'
648
649     wrappers:
650         - fdio-infra-wrappers:
651             build-timeout: '{build-timeout}'
652         - fdio-infra-wrappers-non-activity-timeout:
653             build-timeout: 360
654
655     triggers:
656         - gerrit-trigger-patch-submitted:
657             name: '{project}'
658             branch: '{branch}'
659
660     builders:
661         - maven-target:
662             maven-version: 'mvn33-new'
663             goals: '--version'
664             settings: 'csit-settings'
665             settings-type: cfp
666             global-settings: 'global-settings'
667             global-settings-type: cfp
668         - provide-maven-settings:
669             settings-file: 'csit-settings'
670             global-settings-file: 'global-settings'
671         - shell:
672             !include-raw-escape: include-raw-csit-docs.sh
673
674     publishers:
675         - archive:
676             artifacts: 'resources/tools/doc_gen/csit.docs.tar.gz'
677             allow-empty: 'true'
678             fingerprint: false
679             only-if-success: true
680             default-excludes: false
681
682         - fdio-infra-shiplogs:
683             maven-version: 'mvn33-new'
684
685 - job-template:
686     name: 'csit-docs-merge-{stream}'
687
688     project-type: freestyle
689     node: 'ubuntu1604-basebuild-4c-4g'
690     concurrent: true
691
692     logrotate:
693         daysToKeep: '{build-days-to-keep}'
694         numToKeep: '{build-num-to-keep}'
695         artifactDaysToKeep: '{build-artifact-days-to-keep}'
696         artifactNumToKeep: '{build-artifact-num-to-keep}'
697
698     parameters:
699         - project-parameter:
700             project: '{project}'
701         - gerrit-parameter:
702             branch: '{branch}'
703         - maven-exec:
704             maven-version: 'mvn33-new'
705
706     scm:
707         - gerrit-trigger-scm:
708             credentials-id: 'jenkins-gerrit-credentials'
709             refspec: ''
710             choosing-strategy: 'default'
711
712     wrappers:
713         - fdio-infra-wrappers:
714             build-timeout: '{build-timeout}'
715         - fdio-infra-wrappers-non-activity-timeout:
716             build-timeout: 360
717
718     triggers:
719         - reverse:
720             jobs: 'csit-vpp-verify-{stream}-weekly'
721             result: 'success'
722         - gerrit:
723             server-name: 'Primary'
724             trigger-on:
725                 - comment-added-contains-event:
726                     comment-contains-value: 'run-docs'
727             projects:
728               - project-compare-type: 'ANT'
729                 project-pattern: '{project}'
730                 branches:
731                   - branch-compare-type: 'ANT'
732                     branch-pattern: '**/{branch}'
733             skip-vote:
734                 successful: true
735                 failed: true
736                 unstable: true
737                 notbuilt: true
738
739     builders:
740         - maven-target:
741             maven-version: 'mvn33-new'
742             goals: '--version'
743             settings: 'csit-settings'
744             settings-type: cfp
745             global-settings: 'global-settings'
746             global-settings-type: cfp
747         - provide-maven-settings:
748             settings-file: 'csit-settings'
749             global-settings-file: 'global-settings'
750         - shell:
751             !include-raw-escape: include-raw-csit-docs.sh
752
753     publishers:
754         - archive:
755             artifacts: 'resources/tools/doc_gen/csit.docs.tar.gz'
756             allow-empty: 'true'
757             fingerprint: false
758             only-if-success: true
759             default-excludes: false
760
761         - fdio-infra-shiplogs:
762             maven-version: 'mvn33-new'
763
764 - job-template:
765     name: 'csit-report-merge-{stream}'
766
767     project-type: freestyle
768     node: 'ubuntu1604-basebuild-4c-4g'
769     concurrent: false
770
771     logrotate:
772         daysToKeep: '{build-days-to-keep}'
773         numToKeep: '{build-num-to-keep}'
774         artifactDaysToKeep: '{build-artifact-days-to-keep}'
775         artifactNumToKeep: '{build-artifact-num-to-keep}'
776
777     parameters:
778         - project-parameter:
779             project: '{project}'
780         - gerrit-parameter:
781             branch: '{branch}'
782         - maven-exec:
783             maven-version: 'mvn33-new'
784
785     scm:
786         - gerrit-trigger-scm:
787             credentials-id: 'jenkins-gerrit-credentials'
788             refspec: ''
789             choosing-strategy: 'default'
790
791     wrappers:
792         - fdio-infra-wrappers:
793             build-timeout: '{build-timeout}'
794         - fdio-infra-wrappers-non-activity-timeout:
795             build-timeout: 360
796
797     triggers:
798         - gerrit:
799             server-name: 'Primary'
800             trigger-on:
801                 - comment-added-contains-event:
802                     comment-contains-value: 'run-report'
803             projects:
804               - project-compare-type: 'ANT'
805                 project-pattern: '{project}'
806                 branches:
807                   - branch-compare-type: 'ANT'
808                     branch-pattern: '**/{branch}'
809             skip-vote:
810                 successful: true
811                 failed: true
812                 unstable: true
813                 notbuilt: true
814
815     builders:
816         - maven-target:
817             maven-version: 'mvn33-new'
818             goals: '--version'
819             settings: 'csit-settings'
820             settings-type: cfp
821             global-settings: 'global-settings'
822             global-settings-type: cfp
823         - provide-maven-settings:
824             settings-file: 'csit-settings'
825             global-settings-file: 'global-settings'
826         - shell:
827             !include-raw-escape: include-raw-csit-report.sh
828
829     publishers:
830         - archive:
831             artifacts: 'resources/tools/report_gen/csit.report.tar.gz'
832             allow-empty: 'true'
833             fingerprint: false
834             only-if-success: true
835             default-excludes: false
836
837         - fdio-infra-shiplogs:
838             maven-version: 'mvn33-new'
839
840 - parameter:
841     name: test-type-parameter
842     parameters:
843         - string:
844             name: TYPE
845             default: '{type}'
846             description: "Test TYPE parameter if not given by trigger"