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