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