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 - 'vtn-verify-{stream}'
10 - 'vtn-merge-{stream}'
11 - 'vtn-daily-{stream}'
12 - 'vtn-distribution-{stream}'
13 - 'vtn-integration-{stream}'
18 # stream: branch with - in place of / (eg. stable-helium)
19 # branch: branch (eg. stable/helium)
27 branch: 'stable/helium'
32 branch: 'stable/lithium'
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
45 name: 'vtn-verify-{stream}'
47 # Job template for ODL verify jobs
49 # The purpose of this job template is to setup a ODL verify job
52 # stream: branch with - in place of / (eg. stable-helium)
53 # branch: branch (eg. stable/helium)
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}'
83 credentials-id: '{ssh-credentials}'
84 refspec: '$GERRIT_REFSPEC'
85 choosing-strategy: 'gerrit'
89 - ssh-agent-credentials:
94 - gerrit-trigger-patch-submitted:
99 - wipe-org-opendaylight-repo
101 maven-version: '{mvn33}'
103 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
105 - '-Xmx1024m -XX:MaxPermSize=256m'
106 settings: '{vtn-settings}'
107 global-settings: '{odl-global-settings}'
108 - jacoco-nojava-workaround
112 - email-notification:
113 email-prefix: '[vtn]'
117 name: 'vtn-merge-{stream}'
119 # Job template for ODL merge jobs
121 # The purpose of this job template is to setup a ODL merge job
122 # and deploy artifacts to Nexus.
124 # Required Variables:
125 # stream: branch with - in place of / (eg. stable-helium)
126 # branch: branch (eg. stable/helium)
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}'
143 - gerrit-trigger-scm:
144 credentials-id: '{ssh-credentials}'
146 choosing-strategy: 'default'
150 - ssh-agent-credentials:
152 - '{ssh-credentials}'
155 - gerrit-trigger-patch-merged:
160 - wipe-org-opendaylight-repo
163 maven-name: '{mvn33}'
165 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge'
166 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
167 settings: '{vtn-settings}'
168 global-settings: '{odl-global-settings}'
171 - jacoco-nojava-workaround
178 artifacts: 'manager/dist/*/target/*.zip, coordinator/dist/target/*.bz2, manager/northbound/target/site/wsdocs/**, manager/api/target/*-javadoc.jar, manager/api/target/apidocs/**'
179 - email-notification:
180 email-prefix: '[vtn]'
184 deploy-unstable: false
188 name: 'vtn-daily-{stream}'
190 # Job template for daily builders
192 # The purpose of this job template is to setup a daily/nightly
193 # builder and pushes to Sonar analysis.
195 # Required Variables:
196 # stream: branch with - in place of / (eg. stable-helium)
197 # branch: branch (eg. stable/helium)
204 daysToKeep: '{build-days-to-keep}'
205 numToKeep: '{build-num-to-keep}'
206 artifactDaysToKeep: '{build-artifact-days-to-keep}'
207 artifactNumToKeep: '{build-artifact-num-to-keep}'
215 credentials-id: '{ssh-credentials}'
221 - ssh-agent-credentials:
223 - '{ssh-credentials}'
229 - wipe-org-opendaylight-repo
232 maven-name: '{mvn33}'
234 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
235 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
236 settings: '{vtn-settings}'
237 global-settings: '{odl-global-settings}'
240 - jacoco-nojava-workaround
246 - email-notification:
247 email-prefix: '[vtn]'
251 name: 'vtn-distribution-{stream}'
258 daysToKeep: '{build-days-to-keep}'
259 numToKeep: '{build-num-to-keep}'
260 artifactDaysToKeep: '{build-artifact-days-to-keep}'
261 artifactNumToKeep: '{build-artifact-num-to-keep}'
265 project: 'integration'
269 credentials-id: '{ssh-credentials}'
275 - ssh-agent-credentials:
277 - '{ssh-credentials}'
281 jobs: '{project}-merge-{stream}'
285 - wipe-org-opendaylight-repo
288 maven-name: '{mvn33}'
290 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
291 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
292 settings: '{integration-settings}'
293 global-settings: '{odl-global-settings}'
296 - email-notification:
297 email-prefix: '[{project}]'
301 deploy-unstable: false
304 name: 'vtn-integration-{stream}'
307 # Job template for ODL integration verify jobs
309 # This is similar to a normal verify job, but it runs
310 # when a project that's a dependency of your project
311 # is successfully built.
313 # Required Variables:
314 # stream: branch with - in place of / (eg. stable-helium)
315 # branch: branch (eg. stable/helium)
322 daysToKeep: '{build-days-to-keep}'
323 numToKeep: '{build-num-to-keep}'
324 artifactDaysToKeep: '{build-artifact-days-to-keep}'
325 artifactNumToKeep: '{build-artifact-num-to-keep}'
333 credentials-id: '{ssh-credentials}'
339 - ssh-agent-credentials:
341 - '{ssh-credentials}'
345 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},neutron-merge-{stream}'
349 - wipe-org-opendaylight-repo
352 maven-name: '{mvn33}'
354 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
355 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
356 settings: '{vtn-settings}'
357 global-settings: '{odl-global-settings}'
360 - jacoco-nojava-workaround
366 - email-notification:
367 email-prefix: '[vtn] [odlparent] [controller] [yangtools] [openflowplugin] [ovsdb] [neutron]'
380 artifactDaysToKeep: '1'
381 artifactNumToKeep: '1'
389 credentials-id: '{ssh-credentials}'
395 - ssh-agent-credentials:
397 - '{ssh-credentials}'
403 maven-name: '{mvn33}'
405 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
406 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
407 settings: '{vtn-settings}'
408 global-settings: '{odl-global-settings}'
411 - jacoco-nojava-workaround
419 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
420 - email-notification:
421 email-prefix: '[vtn]'
425 name: 'vtn-clm-{stream}'
432 daysToKeep: '{build-days-to-keep}'
433 numToKeep: '{build-num-to-keep}'
434 artifactDaysToKeep: '{build-artifact-days-to-keep}'
435 artifactNumToKeep: '{build-artifact-num-to-keep}'
443 credentials-id: '{ssh-credentials}'
449 - ssh-agent-credentials:
451 - '{ssh-credentials}'
457 - wipe-org-opendaylight-repo
460 maven-name: '{mvn33}'
462 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
463 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
464 settings: '{vtn-settings}'
465 global-settings: '{odl-global-settings}'
469 application-name: vtn
472 - email-notification:
473 email-prefix: '[vtn]'