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