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