Merge "Modify archive-artifacts to allow for a list"
[ci-management.git] / jjb / csit / csit.yaml
1 # Copyright (c) 2018 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 ---
15 - project:
16     name: csit
17     description: 'CSIT Jenkins jobs.'
18     os:
19       - 'ubuntu1604'
20       - 'centos7'
21
22     topo:
23       - '2n'
24       - '3n'
25
26     arch:
27       - 'skx'
28       - 'hsw'
29       - 'arm'
30
31     jobs:
32       - 'csit-vpp-functional-{stream}-{os}-virl'
33       - 'csit-vpp-verify-{stream_timed}-{os}-weekly'
34       - 'csit-vpp-verify-{stream_timed}-{os}-semiweekly'
35       - 'csit-docs-merge-{stream_timed}'
36       - 'csit-docs-verify-{stream}'
37       - 'csit-report-merge-{stream}'
38       - 'csit-trending-daily-master'
39       - 'csit-dpdk-perf-verify-{stream}-{topo}-{arch}'
40       - 'csit-dpdk-perf-mrr-weekly-master'
41       - 'csit-dpdk-perf-mrr-weekly-master-2n-skx'
42       - 'csit-dpdk-perf-mrr-weekly-master-3n-skx'
43       - 'csit-ligato-perf-verify-{stream}-{topo}-{arch}'
44       - 'csit-ligato-perf-mrr-daily-master-3n-hsw'
45       - 'csit-vpp-perf-mrr-daily-master'
46       - 'csit-vpp-perf-mrr-daily-master-2n-skx'
47       - 'csit-vpp-perf-mrr-daily-master-3n-skx'
48       - 'csit-vpp-perf-ndrpdr-weekly-master-3n-hsw'
49       - 'csit-vpp-perf-ndrpdr-weekly-master-2n-skx'
50       - 'csit-vpp-perf-ndrpdr-weekly-master-3n-skx'
51       - 'csit-vpp-perf-verify-{stream}-{topo}-{arch}'
52       - 'csit-nsh_sfc-verify-perf-{stream}'
53       - 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
54       - 'csit-tldk-verify-func-{stream}-{os}-virl'
55       - 'csit-dmm-functional-{stream}-ubuntu1604-virl'
56
57     project: 'csit'
58     branch: 'master'
59     branch-id: 'oper'
60     build-artifact-num-to-keep: 10
61     type:
62       - all
63     stream_timed:
64       - master:
65           branch: 'master'
66           branch-id: 'oper'
67       - '1810':
68           branch: 'rls1810'
69           branch-id: 'oper-rls1810'
70     stream:
71       - master:
72           branch: 'master'
73           branch-id: 'oper'
74       - '1801':
75           branch: 'rls1801'
76           branch-id: 'oper-rls1801'
77       - '1804':
78           branch: 'rls1804'
79           branch-id: 'oper-rls1804'
80       - '1807':
81           branch: 'rls1807'
82           branch-id: 'oper-rls1807'
83       - '1810':
84           branch: 'rls1810'
85           branch-id: 'oper-rls1810'
86
87 - job-template:
88     name: 'csit-vpp-functional-{stream}-{os}-virl'
89
90     project-type: freestyle
91     node: '{os}-basebuild-4c-4g'
92     concurrent: true
93
94     build-discarder:
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
106     scm:
107       - gerrit-trigger-scm:
108           credentials-id: 'jenkins-gerrit-credentials'
109           refspec: '$GERRIT_REFSPEC'
110           choosing-strategy: 'gerrit'
111
112     wrappers:
113       - fdio-infra-wrappers:
114           build-timeout: '{build-timeout}'
115
116     triggers:
117       - gerrit-trigger-patch-submitted:
118           name: '{project}'
119           branch: '{branch}'
120
121     builders:
122       - shell:
123           !include-raw-escape: include-raw-csit-vpp-functional-virl.sh
124
125     publishers:
126       - archive-artifacts:
127           artifacts: >
128             **/csit/report.html,
129             **/csit/log.html,
130             **/csit/output.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-dpdk-perf-verify-{stream}-{topo}-{arch}'
141
142     description: |
143       <ul>
144           <li>objective
145               <ul>
146                   <li>perf verify - per csit gerrit patch
147               </ul>
148           <li>job
149               <ul>
150                   <li>name: <b>csit-dpdk-perf-verify-{stream}-{topo}-{arch}</b>
151                   <li>trigger: keyword in comment to csit patch:
152                       <b>csit-dpdk-{topo}-{arch}-perftest tag_list</b>
153               </ul>
154           <li>perf test-cases selection
155               <ul>
156                   <li>test-cases selected using trigger keyword followed by tags
157                   <li>all test-cases are labelled with CSIT RF topic tags
158                       defined in <i>csit/docs/tag_documentation.rst</i>
159               </ul>
160           <li>default tags for dpdk perf test type
161               <ul>
162                   <li>IP4BASE, L2XCBASE
163                   <li>64B: 64B packet size
164                   <li>1C: one core
165                   <li>X710: x710 Fortville NIC
166                   <li>MRR: MRR throughput
167               </ul>
168           <li>results
169               <ul>
170                   <li>jjb verify: PASS/FAIL
171                   <li>present: no
172                   <li>analyse: no
173               </ul>
174       </ul>
175
176     project-type: freestyle
177     node: 'ubuntu1604-basebuild-4c-4g'
178     concurrent: true
179
180     build-discarder:
181       daysToKeep: '{build-days-to-keep}'
182       numToKeep: '{build-num-to-keep}'
183       artifactDaysToKeep: '{build-artifact-days-to-keep}'
184       artifactNumToKeep: '{build-artifact-num-to-keep}'
185
186     parameters:
187       - project-parameter:
188           project: '{project}'
189       - gerrit-parameter:
190           branch: '{branch}'
191
192     scm:
193       - gerrit-trigger-scm:
194           credentials-id: 'jenkins-gerrit-credentials'
195           refspec: '$GERRIT_REFSPEC'
196           choosing-strategy: 'gerrit'
197
198     wrappers:
199       - fdio-infra-wrappers-non-activity-timeout:
200           build-timeout: '{build-timeout}'
201
202     triggers:
203       - gerrit:
204           server-name: 'Primary'
205           trigger-on:
206             - comment-added-contains-event:
207                 comment-contains-value: 'csit-dpdk-{topo}-{arch}-perftest'
208           projects:
209             - project-compare-type: 'ANT'
210               project-pattern: '{project}'
211               branches:
212                 - branch-compare-type: 'ANT'
213                   branch-pattern: '**/{branch}'
214           skip-vote:
215             successful: false
216             failed: false
217             unstable: false
218             notbuilt: false
219
220     builders:
221       - shell:
222           !include-raw-escape: jjb/csit/include-raw-csit-perf-verify.sh
223
224     publishers:
225       - archive-artifacts:
226           artifacts: 'archive/*.*'
227           latest-only: false
228
229       - robot:
230           output-path: archive
231           other-files:
232             - '*.*'
233
234       - fdio-infra-shiplogs:
235           maven-version: 'mvn33-new'
236
237 - job-template:
238     name: 'csit-ligato-perf-verify-{stream}-{topo}-{arch}'
239
240     # yamllint disable rule:line-length
241     description: |
242       <ul>
243           <li>objective
244               <ul>
245                   <li>perf verify - per csit gerrit patch
246               </ul>
247           <li>job
248               <ul>
249                   <li>name: <b>csit-ligato-perf-verify-{stream}-{topo}-{arch}</b>
250                   <li>trigger: keyword in comment to csit patch:
251                       <b>csit--ligato-{topo}-{arch}-perftest tag_list</b>
252               </ul>
253           <li>perf test-cases selection
254               <ul>
255                   <li>test-cases selected using trigger keyword followed by tags
256                   <li>all test-cases are labelled with CSIT RF topic tags
257                       defined in <i>csit/docs/tag_documentation.rst</i>
258               </ul>
259           <li>proposed keywords
260               <ul>
261                   <li>focus on testing specified Kubernetes orchestrated topologies
262                   <li>format: csit-ligato-{topo}-{arch}-perftest tag_list
263               </ul>
264           <li>default tags for vpp startup config and perf test type
265               <ul>
266                   <li>IP4BASE, IP6BASE, L2BDBASE
267                   <li>64B/78B: 64B/78B packet size
268                   <li>1C: one core
269                   <li>X710: x710 Fortville NIC
270                   <li>MRR: MRR throughput
271               </ul>
272           <li>results
273               <ul>
274                   <li>jjb verify: PASS/FAIL
275                   <li>present: no
276                   <li>analyse: no
277               </ul>
278       </ul>
279       # yamllint enable rule:line-length
280
281     project-type: freestyle
282     node: 'ubuntu1804-basebuild-4c-4g'
283     concurrent: true
284
285     build-discarder:
286       daysToKeep: '{build-days-to-keep}'
287       numToKeep: '{build-num-to-keep}'
288       artifactDaysToKeep: '{build-artifact-days-to-keep}'
289       artifactNumToKeep: '{build-artifact-num-to-keep}'
290
291     parameters:
292       - project-parameter:
293           project: '{project}'
294       - gerrit-parameter:
295           branch: '{branch}'
296       - gerrit-refspec-parameter
297       - gerrit-event-type-parameter
298       - gerrit-event-comment-text-parameter
299
300     scm:
301       - gerrit-trigger-scm:
302           credentials-id: 'jenkins-gerrit-credentials'
303           refspec: '$GERRIT_REFSPEC'
304           choosing-strategy: 'gerrit'
305
306     wrappers:
307       - fdio-infra-wrappers-non-activity-timeout:
308           build-timeout: '{build-timeout}'
309
310     triggers:
311       - gerrit:
312           server-name: 'Primary'
313           trigger-on:
314             - comment-added-contains-event:
315                 comment-contains-value: 'csit-ligato-{topo}-{arch}-perftest'
316           projects:
317             - project-compare-type: 'ANT'
318               project-pattern: '{project}'
319               branches:
320                 - branch-compare-type: 'ANT'
321                   branch-pattern: '**/{branch}'
322           skip-vote:
323             successful: false
324             failed: false
325             unstable: false
326             notbuilt: false
327
328     builders:
329       - shell:
330           !include-raw-escape: jjb/csit/include-raw-csit-perf-verify.sh
331
332     publishers:
333       - archive-artifacts:
334           artifacts: 'archive/*.*'
335           latest-only: false
336
337       - robot:
338           output-path: archive
339           other-files:
340             - '*.*'
341
342       - fdio-infra-shiplogs:
343           maven-version: 'mvn33-new'
344
345
346 - job-template:
347     name: 'csit-vpp-verify-{stream_timed}-{os}-weekly'
348     # yamllint disable-line rule:line-length
349     description: 'Purpose of this job is to validate CSIT code of corresponding branch against verified vpp build from corresponding branch.'
350     # yamllint enable rule:line-length
351
352     project-type: freestyle
353     node: '{os}-basebuild-4c-4g'
354     concurrent: false
355
356     build-discarder:
357       daysToKeep: '{build-days-to-keep}'
358       numToKeep: '{build-num-to-keep}'
359       artifactDaysToKeep: '{build-artifact-days-to-keep}'
360       artifactNumToKeep: '{build-artifact-num-to-keep}'
361
362     parameters:
363       - project-parameter:
364           project: '{project}'
365       - gerrit-parameter:
366           branch: '{branch}'
367
368     scm:
369       - git-scm:
370           credentials-id: 'jenkins-gerrit-credentials'
371           branch: '{branch}'
372
373     wrappers:
374       - fdio-infra-wrappers-non-activity-timeout:
375           build-timeout: '{build-timeout}'
376
377     triggers:
378       - timed: '0 4 * * 0'
379
380       - gerrit-trigger-manually-triggered:
381           comment-trigger-value: 'csit-vpp-ref-verify'
382           name: '{project}'
383           branch: '{branch}'
384
385     builders:
386       - shell:
387           !include-raw-escape: jjb/csit/include-raw-csit-vpp-verify-weekly.sh
388
389     publishers:
390       - archive-artifacts:
391           artifacts: >
392             **/csit/report.html,
393             **/csit/log.html,
394             **/csit/output.xml
395           latest-only: false
396
397       - robot-report:
398           output-path: ''
399
400       - fdio-infra-shiplogs:
401           maven-version: 'mvn33-new'
402
403 - job-template:
404     name: 'csit-vpp-verify-{stream_timed}-{os}-semiweekly'
405     # yamllint disable-line rule:line-length
406     description: 'Purpose of this job is to validate latest vpp build from corresponding branch stored in nexus against verified CSIT codebase of corresponding branch.'
407     # yamllint enable rule:line-length
408
409     project-type: freestyle
410     node: '{os}-basebuild-4c-4g'
411     concurrent: false
412
413     build-discarder:
414       daysToKeep: '{build-days-to-keep}'
415       numToKeep: '{build-num-to-keep}'
416       artifactDaysToKeep: '{build-artifact-days-to-keep}'
417       artifactNumToKeep: '{build-artifact-num-to-keep}'
418
419     parameters:
420       - project-parameter:
421           project: '{project}'
422       - gerrit-parameter:
423           branch: '{branch}'
424
425     wrappers:
426       - fdio-infra-wrappers-non-activity-timeout:
427           build-timeout: '{build-timeout}'
428
429     triggers:
430       - timed: '0 4 * * 2,6'
431
432       - gerrit-trigger-manually-triggered:
433           comment-trigger-value: 'csit-verify-vpp'
434           name: '{project}'
435           branch: '{branch}'
436
437     builders:
438       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
439       - inject:
440           properties-file: variables.prop
441       - shell:
442           # yamllint disable-line rule:line-length
443           !include-raw-escape: jjb/csit/include-raw-csit-vpp-verify-semiweekly.sh
444           # yamllint enable rule:line-length
445
446     publishers:
447       - archive-artifacts:
448           artifacts: 'csit/archive/*.*'
449           latest-only: false
450
451       - robot-report:
452           output-path: 'csit/archive'
453
454       - fdio-infra-shiplogs:
455           maven-version: 'mvn33-new'
456
457 - job-template:
458     name: 'csit-vpp-verify-{stream_timed}-centos7-nightly'
459     # yamllint disable-line rule:line-length
460     description: 'Purpose of this job is to validate latest centos7 vpp build from corresponding branch stored in nexus against verified CSIT codebase of corresponding branch.'
461     # yamllint enable rule:line-length
462
463     project-type: freestyle
464     node: centos7-basebuild-4c-4g'
465     concurrent: false
466
467     build-discarder:
468       daysToKeep: '{build-days-to-keep}'
469       numToKeep: '{build-num-to-keep}'
470       artifactDaysToKeep: '{build-artifact-days-to-keep}'
471       artifactNumToKeep: '{build-artifact-num-to-keep}'
472
473     parameters:
474       - project-parameter:
475           project: '{project}'
476       - gerrit-parameter:
477           branch: '{branch}'
478
479     scm:
480       - git-scm:
481           credentials-id: 'jenkins-gerrit-credentials'
482           branch: '{branch}'
483
484     wrappers:
485       - fdio-infra-wrappers:
486           build-timeout: '{build-timeout}'
487
488     triggers:
489       - timed: 'H H(3-4) * * *'
490
491       - gerrit-trigger-manually-triggered:
492           comment-trigger-value: 'vpp-verify-func-centos7'
493           name: '{project}'
494           branch: '{branch}'
495
496     builders:
497       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
498       - inject:
499           properties-file: variables.prop
500       - shell:
501           !include-raw-escape: jjb/csit/include-raw-csit-vpp-functional-virl.sh
502
503     publishers:
504       - archive-artifacts:
505           artifacts: 'csit/archive/*.*'
506           latest-only: false
507
508       - robot-report:
509           output-path: 'csit/archive'
510
511       - fdio-infra-shiplogs:
512           maven-version: 'mvn33-new'
513
514 - job-template:
515     name: 'csit-docs-verify-{stream}'
516
517     project-type: freestyle
518     node: 'ubuntu1604-basebuild-4c-4g'
519     concurrent: true
520
521     build-discarder:
522       daysToKeep: '{build-days-to-keep}'
523       numToKeep: '{build-num-to-keep}'
524       artifactDaysToKeep: '{build-artifact-days-to-keep}'
525       artifactNumToKeep: '{build-artifact-num-to-keep}'
526
527     parameters:
528       - project-parameter:
529           project: '{project}'
530       - gerrit-parameter:
531           branch: '{branch}'
532       - maven-exec:
533           maven-version: 'mvn33-new'
534
535     scm:
536       - gerrit-trigger-scm:
537           credentials-id: 'jenkins-gerrit-credentials'
538           refspec: '$GERRIT_REFSPEC'
539           choosing-strategy: 'gerrit'
540
541     wrappers:
542       - fdio-infra-wrappers-non-activity-timeout:
543           build-timeout: '{build-timeout}'
544
545     triggers:
546       - gerrit-trigger-patch-submitted:
547           name: '{project}'
548           branch: '{branch}'
549
550     builders:
551       - maven-target:
552           maven-version: 'mvn33-new'
553           goals: '--version'
554           settings: 'csit-settings'
555           settings-type: cfp
556           global-settings: 'global-settings'
557           global-settings-type: cfp
558       - provide-maven-settings:
559           settings-file: 'csit-settings'
560           global-settings-file: 'global-settings'
561       - shell:
562           !include-raw-escape: include-raw-csit-docs.sh
563
564     publishers:
565       - archive:
566           artifacts: 'resources/tools/doc_gen/csit.docs.tar.gz'
567           allow-empty: 'true'
568           fingerprint: false
569           only-if-success: true
570           default-excludes: false
571
572       - fdio-infra-shiplogs:
573           maven-version: 'mvn33-new'
574
575 - job-template:
576     name: 'csit-docs-merge-{stream_timed}'
577
578     project-type: freestyle
579     node: 'ubuntu1604-basebuild-4c-4g'
580     concurrent: true
581
582     build-discarder:
583       daysToKeep: '{build-days-to-keep}'
584       numToKeep: '{build-num-to-keep}'
585       artifactDaysToKeep: '{build-artifact-days-to-keep}'
586       artifactNumToKeep: '{build-artifact-num-to-keep}'
587
588     parameters:
589       - project-parameter:
590           project: '{project}'
591       - gerrit-parameter:
592           branch: '{branch}'
593       - maven-exec:
594           maven-version: 'mvn33-new'
595
596     scm:
597       - gerrit-trigger-scm:
598           credentials-id: 'jenkins-gerrit-credentials'
599           refspec: ''
600           choosing-strategy: 'default'
601
602     wrappers:
603       - fdio-infra-wrappers-non-activity-timeout:
604           build-timeout: '{build-timeout}'
605
606     triggers:
607       - reverse:
608           jobs: 'csit-vpp-verify-{stream_timed}-ubuntu1604-weekly'
609           result: 'success'
610       - gerrit:
611           server-name: 'Primary'
612           trigger-on:
613             - comment-added-contains-event:
614                 comment-contains-value: 'run-docs'
615           projects:
616             - project-compare-type: 'ANT'
617               project-pattern: '{project}'
618               branches:
619                 - branch-compare-type: 'ANT'
620                   branch-pattern: '**/{branch}'
621           skip-vote:
622             successful: true
623             failed: true
624             unstable: true
625             notbuilt: true
626
627     builders:
628       - maven-target:
629           maven-version: 'mvn33-new'
630           goals: '--version'
631           settings: 'csit-settings'
632           settings-type: cfp
633           global-settings: 'global-settings'
634           global-settings-type: cfp
635       - provide-maven-settings:
636           settings-file: 'csit-settings'
637           global-settings-file: 'global-settings'
638       - shell:
639           !include-raw-escape: include-raw-csit-docs.sh
640
641     publishers:
642       - archive:
643           artifacts: 'resources/tools/doc_gen/csit.docs.tar.gz'
644           allow-empty: 'true'
645           fingerprint: false
646           only-if-success: true
647           default-excludes: false
648
649       - fdio-infra-shiplogs:
650           maven-version: 'mvn33-new'
651
652 - job-template:
653     name: 'csit-report-merge-{stream}'
654
655     project-type: freestyle
656     node: 'ubuntu1604-basebuild-8c-32g'
657     concurrent: false
658
659     build-discarder:
660       daysToKeep: '{build-days-to-keep}'
661       numToKeep: '{build-num-to-keep}'
662       artifactDaysToKeep: '{build-artifact-days-to-keep}'
663       artifactNumToKeep: '{build-artifact-num-to-keep}'
664
665     parameters:
666       - project-parameter:
667           project: '{project}'
668       - gerrit-parameter:
669           branch: '{branch}'
670       - maven-exec:
671           maven-version: 'mvn33-new'
672
673     scm:
674       - gerrit-trigger-scm:
675           credentials-id: 'jenkins-gerrit-credentials'
676           refspec: '$GERRIT_REFSPEC'
677           choosing-strategy: 'default'
678
679     wrappers:
680       - fdio-infra-wrappers-non-activity-timeout:
681           build-timeout: '{build-timeout}'
682
683     triggers:
684       - gerrit:
685           server-name: 'Primary'
686           trigger-on:
687             - comment-added-contains-event:
688                 comment-contains-value: 'run-report'
689           projects:
690             - project-compare-type: 'ANT'
691               project-pattern: '{project}'
692               branches:
693                 - branch-compare-type: 'ANT'
694                   branch-pattern: '**/{branch}'
695           skip-vote:
696             successful: true
697             failed: true
698             unstable: true
699             notbuilt: true
700
701     builders:
702       - maven-target:
703           maven-version: 'mvn33-new'
704           goals: '--version'
705           settings: 'csit-settings'
706           settings-type: cfp
707           global-settings: 'global-settings'
708           global-settings-type: cfp
709       - provide-maven-settings:
710           settings-file: 'csit-settings'
711           global-settings-file: 'global-settings'
712       - shell:
713           !include-raw-escape: include-raw-csit-report.sh
714
715     publishers:
716       - archive:
717           artifacts: 'resources/tools/presentation/csit.report.tar.gz'
718           allow-empty: 'true'
719           fingerprint: false
720           only-if-success: true
721           default-excludes: false
722
723       - fdio-infra-shiplogs:
724           maven-version: 'mvn33-new'
725
726 - job-template:
727     name: 'csit-trending-daily-master'
728
729     project-type: freestyle
730     node: 'ubuntu1604-basebuild-8c-32g'
731     concurrent: false
732
733     build-discarder:
734       daysToKeep: '{build-days-to-keep}'
735       numToKeep: '{build-num-to-keep}'
736       artifactDaysToKeep: '{build-artifact-days-to-keep}'
737       artifactNumToKeep: '{build-artifact-num-to-keep}'
738
739     parameters:
740       - project-parameter:
741           project: '{project}'
742       - gerrit-parameter:
743           branch: '{branch}'
744       - maven-exec:
745           maven-version: 'mvn33-new'
746
747     scm:
748       - gerrit-trigger-scm:
749           credentials-id: 'jenkins-gerrit-credentials'
750           refspec: ''
751           choosing-strategy: 'default'
752
753     wrappers:
754       - fdio-infra-wrappers-non-activity-timeout:
755           build-timeout: '{build-timeout}'
756
757     triggers:
758       - reverse:
759           jobs: 'csit-vpp-perf-mrr-daily-master'
760           result: 'failure'
761
762     builders:
763       - maven-target:
764           maven-version: 'mvn33-new'
765           goals: '--version'
766           settings: 'csit-settings'
767           settings-type: cfp
768           global-settings: 'global-settings'
769           global-settings-type: cfp
770       - provide-maven-settings:
771           settings-file: 'csit-settings'
772           global-settings-file: 'global-settings'
773       - shell:
774           !include-raw-escape: include-raw-csit-cpta.sh
775
776     publishers:
777       - email-ext:
778           recipients: 'tifrank@cisco.com, csit-report@lists.fd.io'
779           reply-to: ''
780           content-type: 'text'
781           subject: 'FD.io CSIT Trending Alert: Build # $BUILD_NUMBER'
782           # yamllint disable-line rule:line-length
783           attachments: '**/build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/failed-tests*.tar.gz'
784           body: |
785                 FD.io CSIT Trending Alert - failed tests
786
787                 $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS
788
789                 See attachment for the list of the failed tests.
790
791           always: true
792           failure: false
793
794       - fdio-infra-shiplogs:
795           maven-version: 'mvn33-new'
796
797 - job-template:
798     name: 'csit-vpp-perf-ndrpdr-weekly-master-3n-hsw'
799
800     description: |
801       <ul>
802           <li>objective
803               <ul>
804                   <li>check vpp perf ndrpdr weekly on 3n-hsw
805               </ul>
806           <li>perf test-cases selection
807               <ul>
808                   <li>pre-selected CSIT VPP NDRPDR perf suites
809               </ul>
810           <li>results
811               <ul>
812                   <li>jjb verify: PASS/FAIL
813                   <li>present: no
814                   <li>analyse: csit project (catch malfunctions/degradations)
815               </ul>
816       </ul>
817     project-type: freestyle
818     node: 'ubuntu1604-basebuild-4c-4g'
819     concurrent: false
820
821     build-discarder:
822       daysToKeep: '{build-days-to-keep}'
823       numToKeep: '{build-num-to-keep}'
824       artifactDaysToKeep: '{build-artifact-days-to-keep}'
825       artifactNumToKeep: '{build-artifact-num-to-keep}'
826
827     parameters:
828       - project-parameter:
829           project: '{project}'
830       - gerrit-parameter:
831           branch: '{branch}'
832
833     wrappers:
834       - fdio-infra-wrappers-non-activity-timeout:
835           build-timeout: '{build-timeout}'
836
837     triggers:
838       - timed: '0 0 * * 6'
839
840     builders:
841       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
842       - inject:
843           properties-file: variables.prop
844       - shell:
845           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
846
847     publishers:
848       - archive-artifacts:
849           artifacts: 'csit/archive/*.*'
850           latest-only: false
851
852       - robot:
853           output-path: 'csit/archive'
854           other-files:
855             - '*.*'
856
857       - fdio-infra-shiplogs:
858           maven-version: 'mvn33-new'
859
860 - job-template:
861     name: 'csit-vpp-perf-ndrpdr-weekly-master-2n-skx'
862
863     description: |
864       <ul>
865           <li>objective
866               <ul>
867                   <li>check vpp perf ndrpdr weekly
868               </ul>
869           <li>perf test-cases selection
870               <ul>
871                   <li>pre-selected CSIT VPP NDRPDR perf suites
872               </ul>
873           <li>results
874               <ul>
875                   <li>jjb verify: PASS/FAIL
876                   <li>present: no
877                   <li>analyse: csit project (catch malfunctions/degradations)
878               </ul>
879       </ul>
880     project-type: freestyle
881     node: 'ubuntu1604-basebuild-4c-4g'
882     concurrent: false
883
884     build-discarder:
885       daysToKeep: '{build-days-to-keep}'
886       numToKeep: '{build-num-to-keep}'
887       artifactDaysToKeep: '{build-artifact-days-to-keep}'
888       artifactNumToKeep: '{build-artifact-num-to-keep}'
889
890     parameters:
891       - project-parameter:
892           project: '{project}'
893       - gerrit-parameter:
894           branch: '{branch}'
895
896     wrappers:
897       - fdio-infra-wrappers-non-activity-timeout:
898           build-timeout: '{build-timeout}'
899
900     triggers:
901       - timed: '0 0 * * 6'
902
903     builders:
904       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
905       - inject:
906           properties-file: variables.prop
907       - shell:
908           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
909
910     publishers:
911       - archive-artifacts:
912           artifacts: 'csit/archive/*.*'
913           latest-only: false
914
915       - robot:
916           output-path: 'csit/archive'
917           other-files:
918             - '*.*'
919
920       - fdio-infra-shiplogs:
921           maven-version: 'mvn33-new'
922
923 - job-template:
924     name: 'csit-vpp-perf-ndrpdr-weekly-master-3n-skx'
925
926     description: |
927       <ul>
928           <li>objective
929               <ul>
930                   <li>check vpp perf ndrpdr weekly
931               </ul>
932           <li>perf test-cases selection
933               <ul>
934                   <li>pre-selected CSIT VPP NDRPDR perf suites
935               </ul>
936           <li>results
937               <ul>
938                   <li>jjb verify: PASS/FAIL
939                   <li>present: no
940                   <li>analyse: csit project (catch malfunctions/degradations)
941               </ul>
942       </ul>
943     project-type: freestyle
944     node: 'ubuntu1604-basebuild-4c-4g'
945     concurrent: false
946
947     build-discarder:
948       daysToKeep: '{build-days-to-keep}'
949       numToKeep: '{build-num-to-keep}'
950       artifactDaysToKeep: '{build-artifact-days-to-keep}'
951       artifactNumToKeep: '{build-artifact-num-to-keep}'
952
953     parameters:
954       - project-parameter:
955           project: '{project}'
956       - gerrit-parameter:
957           branch: '{branch}'
958
959     wrappers:
960       - fdio-infra-wrappers-non-activity-timeout:
961           build-timeout: '{build-timeout}'
962
963     triggers:
964       - timed: '0 0 * * 6'
965
966     builders:
967       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
968       - inject:
969           properties-file: variables.prop
970       - shell:
971           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
972
973     publishers:
974       - archive-artifacts:
975           artifacts: 'csit/archive/*.*'
976           latest-only: false
977
978       - robot:
979           output-path: 'csit/archive'
980           other-files:
981             - '*.*'
982
983       - fdio-infra-shiplogs:
984           maven-version: 'mvn33-new'
985
986 - job-template:
987     name: 'csit-ligato-perf-mrr-daily-master-3n-hsw'
988
989     description: |
990       <ul>
991           <li>objective
992               <ul>
993                   <li>check ligato perf mrr daily
994               </ul>
995           <li>perf test-cases selection
996               <ul>
997                   <li>all CSIT LIGATO MRR perf suites
998               </ul>
999           <li>results
1000               <ul>
1001                   <li>jjb verify: PASS/FAIL
1002                   <li>present: no
1003                   <li>analyse: csit project (catch malfunctions/degradations)
1004               </ul>
1005       </ul>
1006
1007     project-type: freestyle
1008     node: 'ubuntu1804-basebuild-4c-4g'
1009     concurrent: true
1010
1011     build-discarder:
1012       daysToKeep: '{build-days-to-keep}'
1013       numToKeep: '{build-num-to-keep}'
1014       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1015       artifactNumToKeep: '{build-artifact-num-to-keep}'
1016
1017     parameters:
1018       - project-parameter:
1019           project: '{project}'
1020       - gerrit-parameter:
1021           branch: '{branch}'
1022
1023     wrappers:
1024       - fdio-infra-wrappers-non-activity-timeout:
1025           build-timeout: '{build-timeout}'
1026
1027     triggers:
1028       - timed: '0 16 * * *'
1029
1030     builders:
1031       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1032       - inject:
1033           properties-file: variables.prop
1034       - shell:
1035           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1036
1037     publishers:
1038       - archive-artifacts:
1039           artifacts: 'csit/archive/*.*'
1040           latest-only: false
1041
1042       - robot:
1043           output-path: 'csit/archive'
1044           other-files:
1045             - '*.*'
1046
1047       - trigger:
1048           project: 'csit-trending-daily-master'
1049           threshold: 'FAILURE'
1050
1051       - fdio-infra-shiplogs:
1052           maven-version: 'mvn33-new'
1053
1054 - job-template:
1055     name: 'csit-vpp-perf-mrr-daily-master'
1056
1057     description: |
1058       <ul>
1059           <li>objective
1060               <ul>
1061                   <li>check vpp perf mrr daily
1062               </ul>
1063           <li>perf test-cases selection
1064               <ul>
1065                   <li>all CSIT VPP MRR perf suites
1066               </ul>
1067           <li>results
1068               <ul>
1069                   <li>jjb verify: PASS/FAIL
1070                   <li>present: no
1071                   <li>analyse: csit project (catch malfunctions/degradations)
1072               </ul>
1073       </ul>
1074
1075     project-type: freestyle
1076     node: 'ubuntu1604-basebuild-4c-4g'
1077     concurrent: true
1078
1079     build-discarder:
1080       daysToKeep: '{build-days-to-keep}'
1081       numToKeep: '{build-num-to-keep}'
1082       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1083       artifactNumToKeep: '{build-artifact-num-to-keep}'
1084
1085     parameters:
1086       - project-parameter:
1087           project: '{project}'
1088       - gerrit-parameter:
1089           branch: '{branch}'
1090
1091     wrappers:
1092       - fdio-infra-wrappers-non-activity-timeout:
1093           build-timeout: '{build-timeout}'
1094
1095     triggers:
1096       - timed: '0 2,16 * * *'
1097
1098     builders:
1099       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1100       - inject:
1101           properties-file: variables.prop
1102       - shell:
1103           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1104
1105     publishers:
1106       - archive-artifacts:
1107           artifacts: 'csit/archive/*.*'
1108           latest-only: false
1109
1110       - robot:
1111           output-path: 'csit/archive'
1112           other-files:
1113             - '*.*'
1114
1115       - trigger:
1116           project: 'csit-trending-daily-master'
1117           threshold: 'FAILURE'
1118
1119       - fdio-infra-shiplogs:
1120           maven-version: 'mvn33-new'
1121
1122 - job-template:
1123     name: 'csit-vpp-perf-mrr-daily-master-2n-skx'
1124
1125     description: |
1126       <ul>
1127           <li>objective
1128               <ul>
1129                   <li>check vpp perf mrr daily
1130               </ul>
1131           <li>perf test-cases selection
1132               <ul>
1133                   <li>all CSIT VPP MRR perf suites
1134               </ul>
1135           <li>results
1136               <ul>
1137                   <li>jjb verify: PASS/FAIL
1138                   <li>present: no
1139                   <li>analyse: csit project (catch malfunctions/degradations)
1140               </ul>
1141       </ul>
1142
1143     project-type: freestyle
1144     node: 'ubuntu1604-basebuild-4c-4g'
1145     concurrent: true
1146
1147     build-discarder:
1148       daysToKeep: '{build-days-to-keep}'
1149       numToKeep: '{build-num-to-keep}'
1150       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1151       artifactNumToKeep: '{build-artifact-num-to-keep}'
1152
1153     parameters:
1154       - project-parameter:
1155           project: '{project}'
1156       - gerrit-parameter:
1157           branch: '{branch}'
1158
1159     wrappers:
1160       - fdio-infra-wrappers-non-activity-timeout:
1161           build-timeout: '{build-timeout}'
1162
1163     triggers:
1164       - timed: '0 2,16 * * *'
1165
1166     builders:
1167       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1168       - inject:
1169           properties-file: variables.prop
1170       - shell:
1171           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1172
1173     publishers:
1174       - archive-artifacts:
1175           artifacts: 'csit/archive/*.*'
1176           latest-only: false
1177
1178       - robot:
1179           output-path: 'csit/archive'
1180           other-files:
1181             - '*.*'
1182
1183       - trigger:
1184           project: 'csit-trending-daily-master'
1185           threshold: 'FAILURE'
1186
1187       - fdio-infra-shiplogs:
1188           maven-version: 'mvn33-new'
1189
1190 - job-template:
1191     name: 'csit-vpp-perf-mrr-daily-master-3n-skx'
1192
1193     description: |
1194       <ul>
1195           <li>objective
1196               <ul>
1197                   <li>check vpp perf mrr daily
1198               </ul>
1199           <li>perf test-cases selection
1200               <ul>
1201                   <li>all CSIT VPP MRR perf suites
1202               </ul>
1203           <li>results
1204               <ul>
1205                   <li>jjb verify: PASS/FAIL
1206                   <li>present: no
1207                   <li>analyse: csit project (catch malfunctions/degradations)
1208               </ul>
1209       </ul>
1210
1211     project-type: freestyle
1212     node: 'ubuntu1604-basebuild-4c-4g'
1213     concurrent: true
1214
1215     build-discarder:
1216       daysToKeep: '{build-days-to-keep}'
1217       numToKeep: '{build-num-to-keep}'
1218       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1219       artifactNumToKeep: '{build-artifact-num-to-keep}'
1220
1221     parameters:
1222       - project-parameter:
1223           project: '{project}'
1224       - gerrit-parameter:
1225           branch: '{branch}'
1226
1227     wrappers:
1228       - fdio-infra-wrappers-non-activity-timeout:
1229           build-timeout: '{build-timeout}'
1230
1231     triggers:
1232       - timed: '0 2,16 * * *'
1233
1234     builders:
1235       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1236       - inject:
1237           properties-file: variables.prop
1238       - shell:
1239           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1240
1241     publishers:
1242       - archive-artifacts:
1243           artifacts: 'csit/archive/*.*'
1244           latest-only: false
1245
1246       - robot:
1247           output-path: 'csit/archive'
1248           other-files:
1249             - '*.*'
1250
1251       - trigger:
1252           project: 'csit-trending-daily-master'
1253           threshold: 'FAILURE'
1254
1255       - fdio-infra-shiplogs:
1256           maven-version: 'mvn33-new'
1257
1258 - job-template:
1259     name: 'csit-dpdk-perf-mrr-weekly-master'
1260
1261     description: |
1262       <ul>
1263           <li>objective
1264               <ul>
1265                   <li>check dpdk perf mrr weekly
1266               </ul>
1267           <li>perf test-cases selection
1268               <ul>
1269                   <li>all CSIT DPDK MRR perf suites
1270               </ul>
1271           <li>results
1272               <ul>
1273                   <li>jjb verify: PASS/FAIL
1274                   <li>present: no
1275                   <li>analyse: csit project (catch malfunctions/degradations)
1276               </ul>
1277       </ul>
1278
1279     project-type: freestyle
1280     node: 'ubuntu1604-basebuild-4c-4g'
1281     concurrent: false
1282
1283     build-discarder:
1284       daysToKeep: '{build-days-to-keep}'
1285       numToKeep: '{build-num-to-keep}'
1286       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1287       artifactNumToKeep: '{build-artifact-num-to-keep}'
1288
1289     parameters:
1290       - project-parameter:
1291           project: '{project}'
1292       - gerrit-parameter:
1293           branch: '{branch}'
1294
1295     wrappers:
1296       - fdio-infra-wrappers-non-activity-timeout:
1297           build-timeout: '{build-timeout}'
1298
1299     triggers:
1300       - timed: '0 0 * * 6'
1301
1302     builders:
1303       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1304       - inject:
1305           properties-file: variables.prop
1306       - shell:
1307           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1308
1309     publishers:
1310       - archive-artifacts:
1311           artifacts: 'csit/archive/*.*'
1312           latest-only: false
1313
1314       - robot:
1315           output-path: 'csit/archive'
1316           other-files:
1317             - '*.*'
1318
1319       - trigger:
1320           project: 'csit-trending-daily-master'
1321           threshold: 'FAILURE'
1322
1323       - fdio-infra-shiplogs:
1324           maven-version: 'mvn33-new'
1325
1326 - job-template:
1327     name: 'csit-dpdk-perf-mrr-weekly-master-2n-skx'
1328
1329     description: |
1330       <ul>
1331           <li>objective
1332               <ul>
1333                   <li>check dpdk perf mrr weekly
1334               </ul>
1335           <li>perf test-cases selection
1336               <ul>
1337                   <li>all CSIT DPDK MRR perf suites
1338               </ul>
1339           <li>results
1340               <ul>
1341                   <li>jjb verify: PASS/FAIL
1342                   <li>present: no
1343                   <li>analyse: csit project (catch malfunctions/degradations)
1344               </ul>
1345       </ul>
1346
1347     project-type: freestyle
1348     node: 'ubuntu1604-basebuild-4c-4g'
1349     concurrent: false
1350
1351     build-discarder:
1352       daysToKeep: '{build-days-to-keep}'
1353       numToKeep: '{build-num-to-keep}'
1354       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1355       artifactNumToKeep: '{build-artifact-num-to-keep}'
1356
1357     parameters:
1358       - project-parameter:
1359           project: '{project}'
1360       - gerrit-parameter:
1361           branch: '{branch}'
1362
1363     wrappers:
1364       - fdio-infra-wrappers-non-activity-timeout:
1365           build-timeout: '{build-timeout}'
1366
1367     triggers:
1368       - timed: '0 0 * * 6'
1369
1370     builders:
1371       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1372       - inject:
1373           properties-file: variables.prop
1374       - shell:
1375           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1376
1377     publishers:
1378       - archive-artifacts:
1379           artifacts: 'csit/archive/*.*'
1380           latest-only: false
1381
1382       - robot:
1383           output-path: 'csit/archive'
1384           other-files:
1385             - '*.*'
1386
1387       - trigger:
1388           project: 'csit-trending-daily-master'
1389           threshold: 'FAILURE'
1390
1391       - fdio-infra-shiplogs:
1392           maven-version: 'mvn33-new'
1393
1394 - job-template:
1395     name: 'csit-dpdk-perf-mrr-weekly-master-3n-skx'
1396
1397     description: |
1398       <ul>
1399           <li>objective
1400               <ul>
1401                   <li>check dpdk perf mrr weekly
1402               </ul>
1403           <li>perf test-cases selection
1404               <ul>
1405                   <li>all CSIT DPDK MRR perf suites
1406               </ul>
1407           <li>results
1408               <ul>
1409                   <li>jjb verify: PASS/FAIL
1410                   <li>present: no
1411                   <li>analyse: csit project (catch malfunctions/degradations)
1412               </ul>
1413       </ul>
1414
1415     project-type: freestyle
1416     node: 'ubuntu1604-basebuild-4c-4g'
1417     concurrent: false
1418
1419     build-discarder:
1420       daysToKeep: '{build-days-to-keep}'
1421       numToKeep: '{build-num-to-keep}'
1422       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1423       artifactNumToKeep: '{build-artifact-num-to-keep}'
1424
1425     parameters:
1426       - project-parameter:
1427           project: '{project}'
1428       - gerrit-parameter:
1429           branch: '{branch}'
1430
1431     wrappers:
1432       - fdio-infra-wrappers-non-activity-timeout:
1433           build-timeout: '{build-timeout}'
1434
1435     triggers:
1436       - timed: '0 0 * * 6'
1437
1438     builders:
1439       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1440       - inject:
1441           properties-file: variables.prop
1442       - shell:
1443           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1444
1445     publishers:
1446       - archive-artifacts:
1447           artifacts: 'csit/archive/*.*'
1448           latest-only: false
1449
1450       - robot:
1451           output-path: 'csit/archive'
1452           other-files:
1453             - '*.*'
1454
1455       - trigger:
1456           project: 'csit-trending-daily-master'
1457           threshold: 'FAILURE'
1458
1459       - fdio-infra-shiplogs:
1460           maven-version: 'mvn33-new'
1461
1462
1463 - job-template:
1464     name: 'csit-vpp-perf-verify-{stream}-{topo}-{arch}'
1465
1466     description: |
1467       <ul>
1468           <li>objective
1469               <ul>
1470                   <li>perf verify - per csit gerrit patch
1471               </ul>
1472           <li>job
1473               <ul>
1474                   <li>name: <b>csit-vpp-perf-verify-{stream}-{topo}-{arch}</b>
1475                   <li>trigger: keyword in comment to csit patch:
1476                       <b>csit-{topo}-{arch}-perftest tag_list</b>
1477               </ul>
1478           <li>perf test-cases selection
1479               <ul>
1480                   <li>test-cases selected using trigger keyword followed by tags
1481                   <li>all test-cases are labelled with CSIT RF topic tags
1482                       defined in <i>csit/docs/tag_documentation.rst</i>
1483               </ul>
1484           <li>proposed keywords
1485               <ul>
1486                   <li>focus on testing specified vpp packet processing path
1487                   <li>format: csit-{topo}-{arch}-perftest tag_list
1488               </ul>
1489           <li>default tags for vpp startup config and perf test type
1490               <ul>
1491                   <li>IP4BASE, IP6BASE, L2BDBASE
1492                   <li>64B/78B: 64B/78B packet size
1493                   <li>1C: one core
1494                   <li>X710: x710 Fortville NIC
1495                   <li>MRR: MRR throughput
1496               </ul>
1497           <li>results
1498               <ul>
1499                   <li>jjb verify: PASS/FAIL
1500                   <li>present: no
1501                   <li>analyse: no
1502               </ul>
1503       </ul>
1504
1505     project-type: freestyle
1506     node: 'ubuntu1604-basebuild-8c-32g'
1507     concurrent: true
1508
1509     build-discarder:
1510       daysToKeep: '{build-days-to-keep}'
1511       numToKeep: '{build-num-to-keep}'
1512       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1513       artifactNumToKeep: '{build-artifact-num-to-keep}'
1514
1515     parameters:
1516       - project-parameter:
1517           project: '{project}'
1518       - gerrit-parameter:
1519           branch: '{branch}'
1520       - gerrit-refspec-parameter
1521       - gerrit-event-type-parameter
1522       - gerrit-event-comment-text-parameter
1523
1524     scm:
1525       - gerrit-trigger-scm:
1526           credentials-id: 'jenkins-gerrit-credentials'
1527           refspec: '$GERRIT_REFSPEC'
1528           choosing-strategy: 'gerrit'
1529
1530     wrappers:
1531       - fdio-infra-wrappers-non-activity-timeout:
1532           build-timeout: '{build-timeout}'
1533
1534     triggers:
1535       - gerrit:
1536           server-name: 'Primary'
1537           trigger-on:
1538             - comment-added-contains-event:
1539                 comment-contains-value: 'csit-{topo}-{arch}-perftest'
1540           projects:
1541             - project-compare-type: 'ANT'
1542               project-pattern: '{project}'
1543               branches:
1544                 - branch-compare-type: 'ANT'
1545                   branch-pattern: '**/{branch}'
1546           skip-vote:
1547             successful: false
1548             failed: false
1549             unstable: false
1550             notbuilt: false
1551
1552     builders:
1553       - shell:
1554           !include-raw-escape: jjb/csit/include-raw-csit-perf-verify.sh
1555
1556     publishers:
1557       - archive-artifacts:
1558           artifacts: 'archive/*.*'
1559           latest-only: false
1560
1561       - robot:
1562           output-path: archive
1563           other-files:
1564             - '*.*'
1565
1566       - fdio-infra-shiplogs:
1567           maven-version: 'mvn33-new'
1568
1569 - job-template:
1570     name: 'csit-nsh_sfc-verify-perf-{stream}'
1571
1572     project-type: freestyle
1573     node: 'ubuntu1604-basebuild-4c-4g'
1574     concurrent: true
1575
1576     build-discarder:
1577       daysToKeep: '{build-days-to-keep}'
1578       numToKeep: '{build-num-to-keep}'
1579       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1580       artifactNumToKeep: '{build-artifact-num-to-keep}'
1581
1582     parameters:
1583       - project-parameter:
1584           project: '{project}'
1585       - gerrit-parameter:
1586           branch: '{branch}'
1587       - os-parameter:
1588           os: 'ubuntu1604'
1589       - stream-parameter:
1590           stream: '{stream}'
1591
1592     scm:
1593       - gerrit-trigger-scm:
1594           credentials-id: 'jenkins-gerrit-credentials'
1595           refspec: '$GERRIT_REFSPEC'
1596           choosing-strategy: 'gerrit'
1597
1598     wrappers:
1599       - fdio-infra-wrappers-non-activity-timeout:
1600           build-timeout: '{build-timeout}'
1601
1602     triggers:
1603       - gerrit-trigger-manually-triggered:
1604           name: '{project}'
1605           branch: '{branch}'
1606           comment-trigger-value: 'csit_nsh_sfc_perf_{stream}'
1607
1608     builders:
1609       - shell:
1610           !include-raw-escape: jjb/csit/include-raw-csit-nsh_sfc-perf-hw.sh
1611
1612     publishers:
1613       - archive-artifacts:
1614           artifacts: 'archive/*.*'
1615           latest-only: false
1616
1617       - robot-report:
1618           output-path: 'archive'
1619
1620       - fdio-infra-shiplogs:
1621           maven-version: 'mvn33-new'
1622
1623 - job-template:
1624     name: 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
1625
1626     project-type: freestyle
1627     node: '{os}-basebuild-4c-4g'
1628     concurrent: true
1629
1630     build-discarder:
1631       daysToKeep: '{build-days-to-keep}'
1632       numToKeep: '{build-num-to-keep}'
1633       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1634       artifactNumToKeep: '{build-artifact-num-to-keep}'
1635
1636     parameters:
1637       - project-parameter:
1638           project: '{project}'
1639       - gerrit-parameter:
1640           branch: '{branch}'
1641       - os-parameter:
1642           os: '{os}'
1643       - stream-parameter:
1644           stream: '{stream}'
1645
1646     scm:
1647       - gerrit-trigger-scm:
1648           credentials-id: 'jenkins-gerrit-credentials'
1649           refspec: '$GERRIT_REFSPEC'
1650           choosing-strategy: 'gerrit'
1651
1652     wrappers:
1653       - fdio-infra-wrappers:
1654           build-timeout: '{build-timeout}'
1655
1656     triggers:
1657       - gerrit-trigger-manually-triggered:
1658           name: '{project}'
1659           branch: '{branch}'
1660           comment-trigger-value: 'csit_nsh_sfc_func_{stream}'
1661
1662     builders:
1663       - shell:
1664           !include-raw-escape: include-raw-csit-nsh_sfc-functional-virl.sh
1665
1666     publishers:
1667       - archive-artifacts:
1668           artifacts: 'archive/*.*'
1669           latest-only: false
1670
1671       - robot-report:
1672           output-path: 'archive'
1673
1674       - fdio-infra-shiplogs:
1675           maven-version: 'mvn33-new'
1676
1677 - job-template:
1678     name: 'csit-tldk-verify-func-{stream}-{os}-virl'
1679
1680     project-type: freestyle
1681     node: '{os}-basebuild-4c-4g'
1682     concurrent: true
1683
1684     build-discarder:
1685       daysToKeep: '{build-days-to-keep}'
1686       numToKeep: '{build-num-to-keep}'
1687       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1688       artifactNumToKeep: '{build-artifact-num-to-keep}'
1689
1690     parameters:
1691       - project-parameter:
1692           project: '{project}'
1693       - gerrit-parameter:
1694           branch: '{branch}'
1695       - os-parameter:
1696           os: '{os}'
1697
1698     scm:
1699       - gerrit-trigger-scm:
1700           credentials-id: 'jenkins-gerrit-credentials'
1701           refspec: '$GERRIT_REFSPEC'
1702           choosing-strategy: 'gerrit'
1703
1704     wrappers:
1705       - fdio-infra-wrappers:
1706           build-timeout: '{build-timeout}'
1707
1708     triggers:
1709       - gerrit-trigger-manually-triggered:
1710           name: '{project}'
1711           branch: '{branch}'
1712           comment-trigger-value: 'csit_verify_tldk_func'
1713
1714     builders:
1715       - shell:
1716           !include-raw-escape: include-raw-csit-tldk-functional-virl.sh
1717
1718     publishers:
1719       - archive-artifacts:
1720           artifacts: 'archive/*.*'
1721           latest-only: false
1722
1723       - robot-report:
1724           output-path: 'archive'
1725
1726       - fdio-infra-shiplogs:
1727           maven-version: 'mvn33-new'
1728
1729 - job-template:
1730     name: 'csit-dmm-functional-{stream}-ubuntu1604-virl'
1731
1732     project-type: freestyle
1733     node: 'ubuntu1604-basebuild-4c-4g'
1734     concurrent: true
1735
1736     build-discarder:
1737       daysToKeep: '{build-days-to-keep}'
1738       numToKeep: '{build-num-to-keep}'
1739       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1740       artifactNumToKeep: '{build-artifact-num-to-keep}'
1741
1742     parameters:
1743       - project-parameter:
1744           project: '{project}'
1745       - gerrit-parameter:
1746           branch: '{branch}'
1747
1748     scm:
1749       - gerrit-trigger-scm:
1750           credentials-id: 'jenkins-gerrit-credentials'
1751           refspec: '$GERRIT_REFSPEC'
1752           choosing-strategy: 'gerrit'
1753
1754     wrappers:
1755       - fdio-infra-wrappers:
1756           build-timeout: '{build-timeout}'
1757
1758     triggers:
1759       - gerrit-trigger-manually-triggered:
1760           name: '{project}'
1761           branch: '{branch}'
1762           comment-trigger-value: 'csit_verify_dmm_func'
1763
1764     builders:
1765       - shell:
1766           !include-raw-escape: include-raw-csit-dmm-functional-virl.sh
1767
1768     publishers:
1769       - archive-artifacts:
1770           artifacts: >
1771             **/csit/report.html,
1772             **/csit/log.html,
1773             **/csit/output.xml
1774           latest-only: false
1775
1776       - robot-report:
1777           output-path: ''
1778
1779       - fdio-infra-shiplogs:
1780           maven-version: 'mvn33-new'
1781
1782 - parameter:
1783     name: test-type-parameter
1784     parameters:
1785       - string:
1786           name: TYPE
1787           default: '{type}'
1788           description: "Test TYPE parameter if not given by trigger"