ceab1fe2f014e71a48355ca9d89a0ae1f267a1f1
[releng/builder.git] / jjb / ovsdb / ovsdb.yaml
1 # REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW
2 # Otherwise this file will be automatically overwritten by the template
3 # autobuilder.
4
5 # ODL Releng build templates
6 - project:
7     name: ovsdb
8     jobs:
9         - 'ovsdb-verify-{stream}'
10         - 'ovsdb-merge-{stream}'
11         - 'ovsdb-daily-{stream}'
12         - 'ovsdb-distribution-{stream}'
13         - 'ovsdb-integration-{stream}'
14         - 'ovsdb-clm-{stream}'
15
16
17     # stream:    release stream (eg. stable-lithium or beryllium)
18     # branch:    git branch (eg. stable/lithium or master)
19     stream:
20         - neutron-yang-migration:
21             branch: 'topic/master/neutron-yang-migration'
22             jdk: openjdk7
23             jdks:
24                 - openjdk7
25         - routermanager:
26             branch: 'topic/routermanager'
27             jdk: openjdk7
28             jdks:
29                 - openjdk7
30         - beryllium:
31             branch: 'master'
32             jdk: openjdk7
33             jdks:
34                 - openjdk7
35         - stable-lithium:
36             branch: 'stable/lithium'
37             jdk: openjdk7
38             jdks:
39                 - openjdk7
40         - stable-helium:
41             branch: 'stable/helium'
42             jdk: openjdk7
43             jdks:
44                 - openjdk7
45
46     project: 'ovsdb'
47
48 # For the Job templates below replace instances of:
49 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
50 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
51 # MAVEN_GOALS with your maven goals to build
52 # MAVEN_OPTS with your maven options to build
53
54 - job-template:
55     name: 'ovsdb-verify-{stream}'
56
57     # Job template for ODL verify jobs
58     #
59     # The purpose of this job template is to setup a ODL verify job
60     #
61     # Required Variables:
62     #     stream:    release stream (eg. stable-lithium or beryllium)
63     #     branch:    git branch (eg. stable/lithium or master)
64
65     project-type: matrix
66     node: matrix_master
67     concurrent: true
68
69     axes:
70         - axis:
71             type: slave
72             name: nodes
73             values:
74                 - dynamic_verify
75         - axis:
76             type: jdk
77             values: '{obj:jdks}'
78
79     logrotate:
80         daysToKeep: '{build-days-to-keep}'
81         numToKeep: '{build-num-to-keep}'
82         artifactDaysToKeep: '{build-artifact-days-to-keep}'
83         artifactNumToKeep: '{build-artifact-num-to-keep}'
84
85     parameters:
86         - project-parameter:
87             project: '{project}'
88         - gerrit-parameter:
89             branch: '{branch}'
90
91     scm:
92         - gerrit-trigger-scm:
93             credentials-id: '{ssh-credentials}'
94             refspec: '$GERRIT_REFSPEC'
95             choosing-strategy: 'gerrit'
96
97     wrappers:
98         - build-timeout
99         - ssh-agent-credentials:
100             users:
101                 - '{ssh-credentials}'
102
103     triggers:
104         - gerrit-trigger-patch-submitted:
105             name: 'ovsdb'
106             branch: '{branch}'
107
108     builders:
109         - wipe-org-opendaylight-repo
110         - jacoco-nojava-workaround
111         - provide-maven-settings:
112             global-settings-file: '{odl-global-settings}'
113             settings-file: '{ovsdb-settings}'
114         - maven-target:
115             maven-version: '{mvn33}'
116             pom: 'pom.xml'
117             goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
118             java-opts:
119                 - '-Xmx1024m -XX:MaxPermSize=256m'
120             settings: '{ovsdb-settings}'
121             global-settings: '{odl-global-settings}'
122
123     publishers:
124         - findbugs
125         - email-notification:
126             email-prefix: '[ovsdb]'
127         - jacoco-report
128
129 - job-template:
130     name: 'ovsdb-merge-{stream}'
131
132     # Job template for ODL merge jobs
133     #
134     # The purpose of this job template is to setup a ODL merge job
135     # and deploy artifacts to Nexus.
136     #
137     # Required Variables:
138     #     stream:    release stream (eg. stable-lithium or beryllium)
139     #     branch:    git branch (eg. stable/lithium or master)
140
141     project-type: maven
142     node: dynamic_merge
143     jdk: '{jdk}'
144
145     logrotate:
146         daysToKeep: '{build-days-to-keep}'
147         numToKeep: '{build-num-to-keep}'
148         artifactDaysToKeep: '{build-artifact-days-to-keep}'
149         artifactNumToKeep: '{build-artifact-num-to-keep}'
150
151     parameters:
152         - project-parameter:
153             project: '{project}'
154
155     scm:
156         - gerrit-trigger-scm:
157             credentials-id: '{ssh-credentials}'
158             refspec: ''
159             choosing-strategy: 'default'
160
161     wrappers:
162         - build-timeout
163         - ssh-agent-credentials:
164             users:
165                 - '{ssh-credentials}'
166
167     triggers:
168         - gerrit-trigger-patch-merged:
169             name: 'ovsdb'
170             branch: '{branch}'
171
172     prebuilders:
173         - wipe-org-opendaylight-repo
174         - jacoco-nojava-workaround
175         - provide-maven-settings:
176             global-settings-file: '{odl-global-settings}'
177             settings-file: '{ovsdb-settings}'
178
179     maven:
180         maven-name: '{mvn33}'
181         root-pom: 'pom.xml'
182         goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r  -Dmerge'
183         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
184         settings: '{ovsdb-settings}'
185         global-settings: '{odl-global-settings}'
186
187     reporters:
188         - findbugs
189
190     publishers:
191         - email-notification:
192             email-prefix: '[ovsdb]'
193         - maven-deploy:
194             id: ''
195             unique-version: true
196             deploy-unstable: false
197         - jacoco-report
198
199 - job-template:
200     name: 'ovsdb-daily-{stream}'
201
202     # Job template for daily builders
203     #
204     # The purpose of this job template is to setup a daily/nightly
205     # builder and pushes to Sonar analysis.
206     #
207     # Required Variables:
208     #     stream:    release stream (eg. stable-lithium or beryllium)
209     #     branch:    git branch (eg. stable/lithium or master)
210
211     project-type: maven
212     node: dynamic_verify
213     jdk: '{jdk}'
214
215     logrotate:
216         daysToKeep: '{build-days-to-keep}'
217         numToKeep: '{build-num-to-keep}'
218         artifactDaysToKeep: '{build-artifact-days-to-keep}'
219         artifactNumToKeep: '{build-artifact-num-to-keep}'
220
221     parameters:
222         - project-parameter:
223             project: '{project}'
224
225     scm:
226         - git-scm:
227             credentials-id: '{ssh-credentials}'
228             refspec: ''
229             branch: '{branch}'
230
231     wrappers:
232         - build-timeout
233         - ssh-agent-credentials:
234             users:
235                 - '{ssh-credentials}'
236
237     triggers:
238         - timed: 'H H * * *'
239
240     prebuilders:
241         - wipe-org-opendaylight-repo
242         - jacoco-nojava-workaround
243         - provide-maven-settings:
244             global-settings-file: '{odl-global-settings}'
245             settings-file: '{ovsdb-settings}'
246
247     maven:
248         maven-name: '{mvn33}'
249         root-pom: 'pom.xml'
250         goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
251         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
252         settings: '{ovsdb-settings}'
253         global-settings: '{odl-global-settings}'
254
255     reporters:
256         - findbugs
257
258     publishers:
259         - email-notification:
260             email-prefix: '[ovsdb]'
261         - jacoco-report
262
263 - job-template:
264     name: 'ovsdb-distribution-{stream}'
265
266     # Required variables:
267     #     stream:    release stream (eg. stable-lithium or beryllium)
268     #     branch:    git branch (eg. stable/lithium or master)
269
270     project-type: maven
271     node: dynamic_merge
272     jdk: '{jdk}'
273
274     logrotate:
275         daysToKeep: '{build-days-to-keep}'
276         numToKeep: '{build-num-to-keep}'
277         artifactDaysToKeep: '{build-artifact-days-to-keep}'
278         artifactNumToKeep: '{build-artifact-num-to-keep}'
279
280     parameters:
281         - project-parameter:
282             project: 'integration'
283
284     scm:
285         - git-scm:
286             credentials-id: '{ssh-credentials}'
287             refspec: ''
288             branch: '{branch}'
289
290     wrappers:
291         - build-timeout
292         - ssh-agent-credentials:
293             users:
294                 - '{ssh-credentials}'
295
296     triggers:
297         - reverse:
298             jobs: '{project}-merge-{stream}'
299             result: 'success'
300
301     prebuilders:
302         - wipe-org-opendaylight-repo
303         - provide-maven-settings:
304             global-settings-file: '{odl-global-settings}'
305             settings-file: '{ovsdb-settings}'
306
307     maven:
308         maven-name: '{mvn33}'
309         root-pom: 'pom.xml'
310         goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
311         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
312         settings: '{integration-settings}'
313         global-settings: '{odl-global-settings}'
314
315     publishers:
316         - email-notification:
317             email-prefix: '[{project}]'
318         - maven-deploy:
319             id: ''
320             unique-version: true
321             deploy-unstable: false
322
323 - job-template:
324     name: 'ovsdb-integration-{stream}'
325     disabled: false
326
327     # Job template for ODL integration verify jobs
328     #
329     # This is similar to a normal verify job, but it runs
330     # when a project that's a dependency of your project
331     # is successfully built.
332     #
333     # Required Variables:
334     #     stream:    release stream (eg. stable-lithium or beryllium)
335     #     branch:    git branch (eg. stable/lithium or master)
336
337     project-type: maven
338     node: dynamic_merge
339     jdk: '{jdk}'
340
341     logrotate:
342         daysToKeep: '{build-days-to-keep}'
343         numToKeep: '{build-num-to-keep}'
344         artifactDaysToKeep: '{build-artifact-days-to-keep}'
345         artifactNumToKeep: '{build-artifact-num-to-keep}'
346
347     parameters:
348         - project-parameter:
349             project: '{project}'
350
351     scm:
352         - git-scm:
353             credentials-id: '{ssh-credentials}'
354             refspec: ''
355             branch: '{branch}'
356
357     wrappers:
358         - build-timeout
359         - ssh-agent-credentials:
360             users:
361                 - '{ssh-credentials}'
362
363     triggers:
364         - reverse:
365             jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}'
366             result: 'success'
367
368     prebuilders:
369         - wipe-org-opendaylight-repo
370         - jacoco-nojava-workaround
371         - provide-maven-settings:
372             global-settings-file: '{odl-global-settings}'
373             settings-file: '{ovsdb-settings}'
374
375     maven:
376         maven-name: '{mvn33}'
377         root-pom: 'pom.xml'
378         goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
379         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
380         settings: '{ovsdb-settings}'
381         global-settings: '{odl-global-settings}'
382
383     reporters:
384         - findbugs
385
386     publishers:
387         - email-notification:
388             email-prefix: '[ovsdb] [odlparent] [controller] [yangtools] [openflowplugin] [neutron]'
389         - jacoco-report
390
391 - job-template:
392     name: 'ovsdb-clm-{stream}'
393
394     project-type: maven
395     node: dynamic_verify
396     jdk: '{jdk}'
397
398     logrotate:
399         daysToKeep: '{build-days-to-keep}'
400         numToKeep: '{build-num-to-keep}'
401         artifactDaysToKeep: '{build-artifact-days-to-keep}'
402         artifactNumToKeep: '{build-artifact-num-to-keep}'
403
404     parameters:
405         - project-parameter:
406             project: '{project}'
407
408     scm:
409         - git-scm:
410             credentials-id: '{ssh-credentials}'
411             refspec: ''
412             branch: '{branch}'
413
414     wrappers:
415         - build-timeout
416         - ssh-agent-credentials:
417             users:
418                 - '{ssh-credentials}'
419
420     triggers:
421         - timed: '@weekly'
422
423     prebuilders:
424         - wipe-org-opendaylight-repo
425         - provide-maven-settings:
426             global-settings-file: '{odl-global-settings}'
427             settings-file: '{ovsdb-settings}'
428
429     maven:
430         maven-name: '{mvn33}'
431         root-pom: 'pom.xml'
432         goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
433         maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
434         settings: '{ovsdb-settings}'
435         global-settings: '{odl-global-settings}'
436
437     postbuilders:
438         - check-clm:
439             application-name: ovsdb
440
441     publishers:
442         - email-notification:
443             email-prefix: '[ovsdb]'
444