Merge "Add stable/lithium jobs for openflowplugin"
[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-integration-{stream}'
13         - 'ovsdb-clm'
14
15
16     # stream:    branch with - in place of / (eg. stable-helium)
17     # branch:    branch (eg. stable/helium)
18     stream:
19         - master:
20             branch: 'master'
21             jdk: openjdk7
22             jdks:
23                 - openjdk7
24         - stable-helium:
25             branch: 'stable/helium'
26             jdk: openjdk7
27             jdks:
28                 - openjdk7
29         - stable-lithium:
30             branch: 'stable/lithium'
31             jdk: openjdk7
32             jdks:
33                 - openjdk7
34
35     project: 'ovsdb'
36
37 # For the Job templates below replace instances of:
38 # PROJECT with your project name (eg. controller)
39 # MAVEN_GOALS with your maven goals to build
40 # MAVEN_OPTS with your maven options to build
41
42 - job-template:
43     name: 'ovsdb-verify-{stream}'
44
45     # Job template for ODL verify jobs
46     #
47     # The purpose of this job template is to setup a ODL verify job
48     #
49     # Required Variables:
50     #     stream:    branch with - in place of / (eg. stable-helium)
51     #     branch:    branch (eg. stable/helium)
52
53     project-type: matrix
54     node: matrix_master
55     concurrent: true
56
57     axes:
58         - axis:
59             type: slave
60             name: nodes
61             values:
62                 - dynamic_verify
63         - axis:
64             type: jdk
65             values: '{obj:jdks}'
66
67     logrotate:
68         daysToKeep: '{build-days-to-keep}'
69         numToKeep: '{build-num-to-keep}'
70         artifactDaysToKeep: '{build-artifact-days-to-keep}'
71         artifactNumToKeep: '{build-artifact-num-to-keep}'
72
73     parameters:
74         - project-parameter:
75             project: '{project}'
76         - gerrit-parameter:
77             branch: '{branch}'
78
79     scm:
80         - gerrit-trigger-scm:
81             credentials-id: '{ssh-credentials}'
82             refspec: '$GERRIT_REFSPEC'
83             choosing-strategy: 'gerrit'
84
85     wrappers:
86         - build-timeout
87         - ssh-agent-credentials:
88             users:
89                 - '{ssh-credentials}'
90
91     triggers:
92         - gerrit-trigger-patch-submitted:
93             name: 'ovsdb'
94             branch: '{branch}'
95
96     builders:
97         - wipe-org-opendaylight-repo
98         - maven-target:
99             maven-version: '{mvn32}'
100             pom: 'pom.xml'
101             goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
102             java-opts:
103                 - '-Xmx1024m -XX:MaxPermSize=256m'
104             settings: '{ovsdb-settings}'
105             global-settings: '{odl-global-settings}'
106         - jacoco-nojava-workaround
107
108     publishers:
109         - findbugs
110         - email-notification:
111             email-prefix: '[ovsdb]'
112         - jacoco-report
113
114 - job-template:
115     name: 'ovsdb-merge-{stream}'
116
117     # Job template for ODL merge jobs
118     #
119     # The purpose of this job template is to setup a ODL merge job
120     # and deploy artifacts to Nexus.
121     #
122     # Required Variables:
123     #     stream:    branch with - in place of / (eg. stable-helium)
124     #     branch:    branch (eg. stable/helium)
125
126     project-type: maven
127     node: dynamic_merge
128     jdk: '{jdk}'
129
130     logrotate:
131         daysToKeep: '{build-days-to-keep}'
132         numToKeep: '{build-num-to-keep}'
133         artifactDaysToKeep: '{build-artifact-days-to-keep}'
134         artifactNumToKeep: '{build-artifact-num-to-keep}'
135
136     parameters:
137         - project-parameter:
138             project: '{project}'
139
140     scm:
141         - gerrit-trigger-scm:
142             credentials-id: '{ssh-credentials}'
143             refspec: ''
144             choosing-strategy: 'default'
145
146     wrappers:
147         - build-timeout
148         - ssh-agent-credentials:
149             users:
150                 - '{ssh-credentials}'
151
152     triggers:
153         - gerrit-trigger-patch-merged:
154             name: 'ovsdb'
155             branch: '{branch}'
156
157     prebuilders:
158         - wipe-org-opendaylight-repo
159
160     maven:
161         maven-name: '{mvn32}'
162         root-pom: 'pom.xml'
163         goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r  source:jar javadoc:jar'
164         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
165         settings: '{ovsdb-settings}'
166         global-settings: '{odl-global-settings}'
167
168     postbuilders:
169         - jacoco-nojava-workaround
170
171     reporters:
172         - findbugs
173
174     publishers:
175         
176         - email-notification:
177             email-prefix: '[ovsdb]'
178         - maven-deploy:
179             id: ''
180             unique-version: true
181             deploy-unstable: false
182         - jacoco-report
183
184 - job-template:
185     name: 'ovsdb-daily-{stream}'
186
187     # Job template for daily builders
188     #
189     # The purpose of this job template is to setup a daily/nightly
190     # builder and pushes to Sonar analysis.
191     #
192     # Required Variables:
193     #     stream:    branch with - in place of / (eg. stable-helium)
194     #     branch:    branch (eg. stable/helium)
195
196     project-type: maven
197     node: dynamic_verify
198     jdk: '{jdk}'
199
200     logrotate:
201         daysToKeep: '{build-days-to-keep}'
202         numToKeep: '{build-num-to-keep}'
203         artifactDaysToKeep: '{build-artifact-days-to-keep}'
204         artifactNumToKeep: '{build-artifact-num-to-keep}'
205
206     parameters:
207         - project-parameter:
208             project: '{project}'
209
210     scm:
211         - git-scm:
212             credentials-id: '{ssh-credentials}'
213             refspec: ''
214             branch: '{branch}'
215
216     wrappers:
217         - build-timeout
218         - ssh-agent-credentials:
219             users:
220                 - '{ssh-credentials}'
221
222     triggers:
223         - timed: 'H H * * *'
224
225     prebuilders:
226         - wipe-org-opendaylight-repo
227
228     maven:
229         maven-name: '{mvn32}'
230         root-pom: 'pom.xml'
231         goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r  source:jar javadoc:jar'
232         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
233         settings: '{ovsdb-settings}'
234         global-settings: '{odl-global-settings}'
235
236     postbuilders:
237         - jacoco-nojava-workaround
238
239     reporters:
240         - findbugs
241
242     publishers:
243         - email-notification:
244             email-prefix: '[ovsdb]'
245         - jacoco-report
246
247 - job-template:
248     name: 'ovsdb-integration-{stream}'
249     disabled: false
250
251     # Job template for ODL integration verify jobs
252     #
253     # This is similar to a normal verify job, but it runs
254     # when a project that's a dependency of your project
255     # is successfully built.
256     #
257     # Required Variables:
258     #     stream:    branch with - in place of / (eg. stable-helium)
259     #     branch:    branch (eg. stable/helium)
260
261     project-type: maven
262     node: dynamic_merge
263     jdk: '{jdk}'
264
265     logrotate:
266         daysToKeep: '{build-days-to-keep}'
267         numToKeep: '{build-num-to-keep}'
268         artifactDaysToKeep: '{build-artifact-days-to-keep}'
269         artifactNumToKeep: '{build-artifact-num-to-keep}'
270
271     parameters:
272         - project-parameter:
273             project: '{project}'
274
275     scm:
276         - git-scm:
277             credentials-id: '{ssh-credentials}'
278             refspec: ''
279             branch: '{branch}'
280
281     wrappers:
282         - build-timeout
283         - ssh-agent-credentials:
284             users:
285                 - '{ssh-credentials}'
286
287     triggers:
288         - reverse:
289             jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}'
290             result: 'success'
291
292     prebuilders:
293         - wipe-org-opendaylight-repo
294
295     maven:
296         maven-name: '{mvn32}'
297         root-pom: 'pom.xml'
298         goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r  source:jar javadoc:jar'
299         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
300         settings: '{ovsdb-settings}'
301         global-settings: '{odl-global-settings}'
302
303     postbuilders:
304         - jacoco-nojava-workaround
305
306     reporters:
307         - findbugs
308
309     publishers:
310         - email-notification:
311             email-prefix: '[ovsdb] [odlparent] [controller] [yangtools] [openflowplugin] [neutron]'
312         - jacoco-report
313
314 - job-template:
315     name: 'ovsdb-clm'
316
317     project-type: maven
318     node: dynamic_verify
319     jdk: 'openjdk7'
320
321     logrotate:
322         daysToKeep: '{build-days-to-keep}'
323         numToKeep: '{build-num-to-keep}'
324         artifactDaysToKeep: '{build-artifact-days-to-keep}'
325         artifactNumToKeep: '{build-artifact-num-to-keep}'
326
327     parameters:
328         - project-parameter:
329             project: '{project}'
330
331     scm:
332         - git-scm:
333             credentials-id: '{ssh-credentials}'
334             refspec: ''
335             branch: 'master'
336
337     wrappers:
338         - build-timeout
339         - ssh-agent-credentials:
340             users:
341                 - '{ssh-credentials}'
342
343     triggers:
344         - timed: '@weekly'
345
346     prebuilders:
347         - wipe-org-opendaylight-repo
348
349     maven:
350         maven-name: '{mvn32}'
351         root-pom: 'pom.xml'
352         goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
353         maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
354         settings: '{ovsdb-settings}'
355         global-settings: '{odl-global-settings}'
356
357     postbuilders:
358         - check-clm:
359             application-name: ovsdb
360
361     publishers:
362         - email-notification:
363             email-prefix: '[ovsdb]'
364