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