1 # REMOVE THIS LINE IF YOU WANT TO CUSTOMIZE ANYTHING BELOW
2 # Otherwise this file will be automatically overwritten by the template
5 # ODL Releng build templates
9 - 'lispflowmapping-verify-{stream}'
10 - 'lispflowmapping-merge-{stream}'
11 - 'lispflowmapping-daily-{stream}'
12 - 'lispflowmapping-distribution-{stream}'
13 - 'lispflowmapping-integration-{stream}'
14 - 'lispflowmapping-sonar'
15 - 'lispflowmapping-clm'
18 # stream: branch with - in place of / (eg. stable-helium)
19 # branch: branch (eg. stable/helium)
28 branch: 'stable/helium'
33 branch: 'stable/lithium'
39 project: 'lispflowmapping'
41 # For the Job templates below replace instances of:
42 # PROJECT with your project name (eg. controller)
43 # MAVEN_GOALS with your maven goals to build
44 # MAVEN_OPTS with your maven options to build
47 name: 'lispflowmapping-verify-{stream}'
49 # Job template for ODL verify jobs
51 # The purpose of this job template is to setup a ODL verify job
54 # stream: branch with - in place of / (eg. stable-helium)
55 # branch: branch (eg. stable/helium)
72 daysToKeep: '{build-days-to-keep}'
73 numToKeep: '{build-num-to-keep}'
74 artifactDaysToKeep: '{build-artifact-days-to-keep}'
75 artifactNumToKeep: '{build-artifact-num-to-keep}'
85 credentials-id: '{ssh-credentials}'
86 refspec: '$GERRIT_REFSPEC'
87 choosing-strategy: 'gerrit'
91 - ssh-agent-credentials:
96 - gerrit-trigger-patch-submitted:
97 name: 'lispflowmapping'
101 - wipe-org-opendaylight-repo
103 maven-version: '{mvn32}'
105 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
107 - '-Xmx1024m -XX:MaxPermSize=256m'
108 settings: '{lispflowmapping-settings}'
109 global-settings: '{odl-global-settings}'
110 - jacoco-nojava-workaround
114 - email-notification:
115 email-prefix: '[lispflowmapping]'
119 name: 'lispflowmapping-merge-{stream}'
121 # Job template for ODL merge jobs
123 # The purpose of this job template is to setup a ODL merge job
124 # and deploy artifacts to Nexus.
126 # Required Variables:
127 # stream: branch with - in place of / (eg. stable-helium)
128 # branch: branch (eg. stable/helium)
135 daysToKeep: '{build-days-to-keep}'
136 numToKeep: '{build-num-to-keep}'
137 artifactDaysToKeep: '{build-artifact-days-to-keep}'
138 artifactNumToKeep: '{build-artifact-num-to-keep}'
145 - gerrit-trigger-scm:
146 credentials-id: '{ssh-credentials}'
148 choosing-strategy: 'default'
152 - ssh-agent-credentials:
154 - '{ssh-credentials}'
157 - gerrit-trigger-patch-merged:
158 name: 'lispflowmapping'
162 - wipe-org-opendaylight-repo
165 maven-name: '{mvn32}'
167 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
168 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
169 settings: '{lispflowmapping-settings}'
170 global-settings: '{odl-global-settings}'
173 - jacoco-nojava-workaround
180 - email-notification:
181 email-prefix: '[lispflowmapping]'
185 deploy-unstable: false
189 name: 'lispflowmapping-daily-{stream}'
191 # Job template for daily builders
193 # The purpose of this job template is to setup a daily/nightly
194 # builder and pushes to Sonar analysis.
196 # Required Variables:
197 # stream: branch with - in place of / (eg. stable-helium)
198 # branch: branch (eg. stable/helium)
205 daysToKeep: '{build-days-to-keep}'
206 numToKeep: '{build-num-to-keep}'
207 artifactDaysToKeep: '{build-artifact-days-to-keep}'
208 artifactNumToKeep: '{build-artifact-num-to-keep}'
216 credentials-id: '{ssh-credentials}'
222 - ssh-agent-credentials:
224 - '{ssh-credentials}'
230 - wipe-org-opendaylight-repo
233 maven-name: '{mvn32}'
235 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
236 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
237 settings: '{lispflowmapping-settings}'
238 global-settings: '{odl-global-settings}'
241 - jacoco-nojava-workaround
247 - email-notification:
248 email-prefix: '[lispflowmapping]'
252 name: 'lispflowmapping-distribution-{stream}'
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}'
266 project: 'integration'
270 credentials-id: '{ssh-credentials}'
276 - ssh-agent-credentials:
278 - '{ssh-credentials}'
282 jobs: '{project}-merge-{stream}'
286 - wipe-org-opendaylight-repo
289 maven-name: '{mvn32}'
291 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install source:jar javadoc:jar'
292 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
293 settings: '{integration-settings}'
294 global-settings: '{odl-global-settings}'
297 - email-notification:
298 email-prefix: '[{project}]'
302 deploy-unstable: false
305 name: 'lispflowmapping-integration-{stream}'
308 # Job template for ODL integration verify jobs
310 # This is similar to a normal verify job, but it runs
311 # when a project that's a dependency of your project
312 # is successfully built.
314 # Required Variables:
315 # stream: branch with - in place of / (eg. stable-helium)
316 # branch: branch (eg. stable/helium)
323 daysToKeep: '{build-days-to-keep}'
324 numToKeep: '{build-num-to-keep}'
325 artifactDaysToKeep: '{build-artifact-days-to-keep}'
326 artifactNumToKeep: '{build-artifact-num-to-keep}'
334 credentials-id: '{ssh-credentials}'
340 - ssh-agent-credentials:
342 - '{ssh-credentials}'
346 jobs: 'controller-merge-{stream},odlparent-merge-{stream},yangtools-merge-{stream},neutron-merge-{stream}'
350 - wipe-org-opendaylight-repo
353 maven-name: '{mvn32}'
355 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
356 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
357 settings: '{lispflowmapping-settings}'
358 global-settings: '{odl-global-settings}'
361 - jacoco-nojava-workaround
367 - email-notification:
368 email-prefix: '[lispflowmapping] [controller] [odlparent] [yangtools] [neutron]'
372 name: 'lispflowmapping-sonar'
381 artifactDaysToKeep: '1'
382 artifactNumToKeep: '1'
390 credentials-id: '{ssh-credentials}'
396 - ssh-agent-credentials:
398 - '{ssh-credentials}'
404 maven-name: '{mvn32}'
406 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
407 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
408 settings: '{lispflowmapping-settings}'
409 global-settings: '{odl-global-settings}'
412 - jacoco-nojava-workaround
420 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
421 - email-notification:
422 email-prefix: '[lispflowmapping]'
426 name: 'lispflowmapping-clm'
433 daysToKeep: '{build-days-to-keep}'
434 numToKeep: '{build-num-to-keep}'
435 artifactDaysToKeep: '{build-artifact-days-to-keep}'
436 artifactNumToKeep: '{build-artifact-num-to-keep}'
444 credentials-id: '{ssh-credentials}'
450 - ssh-agent-credentials:
452 - '{ssh-credentials}'
458 - wipe-org-opendaylight-repo
461 maven-name: '{mvn32}'
463 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
464 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
465 settings: '{lispflowmapping-settings}'
466 global-settings: '{odl-global-settings}'
470 application-name: lispflowmapping
473 - email-notification:
474 email-prefix: '[lispflowmapping]'