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