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