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