Merge "Fix TREX linting"
[ci-management.git] / jjb / csit / csit-hc2vpp.yaml
1 ---
2 - project:
3     name: csit-hc2vpp
4     description: 'jenkins jobs verify Hc2vpp functional and performance tests'
5     jobs:
6       - 'csit-hc2vpp-verify-func-{stream}-{os}'
7       - 'csit-hc2vpp-verify-perf-{stream}'
8     project: 'csit'
9     branch: 'master'
10     build-artifact-num-to-keep: 10
11     os: 'ubuntu1604'
12     repo-os-part: 'ubuntu.xenial.main'
13
14     stream:
15       - master:
16           branch: 'master'
17       - '1801':
18           branch: 'rls1801'
19       - '1804':
20           branch: 'rls1804'
21       - '1807':
22           branch: 'rls1807'
23       - '1810':
24           branch: 'rls1810'
25           branch-id: 'oper-rls1810'
26
27 - job-template:
28     name: 'csit-hc2vpp-verify-func-{stream}-{os}'
29
30     project-type: freestyle
31     node: '{os}-basebuild-4c-4g'
32     concurrent: true
33
34     build-discarder:
35       daysToKeep: '{build-days-to-keep}'
36       numToKeep: '{build-num-to-keep}'
37       artifactDaysToKeep: '{build-artifact-days-to-keep}'
38       artifactNumToKeep: '{build-artifact-num-to-keep}'
39
40     parameters:
41       - project-parameter:
42           project: '{project}'
43       - os-parameter:
44           os: '{os}'
45       - stream-parameter:
46           stream: '{stream}'
47       - gerrit-parameter:
48           branch: '{branch}'
49
50     scm:
51       - gerrit-trigger-scm:
52           credentials-id: 'jenkins-gerrit-credentials'
53           refspec: '$GERRIT_REFSPEC'
54           choosing-strategy: 'gerrit'
55
56     wrappers:
57       - fdio-infra-wrappers:
58           build-timeout: '{build-timeout}'
59
60     triggers:
61       - gerrit-trigger-manually-triggered:
62           comment-trigger-value: 'verify-hc2vpp-func'
63           name: '{project}'
64           branch: '{branch}'
65
66     builders:
67       - shell:
68           !include-raw-escape: include-raw-csit-hc2vpp-verify-func.sh
69
70     publishers:
71       - archive-artifacts:
72           artifacts: 'archive/*.*'
73           latest-only: false
74
75       - email-notification:
76           email-prefix: '[csit]'
77
78       - robot-report:
79           output-path: 'archive'
80
81       - fdio-infra-shiplogs:
82           maven-version: 'mvn33-new'
83
84 - job-template:
85     name: 'csit-hc2vpp-verify-perf-{stream}'
86
87     project-type: freestyle
88     node: 'ubuntu1604-basebuild-4c-4g'
89     concurrent: false
90
91     build-discarder:
92       daysToKeep: '{build-days-to-keep}'
93       numToKeep: '{build-num-to-keep}'
94       artifactDaysToKeep: '{build-artifact-days-to-keep}'
95       artifactNumToKeep: '{build-artifact-num-to-keep}'
96
97     parameters:
98       - project-parameter:
99           project: '{project}'
100       - os-parameter:
101           os: '{os}'
102       - stream-parameter:
103           stream: '{stream}'
104       - gerrit-parameter:
105           branch: '{branch}'
106
107     scm:
108       - gerrit-trigger-scm:
109           credentials-id: 'jenkins-gerrit-credentials'
110           refspec: '$GERRIT_REFSPEC'
111           choosing-strategy: 'gerrit'
112
113     wrappers:
114       - fdio-infra-wrappers:
115           build-timeout: '{build-timeout}'
116
117     triggers:
118       - gerrit-trigger-manually-triggered:
119           comment-trigger-value: 'verify-hc2vpp-perf'
120           name: '{project}'
121           branch: '{branch}'
122
123     builders:
124       - shell:
125           !include-raw-escape: include-raw-csit-hc2vpp-verify-perf.sh
126
127     publishers:
128       - archive-artifacts:
129           artifacts: 'archive/*.*'
130           latest-only: false
131
132       - email-notification:
133           email-prefix: '[csit]'
134
135       - robot-report:
136           output-path: 'archive'
137
138       - fdio-infra-shiplogs:
139           maven-version: 'mvn33-new'