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