Merge "Add csit rls1804 for csit-hc2vpp jobs"
[ci-management.git] / jjb / csit / csit-hc2vpp.yaml
1 - project:
2     name: csit-hc2vpp
3     description: 'jenkins jobs to verify Hc2vpp functional and performance tests.'
4     jobs:
5         - 'csit-hc2vpp-verify-func-{stream}-{os}'
6         - 'csit-hc2vpp-verify-perf-{stream}'
7     project: 'csit'
8     branch: 'master'
9     build-artifact-num-to-keep: 10
10     os:
11         - ubuntu1604:
12             repo-os-part: 'ubuntu.xenial.main'
13     stream:
14         - master:
15             branch: 'master'
16         - '1710':
17             branch: 'rls1710'
18         - '1801':
19             branch: 'rls1801'
20         - '1804':
21             branch: 'rls1804'
22
23 - job-template:
24     name: 'csit-hc2vpp-verify-func-{stream}-{os}'
25
26     project-type: freestyle
27     node: '{os}-basebuild-4c-4g'
28     concurrent: true
29
30     logrotate:
31         daysToKeep: '{build-days-to-keep}'
32         numToKeep: '{build-num-to-keep}'
33         artifactDaysToKeep: '{build-artifact-days-to-keep}'
34         artifactNumToKeep: '{build-artifact-num-to-keep}'
35
36     parameters:
37         - project-parameter:
38             project: '{project}'
39         - os-parameter:
40             os: '{os}'
41         - stream-parameter:
42             stream: '{stream}'
43         - gerrit-parameter:
44             branch: '{branch}'
45
46     scm:
47         - gerrit-trigger-scm:
48             credentials-id: 'jenkins-gerrit-credentials'
49             refspec: '$GERRIT_REFSPEC'
50             choosing-strategy: 'gerrit'
51
52     wrappers:
53         - fdio-infra-wrappers:
54             build-timeout: '{build-timeout}'
55
56     triggers:
57         - gerrit:
58             server-name: 'Primary'
59             trigger-on:
60                 - comment-added-contains-event:
61                     comment-contains-value: 'verify-hc2vpp-func'
62             projects:
63               - project-compare-type: 'ANT'
64                 project-pattern: '{project}'
65                 branches:
66                   - branch-compare-type: 'ANT'
67                     branch-pattern: '**/{branch}'
68
69     builders:
70         - shell:
71             !include-raw-escape: include-raw-csit-hc2vpp-verify-func.sh
72
73     publishers:
74         - archive-artifacts:
75             artifacts: 'archive/*.*'
76             latest-only: false
77
78         - email-notification:
79             email-prefix: '[csit]'
80
81         - robot-report:
82             output-path: 'archive'
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     logrotate:
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:
119             server-name: 'Primary'
120             trigger-on:
121                 - comment-added-contains-event:
122                     comment-contains-value: 'verify-hc2vpp-perf'
123
124             projects:
125               - project-compare-type: 'ANT'
126                 project-pattern: '{project}'
127                 branches:
128                   - branch-compare-type: 'ANT'
129                     branch-pattern: '**/{branch}'
130
131     builders:
132         - shell:
133             !include-raw-escape: include-raw-csit-hc2vpp-verify-perf.sh
134
135     publishers:
136         - archive-artifacts:
137             artifacts: 'archive/*.*'
138             latest-only: false
139
140         - email-notification:
141             email-prefix: '[csit]'
142
143         - robot-report:
144             output-path: 'archive'
145
146         - fdio-infra-shiplogs:
147             maven-version: 'mvn33-new'