Activate JDK8 verification for lispflowmapping
[releng/builder.git] / jjb / lispflowmapping / lispflowmapping.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: lispflowmapping
8     jobs:
9         - 'lispflowmapping-merge-{stream}'
10         - 'lispflowmapping-daily-{stream}'
11         - 'lispflowmapping-integration-{stream}'
12         - 'lispflowmapping-sonar'
13         - 'lispflowmapping-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         - stable-helium:
22             branch: 'stable/helium'
23         - stable-lithium:
24             branch: 'stable/lithium'
25
26     project: 'lispflowmapping'
27     jdk: 'openjdk7'
28
29 # For the Job templates below replace instances of:
30 # PROJECT with your project name (eg. controller)
31 # MAVEN_GOALS with your maven goals to build
32 # MAVEN_OPTS with your maven options to build
33
34 - job-template:
35     name: 'lispflowmapping-merge-{stream}'
36
37     # Job template for ODL merge jobs
38     #
39     # The purpose of this job template is to setup a ODL merge job
40     # and deploy artifacts to Nexus.
41     #
42     # Required Variables:
43     #     stream:    branch with - in place of / (eg. stable-helium)
44     #     branch:    branch (eg. stable/helium)
45
46     project-type: maven
47     node: dynamic_merge
48     jdk: '{jdk}'
49
50     logrotate:
51         daysToKeep: '{build-days-to-keep}'
52         numToKeep: '{build-num-to-keep}'
53         artifactDaysToKeep: '{build-artifact-days-to-keep}'
54         artifactNumToKeep: '{build-artifact-num-to-keep}'
55
56     parameters:
57         - project-parameter:
58             project: '{project}'
59
60     scm:
61         - gerrit-trigger-scm:
62             credentials-id: '{ssh-credentials}'
63             refspec: ''
64             choosing-strategy: 'default'
65
66     wrappers:
67         - build-timeout
68         - ssh-agent-credentials:
69             users:
70                 - '{ssh-credentials}'
71
72     triggers:
73         - gerrit-trigger-patch-merged:
74             name: 'lispflowmapping'
75             branch: '{branch}'
76
77     prebuilders:
78         - wipe-org-opendaylight-repo
79
80     maven:
81         maven-name: '{mvn32}'
82         root-pom: 'pom.xml'
83         goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
84         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
85         settings: '{lispflowmapping-settings}'
86         global-settings: '{odl-global-settings}'
87
88     postbuilders:
89         - jacoco-nojava-workaround
90
91     reporters:
92         - findbugs
93
94     publishers:
95         
96         - email-notification:
97             email-prefix: '[lispflowmapping]'
98         - maven-deploy:
99             id: ''
100             unique-version: true
101             deploy-unstable: false
102         - jacoco-report
103
104 - job-template:
105     name: 'lispflowmapping-daily-{stream}'
106
107     # Job template for daily builders
108     #
109     # The purpose of this job template is to setup a daily/nightly
110     # builder and pushes to Sonar analysis.
111     #
112     # Required Variables:
113     #     stream:    branch with - in place of / (eg. stable-helium)
114     #     branch:    branch (eg. stable/helium)
115
116     project-type: maven
117     node: dynamic_verify
118     jdk: '{jdk}'
119
120     logrotate:
121         daysToKeep: '{build-days-to-keep}'
122         numToKeep: '{build-num-to-keep}'
123         artifactDaysToKeep: '{build-artifact-days-to-keep}'
124         artifactNumToKeep: '{build-artifact-num-to-keep}'
125
126     parameters:
127         - project-parameter:
128             project: '{project}'
129
130     scm:
131         - git-scm:
132             credentials-id: '{ssh-credentials}'
133             refspec: ''
134             branch: '{branch}'
135
136     wrappers:
137         - build-timeout
138         - ssh-agent-credentials:
139             users:
140                 - '{ssh-credentials}'
141
142     triggers:
143         - timed: 'H H * * *'
144
145     prebuilders:
146         - wipe-org-opendaylight-repo
147
148     maven:
149         maven-name: '{mvn32}'
150         root-pom: 'pom.xml'
151         goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
152         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
153         settings: '{lispflowmapping-settings}'
154         global-settings: '{odl-global-settings}'
155
156     postbuilders:
157         - jacoco-nojava-workaround
158
159     reporters:
160         - findbugs
161
162     publishers:
163         - email-notification:
164             email-prefix: '[lispflowmapping]'
165         - jacoco-report
166
167 - job-template:
168     name: 'lispflowmapping-integration-{stream}'
169     disabled: false
170
171     # Job template for ODL merge jobs
172     #
173     # The purpose of this job template is to setup a ODL merge job
174     # and deploy artifacts to Nexus.
175     #
176     # Required Variables:
177     #     stream:    branch with - in place of / (eg. stable-helium)
178     #     branch:    branch (eg. stable/helium)
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: '{project}'
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: 'controller-merge-{stream},odlparent-merge-{stream},yangtools-merge-{stream},neutron-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: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
218         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
219         settings: '{lispflowmapping-settings}'
220         global-settings: '{odl-global-settings}'
221
222     postbuilders:
223         - jacoco-nojava-workaround
224
225     reporters:
226         - findbugs
227
228     publishers:
229         - email-notification:
230             email-prefix: '[lispflowmapping] [controller] [odlparent] [yangtools] [neutron]'
231         - jacoco-report
232
233 - job-template:
234     name: 'lispflowmapping-sonar'
235
236     project-type: maven
237     node: dynamic_verify
238     jdk: '{jdk}'
239
240     logrotate:
241         daysToKeep: '7'
242         numToKeep: '10'
243         artifactDaysToKeep: '1'
244         artifactNumToKeep: '1'
245
246     parameters:
247         - project-parameter:
248             project: '{project}'
249
250     scm:
251         - git-scm:
252             credentials-id: '{ssh-credentials}'
253             refspec: ''
254             branch: 'master'
255
256     wrappers:
257         - build-timeout
258         - ssh-agent-credentials:
259             users:
260                 - '{ssh-credentials}'
261
262     triggers:
263         - timed: 'H H * * *'
264
265     maven:
266         maven-name: '{mvn32}'
267         root-pom: 'pom.xml'
268         goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
269         maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
270         settings: '{lispflowmapping-settings}'
271         global-settings: '{odl-global-settings}'
272
273     postbuilders:
274         - jacoco-nojava-workaround
275
276     reporters:
277         - findbugs
278
279     publishers:
280         - sonar:
281             language: 'java'
282             maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
283         - email-notification:
284             email-prefix: '[lispflowmapping]'
285         - jacoco-report
286
287 - job-template:
288     name: 'lispflowmapping-clm'
289
290     project-type: maven
291     node: dynamic_verify
292     jdk: '{jdk}'
293
294     logrotate:
295         daysToKeep: '{build-days-to-keep}'
296         numToKeep: '{build-num-to-keep}'
297         artifactDaysToKeep: '{build-artifact-days-to-keep}'
298         artifactNumToKeep: '{build-artifact-num-to-keep}'
299
300     parameters:
301         - project-parameter:
302             project: '{project}'
303
304     scm:
305         - git-scm:
306             credentials-id: '{ssh-credentials}'
307             refspec: ''
308             branch: 'master'
309
310     wrappers:
311         - build-timeout
312         - ssh-agent-credentials:
313             users:
314                 - '{ssh-credentials}'
315
316     triggers:
317         - timed: '@weekly'
318
319     prebuilders:
320         - wipe-org-opendaylight-repo
321
322     maven:
323         maven-name: '{mvn32}'
324         root-pom: 'pom.xml'
325         goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
326         maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
327         settings: '{lispflowmapping-settings}'
328         global-settings: '{odl-global-settings}'
329
330     postbuilders:
331         - check-clm:
332             application-name: lispflowmapping
333
334     publishers:
335         - email-notification:
336             email-prefix: '[lispflowmapping]'
337