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