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