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