Merge "Use Email Integration address"
[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           # yamllint disable-line rule:line-length
779           recipients: 'tifrank@cisco.com, csit-report+int+616+181919729795594561@lists.fd.io'
780           reply-to: ''
781           content-type: 'text'
782           subject: 'FD.io CSIT Trending Alert: Build # $BUILD_NUMBER'
783           # yamllint disable-line rule:line-length
784           attachments: '**/build-root/docs/deploy-site/src/site/resources/trending/_static/vpp/failed-tests*.tar.gz'
785           body: |
786                 FD.io CSIT Trending Alert - failed tests
787
788                 $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS
789
790                 See attachment for the list of the failed tests.
791
792           always: true
793           failure: false
794
795       - fdio-infra-shiplogs:
796           maven-version: 'mvn33-new'
797
798 - job-template:
799     name: 'csit-vpp-perf-ndrpdr-weekly-master-3n-hsw'
800
801     description: |
802       <ul>
803           <li>objective
804               <ul>
805                   <li>check vpp perf ndrpdr weekly on 3n-hsw
806               </ul>
807           <li>perf test-cases selection
808               <ul>
809                   <li>pre-selected CSIT VPP NDRPDR perf suites
810               </ul>
811           <li>results
812               <ul>
813                   <li>jjb verify: PASS/FAIL
814                   <li>present: no
815                   <li>analyse: csit project (catch malfunctions/degradations)
816               </ul>
817       </ul>
818     project-type: freestyle
819     node: 'ubuntu1604-basebuild-4c-4g'
820     concurrent: false
821
822     build-discarder:
823       daysToKeep: '{build-days-to-keep}'
824       numToKeep: '{build-num-to-keep}'
825       artifactDaysToKeep: '{build-artifact-days-to-keep}'
826       artifactNumToKeep: '{build-artifact-num-to-keep}'
827
828     parameters:
829       - project-parameter:
830           project: '{project}'
831       - gerrit-parameter:
832           branch: '{branch}'
833
834     wrappers:
835       - fdio-infra-wrappers-non-activity-timeout:
836           build-timeout: '{build-timeout}'
837
838     triggers:
839       - timed: '0 0 * * 6'
840
841     builders:
842       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
843       - inject:
844           properties-file: variables.prop
845       - shell:
846           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
847
848     publishers:
849       - archive-artifacts:
850           artifacts: 'csit/archive/*.*'
851           latest-only: false
852
853       - robot:
854           output-path: 'csit/archive'
855           other-files:
856             - '*.*'
857
858       - fdio-infra-shiplogs:
859           maven-version: 'mvn33-new'
860
861 - job-template:
862     name: 'csit-vpp-perf-ndrpdr-weekly-master-2n-skx'
863
864     description: |
865       <ul>
866           <li>objective
867               <ul>
868                   <li>check vpp perf ndrpdr weekly
869               </ul>
870           <li>perf test-cases selection
871               <ul>
872                   <li>pre-selected CSIT VPP NDRPDR perf suites
873               </ul>
874           <li>results
875               <ul>
876                   <li>jjb verify: PASS/FAIL
877                   <li>present: no
878                   <li>analyse: csit project (catch malfunctions/degradations)
879               </ul>
880       </ul>
881     project-type: freestyle
882     node: 'ubuntu1604-basebuild-4c-4g'
883     concurrent: false
884
885     build-discarder:
886       daysToKeep: '{build-days-to-keep}'
887       numToKeep: '{build-num-to-keep}'
888       artifactDaysToKeep: '{build-artifact-days-to-keep}'
889       artifactNumToKeep: '{build-artifact-num-to-keep}'
890
891     parameters:
892       - project-parameter:
893           project: '{project}'
894       - gerrit-parameter:
895           branch: '{branch}'
896
897     wrappers:
898       - fdio-infra-wrappers-non-activity-timeout:
899           build-timeout: '{build-timeout}'
900
901     triggers:
902       - timed: '0 0 * * 6'
903
904     builders:
905       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
906       - inject:
907           properties-file: variables.prop
908       - shell:
909           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
910
911     publishers:
912       - archive-artifacts:
913           artifacts: 'csit/archive/*.*'
914           latest-only: false
915
916       - robot:
917           output-path: 'csit/archive'
918           other-files:
919             - '*.*'
920
921       - fdio-infra-shiplogs:
922           maven-version: 'mvn33-new'
923
924 - job-template:
925     name: 'csit-vpp-perf-ndrpdr-weekly-master-3n-skx'
926
927     description: |
928       <ul>
929           <li>objective
930               <ul>
931                   <li>check vpp perf ndrpdr weekly
932               </ul>
933           <li>perf test-cases selection
934               <ul>
935                   <li>pre-selected CSIT VPP NDRPDR perf suites
936               </ul>
937           <li>results
938               <ul>
939                   <li>jjb verify: PASS/FAIL
940                   <li>present: no
941                   <li>analyse: csit project (catch malfunctions/degradations)
942               </ul>
943       </ul>
944     project-type: freestyle
945     node: 'ubuntu1604-basebuild-4c-4g'
946     concurrent: false
947
948     build-discarder:
949       daysToKeep: '{build-days-to-keep}'
950       numToKeep: '{build-num-to-keep}'
951       artifactDaysToKeep: '{build-artifact-days-to-keep}'
952       artifactNumToKeep: '{build-artifact-num-to-keep}'
953
954     parameters:
955       - project-parameter:
956           project: '{project}'
957       - gerrit-parameter:
958           branch: '{branch}'
959
960     wrappers:
961       - fdio-infra-wrappers-non-activity-timeout:
962           build-timeout: '{build-timeout}'
963
964     triggers:
965       - timed: '0 0 * * 6'
966
967     builders:
968       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
969       - inject:
970           properties-file: variables.prop
971       - shell:
972           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
973
974     publishers:
975       - archive-artifacts:
976           artifacts: 'csit/archive/*.*'
977           latest-only: false
978
979       - robot:
980           output-path: 'csit/archive'
981           other-files:
982             - '*.*'
983
984       - fdio-infra-shiplogs:
985           maven-version: 'mvn33-new'
986
987 - job-template:
988     name: 'csit-ligato-perf-mrr-daily-master-3n-hsw'
989
990     description: |
991       <ul>
992           <li>objective
993               <ul>
994                   <li>check ligato perf mrr daily
995               </ul>
996           <li>perf test-cases selection
997               <ul>
998                   <li>all CSIT LIGATO MRR perf suites
999               </ul>
1000           <li>results
1001               <ul>
1002                   <li>jjb verify: PASS/FAIL
1003                   <li>present: no
1004                   <li>analyse: csit project (catch malfunctions/degradations)
1005               </ul>
1006       </ul>
1007
1008     project-type: freestyle
1009     node: 'ubuntu1804-basebuild-4c-4g'
1010     concurrent: true
1011
1012     build-discarder:
1013       daysToKeep: '{build-days-to-keep}'
1014       numToKeep: '{build-num-to-keep}'
1015       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1016       artifactNumToKeep: '{build-artifact-num-to-keep}'
1017
1018     parameters:
1019       - project-parameter:
1020           project: '{project}'
1021       - gerrit-parameter:
1022           branch: '{branch}'
1023
1024     wrappers:
1025       - fdio-infra-wrappers-non-activity-timeout:
1026           build-timeout: '{build-timeout}'
1027
1028     triggers:
1029       - timed: '0 16 * * *'
1030
1031     builders:
1032       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1033       - inject:
1034           properties-file: variables.prop
1035       - shell:
1036           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1037
1038     publishers:
1039       - archive-artifacts:
1040           artifacts: 'csit/archive/*.*'
1041           latest-only: false
1042
1043       - robot:
1044           output-path: 'csit/archive'
1045           other-files:
1046             - '*.*'
1047
1048       - trigger:
1049           project: 'csit-trending-daily-master'
1050           threshold: 'FAILURE'
1051
1052       - fdio-infra-shiplogs:
1053           maven-version: 'mvn33-new'
1054
1055 - job-template:
1056     name: 'csit-vpp-perf-mrr-daily-master'
1057
1058     description: |
1059       <ul>
1060           <li>objective
1061               <ul>
1062                   <li>check vpp perf mrr daily
1063               </ul>
1064           <li>perf test-cases selection
1065               <ul>
1066                   <li>all CSIT VPP MRR perf suites
1067               </ul>
1068           <li>results
1069               <ul>
1070                   <li>jjb verify: PASS/FAIL
1071                   <li>present: no
1072                   <li>analyse: csit project (catch malfunctions/degradations)
1073               </ul>
1074       </ul>
1075
1076     project-type: freestyle
1077     node: 'ubuntu1604-basebuild-4c-4g'
1078     concurrent: true
1079
1080     build-discarder:
1081       daysToKeep: '{build-days-to-keep}'
1082       numToKeep: '{build-num-to-keep}'
1083       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1084       artifactNumToKeep: '{build-artifact-num-to-keep}'
1085
1086     parameters:
1087       - project-parameter:
1088           project: '{project}'
1089       - gerrit-parameter:
1090           branch: '{branch}'
1091
1092     wrappers:
1093       - fdio-infra-wrappers-non-activity-timeout:
1094           build-timeout: '{build-timeout}'
1095
1096     triggers:
1097       - timed: '0 2,16 * * *'
1098
1099     builders:
1100       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1101       - inject:
1102           properties-file: variables.prop
1103       - shell:
1104           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1105
1106     publishers:
1107       - archive-artifacts:
1108           artifacts: 'csit/archive/*.*'
1109           latest-only: false
1110
1111       - robot:
1112           output-path: 'csit/archive'
1113           other-files:
1114             - '*.*'
1115
1116       - trigger:
1117           project: 'csit-trending-daily-master'
1118           threshold: 'FAILURE'
1119
1120       - fdio-infra-shiplogs:
1121           maven-version: 'mvn33-new'
1122
1123 - job-template:
1124     name: 'csit-vpp-perf-mrr-daily-master-2n-skx'
1125
1126     description: |
1127       <ul>
1128           <li>objective
1129               <ul>
1130                   <li>check vpp perf mrr daily
1131               </ul>
1132           <li>perf test-cases selection
1133               <ul>
1134                   <li>all CSIT VPP MRR perf suites
1135               </ul>
1136           <li>results
1137               <ul>
1138                   <li>jjb verify: PASS/FAIL
1139                   <li>present: no
1140                   <li>analyse: csit project (catch malfunctions/degradations)
1141               </ul>
1142       </ul>
1143
1144     project-type: freestyle
1145     node: 'ubuntu1604-basebuild-4c-4g'
1146     concurrent: true
1147
1148     build-discarder:
1149       daysToKeep: '{build-days-to-keep}'
1150       numToKeep: '{build-num-to-keep}'
1151       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1152       artifactNumToKeep: '{build-artifact-num-to-keep}'
1153
1154     parameters:
1155       - project-parameter:
1156           project: '{project}'
1157       - gerrit-parameter:
1158           branch: '{branch}'
1159
1160     wrappers:
1161       - fdio-infra-wrappers-non-activity-timeout:
1162           build-timeout: '{build-timeout}'
1163
1164     triggers:
1165       - timed: '0 2,16 * * *'
1166
1167     builders:
1168       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1169       - inject:
1170           properties-file: variables.prop
1171       - shell:
1172           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1173
1174     publishers:
1175       - archive-artifacts:
1176           artifacts: 'csit/archive/*.*'
1177           latest-only: false
1178
1179       - robot:
1180           output-path: 'csit/archive'
1181           other-files:
1182             - '*.*'
1183
1184       - trigger:
1185           project: 'csit-trending-daily-master'
1186           threshold: 'FAILURE'
1187
1188       - fdio-infra-shiplogs:
1189           maven-version: 'mvn33-new'
1190
1191 - job-template:
1192     name: 'csit-vpp-perf-mrr-daily-master-3n-skx'
1193
1194     description: |
1195       <ul>
1196           <li>objective
1197               <ul>
1198                   <li>check vpp perf mrr daily
1199               </ul>
1200           <li>perf test-cases selection
1201               <ul>
1202                   <li>all CSIT VPP MRR perf suites
1203               </ul>
1204           <li>results
1205               <ul>
1206                   <li>jjb verify: PASS/FAIL
1207                   <li>present: no
1208                   <li>analyse: csit project (catch malfunctions/degradations)
1209               </ul>
1210       </ul>
1211
1212     project-type: freestyle
1213     node: 'ubuntu1604-basebuild-4c-4g'
1214     concurrent: true
1215
1216     build-discarder:
1217       daysToKeep: '{build-days-to-keep}'
1218       numToKeep: '{build-num-to-keep}'
1219       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1220       artifactNumToKeep: '{build-artifact-num-to-keep}'
1221
1222     parameters:
1223       - project-parameter:
1224           project: '{project}'
1225       - gerrit-parameter:
1226           branch: '{branch}'
1227
1228     wrappers:
1229       - fdio-infra-wrappers-non-activity-timeout:
1230           build-timeout: '{build-timeout}'
1231
1232     triggers:
1233       - timed: '0 2,16 * * *'
1234
1235     builders:
1236       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1237       - inject:
1238           properties-file: variables.prop
1239       - shell:
1240           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1241
1242     publishers:
1243       - archive-artifacts:
1244           artifacts: 'csit/archive/*.*'
1245           latest-only: false
1246
1247       - robot:
1248           output-path: 'csit/archive'
1249           other-files:
1250             - '*.*'
1251
1252       - trigger:
1253           project: 'csit-trending-daily-master'
1254           threshold: 'FAILURE'
1255
1256       - fdio-infra-shiplogs:
1257           maven-version: 'mvn33-new'
1258
1259 - job-template:
1260     name: 'csit-dpdk-perf-mrr-weekly-master'
1261
1262     description: |
1263       <ul>
1264           <li>objective
1265               <ul>
1266                   <li>check dpdk perf mrr weekly
1267               </ul>
1268           <li>perf test-cases selection
1269               <ul>
1270                   <li>all CSIT DPDK MRR perf suites
1271               </ul>
1272           <li>results
1273               <ul>
1274                   <li>jjb verify: PASS/FAIL
1275                   <li>present: no
1276                   <li>analyse: csit project (catch malfunctions/degradations)
1277               </ul>
1278       </ul>
1279
1280     project-type: freestyle
1281     node: 'ubuntu1604-basebuild-4c-4g'
1282     concurrent: false
1283
1284     build-discarder:
1285       daysToKeep: '{build-days-to-keep}'
1286       numToKeep: '{build-num-to-keep}'
1287       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1288       artifactNumToKeep: '{build-artifact-num-to-keep}'
1289
1290     parameters:
1291       - project-parameter:
1292           project: '{project}'
1293       - gerrit-parameter:
1294           branch: '{branch}'
1295
1296     wrappers:
1297       - fdio-infra-wrappers-non-activity-timeout:
1298           build-timeout: '{build-timeout}'
1299
1300     triggers:
1301       - timed: '0 0 * * 6'
1302
1303     builders:
1304       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1305       - inject:
1306           properties-file: variables.prop
1307       - shell:
1308           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1309
1310     publishers:
1311       - archive-artifacts:
1312           artifacts: 'csit/archive/*.*'
1313           latest-only: false
1314
1315       - robot:
1316           output-path: 'csit/archive'
1317           other-files:
1318             - '*.*'
1319
1320       - trigger:
1321           project: 'csit-trending-daily-master'
1322           threshold: 'FAILURE'
1323
1324       - fdio-infra-shiplogs:
1325           maven-version: 'mvn33-new'
1326
1327 - job-template:
1328     name: 'csit-dpdk-perf-mrr-weekly-master-2n-skx'
1329
1330     description: |
1331       <ul>
1332           <li>objective
1333               <ul>
1334                   <li>check dpdk perf mrr weekly
1335               </ul>
1336           <li>perf test-cases selection
1337               <ul>
1338                   <li>all CSIT DPDK MRR perf suites
1339               </ul>
1340           <li>results
1341               <ul>
1342                   <li>jjb verify: PASS/FAIL
1343                   <li>present: no
1344                   <li>analyse: csit project (catch malfunctions/degradations)
1345               </ul>
1346       </ul>
1347
1348     project-type: freestyle
1349     node: 'ubuntu1604-basebuild-4c-4g'
1350     concurrent: false
1351
1352     build-discarder:
1353       daysToKeep: '{build-days-to-keep}'
1354       numToKeep: '{build-num-to-keep}'
1355       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1356       artifactNumToKeep: '{build-artifact-num-to-keep}'
1357
1358     parameters:
1359       - project-parameter:
1360           project: '{project}'
1361       - gerrit-parameter:
1362           branch: '{branch}'
1363
1364     wrappers:
1365       - fdio-infra-wrappers-non-activity-timeout:
1366           build-timeout: '{build-timeout}'
1367
1368     triggers:
1369       - timed: '0 0 * * 6'
1370
1371     builders:
1372       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1373       - inject:
1374           properties-file: variables.prop
1375       - shell:
1376           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1377
1378     publishers:
1379       - archive-artifacts:
1380           artifacts: 'csit/archive/*.*'
1381           latest-only: false
1382
1383       - robot:
1384           output-path: 'csit/archive'
1385           other-files:
1386             - '*.*'
1387
1388       - trigger:
1389           project: 'csit-trending-daily-master'
1390           threshold: 'FAILURE'
1391
1392       - fdio-infra-shiplogs:
1393           maven-version: 'mvn33-new'
1394
1395 - job-template:
1396     name: 'csit-dpdk-perf-mrr-weekly-master-3n-skx'
1397
1398     description: |
1399       <ul>
1400           <li>objective
1401               <ul>
1402                   <li>check dpdk perf mrr weekly
1403               </ul>
1404           <li>perf test-cases selection
1405               <ul>
1406                   <li>all CSIT DPDK MRR perf suites
1407               </ul>
1408           <li>results
1409               <ul>
1410                   <li>jjb verify: PASS/FAIL
1411                   <li>present: no
1412                   <li>analyse: csit project (catch malfunctions/degradations)
1413               </ul>
1414       </ul>
1415
1416     project-type: freestyle
1417     node: 'ubuntu1604-basebuild-4c-4g'
1418     concurrent: false
1419
1420     build-discarder:
1421       daysToKeep: '{build-days-to-keep}'
1422       numToKeep: '{build-num-to-keep}'
1423       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1424       artifactNumToKeep: '{build-artifact-num-to-keep}'
1425
1426     parameters:
1427       - project-parameter:
1428           project: '{project}'
1429       - gerrit-parameter:
1430           branch: '{branch}'
1431
1432     wrappers:
1433       - fdio-infra-wrappers-non-activity-timeout:
1434           build-timeout: '{build-timeout}'
1435
1436     triggers:
1437       - timed: '0 0 * * 6'
1438
1439     builders:
1440       - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1441       - inject:
1442           properties-file: variables.prop
1443       - shell:
1444           !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1445
1446     publishers:
1447       - archive-artifacts:
1448           artifacts: 'csit/archive/*.*'
1449           latest-only: false
1450
1451       - robot:
1452           output-path: 'csit/archive'
1453           other-files:
1454             - '*.*'
1455
1456       - trigger:
1457           project: 'csit-trending-daily-master'
1458           threshold: 'FAILURE'
1459
1460       - fdio-infra-shiplogs:
1461           maven-version: 'mvn33-new'
1462
1463
1464 - job-template:
1465     name: 'csit-vpp-perf-verify-{stream}-{topo}-{arch}'
1466
1467     description: |
1468       <ul>
1469           <li>objective
1470               <ul>
1471                   <li>perf verify - per csit gerrit patch
1472               </ul>
1473           <li>job
1474               <ul>
1475                   <li>name: <b>csit-vpp-perf-verify-{stream}-{topo}-{arch}</b>
1476                   <li>trigger: keyword in comment to csit patch:
1477                       <b>csit-{topo}-{arch}-perftest tag_list</b>
1478               </ul>
1479           <li>perf test-cases selection
1480               <ul>
1481                   <li>test-cases selected using trigger keyword followed by tags
1482                   <li>all test-cases are labelled with CSIT RF topic tags
1483                       defined in <i>csit/docs/tag_documentation.rst</i>
1484               </ul>
1485           <li>proposed keywords
1486               <ul>
1487                   <li>focus on testing specified vpp packet processing path
1488                   <li>format: csit-{topo}-{arch}-perftest tag_list
1489               </ul>
1490           <li>default tags for vpp startup config and perf test type
1491               <ul>
1492                   <li>IP4BASE, IP6BASE, L2BDBASE
1493                   <li>64B/78B: 64B/78B packet size
1494                   <li>1C: one core
1495                   <li>X710: x710 Fortville NIC
1496                   <li>MRR: MRR throughput
1497               </ul>
1498           <li>results
1499               <ul>
1500                   <li>jjb verify: PASS/FAIL
1501                   <li>present: no
1502                   <li>analyse: no
1503               </ul>
1504       </ul>
1505
1506     project-type: freestyle
1507     node: 'ubuntu1604-basebuild-8c-32g'
1508     concurrent: true
1509
1510     build-discarder:
1511       daysToKeep: '{build-days-to-keep}'
1512       numToKeep: '{build-num-to-keep}'
1513       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1514       artifactNumToKeep: '{build-artifact-num-to-keep}'
1515
1516     parameters:
1517       - project-parameter:
1518           project: '{project}'
1519       - gerrit-parameter:
1520           branch: '{branch}'
1521       - gerrit-refspec-parameter
1522       - gerrit-event-type-parameter
1523       - gerrit-event-comment-text-parameter
1524
1525     scm:
1526       - gerrit-trigger-scm:
1527           credentials-id: 'jenkins-gerrit-credentials'
1528           refspec: '$GERRIT_REFSPEC'
1529           choosing-strategy: 'gerrit'
1530
1531     wrappers:
1532       - fdio-infra-wrappers-non-activity-timeout:
1533           build-timeout: '{build-timeout}'
1534
1535     triggers:
1536       - gerrit:
1537           server-name: 'Primary'
1538           trigger-on:
1539             - comment-added-contains-event:
1540                 comment-contains-value: 'csit-{topo}-{arch}-perftest'
1541           projects:
1542             - project-compare-type: 'ANT'
1543               project-pattern: '{project}'
1544               branches:
1545                 - branch-compare-type: 'ANT'
1546                   branch-pattern: '**/{branch}'
1547           skip-vote:
1548             successful: false
1549             failed: false
1550             unstable: false
1551             notbuilt: false
1552
1553     builders:
1554       - shell:
1555           !include-raw-escape: jjb/csit/include-raw-csit-perf-verify.sh
1556
1557     publishers:
1558       - archive-artifacts:
1559           artifacts: 'archive/*.*'
1560           latest-only: false
1561
1562       - robot:
1563           output-path: archive
1564           other-files:
1565             - '*.*'
1566
1567       - fdio-infra-shiplogs:
1568           maven-version: 'mvn33-new'
1569
1570 - job-template:
1571     name: 'csit-nsh_sfc-verify-perf-{stream}'
1572
1573     project-type: freestyle
1574     node: 'ubuntu1604-basebuild-4c-4g'
1575     concurrent: true
1576
1577     build-discarder:
1578       daysToKeep: '{build-days-to-keep}'
1579       numToKeep: '{build-num-to-keep}'
1580       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1581       artifactNumToKeep: '{build-artifact-num-to-keep}'
1582
1583     parameters:
1584       - project-parameter:
1585           project: '{project}'
1586       - gerrit-parameter:
1587           branch: '{branch}'
1588       - os-parameter:
1589           os: 'ubuntu1604'
1590       - stream-parameter:
1591           stream: '{stream}'
1592
1593     scm:
1594       - gerrit-trigger-scm:
1595           credentials-id: 'jenkins-gerrit-credentials'
1596           refspec: '$GERRIT_REFSPEC'
1597           choosing-strategy: 'gerrit'
1598
1599     wrappers:
1600       - fdio-infra-wrappers-non-activity-timeout:
1601           build-timeout: '{build-timeout}'
1602
1603     triggers:
1604       - gerrit-trigger-manually-triggered:
1605           name: '{project}'
1606           branch: '{branch}'
1607           comment-trigger-value: 'csit_nsh_sfc_perf_{stream}'
1608
1609     builders:
1610       - shell:
1611           !include-raw-escape: jjb/csit/include-raw-csit-nsh_sfc-perf-hw.sh
1612
1613     publishers:
1614       - archive-artifacts:
1615           artifacts: 'archive/*.*'
1616           latest-only: false
1617
1618       - robot-report:
1619           output-path: 'archive'
1620
1621       - fdio-infra-shiplogs:
1622           maven-version: 'mvn33-new'
1623
1624 - job-template:
1625     name: 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
1626
1627     project-type: freestyle
1628     node: '{os}-basebuild-4c-4g'
1629     concurrent: true
1630
1631     build-discarder:
1632       daysToKeep: '{build-days-to-keep}'
1633       numToKeep: '{build-num-to-keep}'
1634       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1635       artifactNumToKeep: '{build-artifact-num-to-keep}'
1636
1637     parameters:
1638       - project-parameter:
1639           project: '{project}'
1640       - gerrit-parameter:
1641           branch: '{branch}'
1642       - os-parameter:
1643           os: '{os}'
1644       - stream-parameter:
1645           stream: '{stream}'
1646
1647     scm:
1648       - gerrit-trigger-scm:
1649           credentials-id: 'jenkins-gerrit-credentials'
1650           refspec: '$GERRIT_REFSPEC'
1651           choosing-strategy: 'gerrit'
1652
1653     wrappers:
1654       - fdio-infra-wrappers:
1655           build-timeout: '{build-timeout}'
1656
1657     triggers:
1658       - gerrit-trigger-manually-triggered:
1659           name: '{project}'
1660           branch: '{branch}'
1661           comment-trigger-value: 'csit_nsh_sfc_func_{stream}'
1662
1663     builders:
1664       - shell:
1665           !include-raw-escape: include-raw-csit-nsh_sfc-functional-virl.sh
1666
1667     publishers:
1668       - archive-artifacts:
1669           artifacts: 'archive/*.*'
1670           latest-only: false
1671
1672       - robot-report:
1673           output-path: 'archive'
1674
1675       - fdio-infra-shiplogs:
1676           maven-version: 'mvn33-new'
1677
1678 - job-template:
1679     name: 'csit-tldk-verify-func-{stream}-{os}-virl'
1680
1681     project-type: freestyle
1682     node: '{os}-basebuild-4c-4g'
1683     concurrent: true
1684
1685     build-discarder:
1686       daysToKeep: '{build-days-to-keep}'
1687       numToKeep: '{build-num-to-keep}'
1688       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1689       artifactNumToKeep: '{build-artifact-num-to-keep}'
1690
1691     parameters:
1692       - project-parameter:
1693           project: '{project}'
1694       - gerrit-parameter:
1695           branch: '{branch}'
1696       - os-parameter:
1697           os: '{os}'
1698
1699     scm:
1700       - gerrit-trigger-scm:
1701           credentials-id: 'jenkins-gerrit-credentials'
1702           refspec: '$GERRIT_REFSPEC'
1703           choosing-strategy: 'gerrit'
1704
1705     wrappers:
1706       - fdio-infra-wrappers:
1707           build-timeout: '{build-timeout}'
1708
1709     triggers:
1710       - gerrit-trigger-manually-triggered:
1711           name: '{project}'
1712           branch: '{branch}'
1713           comment-trigger-value: 'csit_verify_tldk_func'
1714
1715     builders:
1716       - shell:
1717           !include-raw-escape: include-raw-csit-tldk-functional-virl.sh
1718
1719     publishers:
1720       - archive-artifacts:
1721           artifacts: 'archive/*.*'
1722           latest-only: false
1723
1724       - robot-report:
1725           output-path: 'archive'
1726
1727       - fdio-infra-shiplogs:
1728           maven-version: 'mvn33-new'
1729
1730 - job-template:
1731     name: 'csit-dmm-functional-{stream}-ubuntu1604-virl'
1732
1733     project-type: freestyle
1734     node: 'ubuntu1604-basebuild-4c-4g'
1735     concurrent: true
1736
1737     build-discarder:
1738       daysToKeep: '{build-days-to-keep}'
1739       numToKeep: '{build-num-to-keep}'
1740       artifactDaysToKeep: '{build-artifact-days-to-keep}'
1741       artifactNumToKeep: '{build-artifact-num-to-keep}'
1742
1743     parameters:
1744       - project-parameter:
1745           project: '{project}'
1746       - gerrit-parameter:
1747           branch: '{branch}'
1748
1749     scm:
1750       - gerrit-trigger-scm:
1751           credentials-id: 'jenkins-gerrit-credentials'
1752           refspec: '$GERRIT_REFSPEC'
1753           choosing-strategy: 'gerrit'
1754
1755     wrappers:
1756       - fdio-infra-wrappers:
1757           build-timeout: '{build-timeout}'
1758
1759     triggers:
1760       - gerrit-trigger-manually-triggered:
1761           name: '{project}'
1762           branch: '{branch}'
1763           comment-trigger-value: 'csit_verify_dmm_func'
1764
1765     builders:
1766       - shell:
1767           !include-raw-escape: include-raw-csit-dmm-functional-virl.sh
1768
1769     publishers:
1770       - archive-artifacts:
1771           artifacts: >
1772             **/csit/report.html,
1773             **/csit/log.html,
1774             **/csit/output.xml
1775           latest-only: false
1776
1777       - robot-report:
1778           output-path: ''
1779
1780       - fdio-infra-shiplogs:
1781           maven-version: 'mvn33-new'
1782
1783 - parameter:
1784     name: test-type-parameter
1785     parameters:
1786       - string:
1787           name: TYPE
1788           default: '{type}'
1789           description: "Test TYPE parameter if not given by trigger"