Merge "VINEPERF: Docker Containers and Name Change."
[releng.git] / jjb / vineperf / vineperf.yaml
1 ---
2 - project:
3
4     name: vineperf
5
6     project: '{name}'
7
8     jobs:
9       - 'vineperf-verify-{stream}'
10       - 'vineperf-merge-{stream}'
11       - 'vineperf-daily-{stream}'
12
13     stream:
14       - master:
15           branch: '{stream}'
16           gs-pathname: ''
17           disabled: false
18       - jerma: &jerma
19           branch: 'stable/{stream}'
20           gs-pathname: '/{stream}'
21           disabled: false
22       - hunter:
23           branch: 'stable/{stream}'
24           gs-pathname: '/{stream}'
25           disabled: false
26       - gambia:
27           branch: 'stable/{stream}'
28           gs-pathname: '/{stream}'
29           disabled: false
30       - fraser:
31           branch: 'stable/{stream}'
32           gs-pathname: '/{stream}'
33           disabled: false
34
35 - job-template:
36
37     name: 'vineperf-daily-{stream}'
38
39     disabled: '{obj:disabled}'
40
41     properties:
42       - logrotate-default
43       - build-blocker:
44           use-build-blocker: true
45           blocking-jobs:
46             - 'vineperf-verify-.*'
47             - 'vineperf-merge-.*'
48             - 'vineperf-daily-.*'
49           blocking-level: 'NODE'
50
51     parameters:
52       - project-parameter:
53           project: '{project}'
54           branch: '{branch}'
55       - 'intel-pod12-defaults'
56
57     scm:
58       - git-scm
59
60     triggers:
61       - pollscm:
62           cron: '@midnight'
63
64     builders:
65       - shell: |
66           pwd
67           cd src
68           make clobber
69           make MORE_MAKE_FLAGS="-j 10"
70           cd ../ci
71           scl enable rh-python34 "source ~/vsperfenv/bin/activate ; ./build-vsperf.sh daily"
72
73 - job-template:
74     name: 'vineperf-verify-{stream}'
75
76     disabled: '{obj:disabled}'
77
78     project-type: freestyle
79
80     concurrent: true
81
82     properties:
83       - logrotate-default
84       - build-blocker:
85           use-build-blocker: true
86           blocking-jobs:
87             - 'vineperf-verify-.*'
88             - 'vineperf-merge-.*'
89             - 'vineperf-daily-.*'
90           blocking-level: 'NODE'
91
92     parameters:
93       - project-parameter:
94           project: '{project}'
95           branch: '{branch}'
96       - string:
97           name: GIT_BASE
98           default: https://gerrit.opnfv.org/gerrit/$PROJECT
99           description: 'Git URL to use on this Jenkins Slave'
100       - node:
101           name: SLAVE_NAME
102           description: 'Slave name on Jenkins'
103           allowed-slaves:
104             - intel-pod12
105           default-slaves:
106             - intel-pod12
107
108     scm:
109       - git-scm-gerrit
110
111     triggers:
112       - gerrit:
113           server-name: 'gerrit.opnfv.org'
114           trigger-on:
115             - patchset-created-event:
116                 exclude-drafts: 'false'
117                 exclude-trivial-rebase: 'false'
118                 exclude-no-code-change: 'false'
119             - draft-published-event
120             - comment-added-contains-event:
121                 comment-contains-value: 'recheck'
122             - comment-added-contains-event:
123                 comment-contains-value: 'reverify'
124           projects:
125             - project-compare-type: 'ANT'
126               project-pattern: '{project}'
127               branches:
128                 - branch-compare-type: 'ANT'
129                   branch-pattern: '**/{branch}'
130               disable-strict-forbidden-file-verification: 'true'
131               forbidden-file-paths:
132                 - compare-type: ANT
133                   pattern: 'docs/**'
134
135     builders:
136       - shell: |
137           pwd
138           cd src
139           make clobber
140           make MORE_MAKE_FLAGS="-j 5"
141           cd ../ci
142           ./build-vsperf.sh verify
143
144 - job-template:
145     name: 'vineperf-merge-{stream}'
146
147     disabled: '{obj:disabled}'
148
149     project-type: freestyle
150
151     concurrent: true
152
153     properties:
154       - logrotate-default
155       - build-blocker:
156           use-build-blocker: true
157           blocking-jobs:
158             - 'vineperf-verify-.*'
159             - 'vineperf-merge-.*'
160             - 'vineperf-daily-.*'
161           blocking-level: 'NODE'
162
163     parameters:
164       - project-parameter:
165           project: '{project}'
166           branch: '{branch}'
167       - string:
168           name: GIT_BASE
169           default: https://gerrit.opnfv.org/gerrit/$PROJECT
170           description: 'Git URL to use on this Jenkins Slave'
171       - node:
172           name: SLAVE_NAME
173           description: 'Slave name on Jenkins'
174           allowed-slaves:
175             - intel-pod12
176           default-slaves:
177             - intel-pod12
178
179     scm:
180       - git-scm
181
182     triggers:
183       - gerrit:
184           server-name: 'gerrit.opnfv.org'
185           trigger-on:
186             - change-merged-event
187             - comment-added-contains-event:
188                 comment-contains-value: 'remerge'
189           projects:
190             - project-compare-type: 'ANT'
191               project-pattern: '{project}'
192               branches:
193                 - branch-compare-type: 'ANT'
194                   branch-pattern: '**/{branch}'
195               disable-strict-forbidden-file-verification: 'true'
196               forbidden-file-paths:
197                 - compare-type: ANT
198                   pattern: 'docs/**'
199
200     builders:
201       - shell: |
202           pwd
203           cd src
204           make clobber
205           make MORE_MAKE_FLAGS="-j 5"
206           cd ../ci
207           ./build-vsperf.sh merge