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
100 - jacoco-nojava-workaround
102 maven-version: '{mvn33}'
104 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
106 - '-Xmx1024m -XX:MaxPermSize=256m'
107 settings: '{vtn-settings}'
108 global-settings: '{odl-global-settings}'
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
161 - jacoco-nojava-workaround
164 maven-name: '{mvn33}'
166 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'
167 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
168 settings: '{vtn-settings}'
169 global-settings: '{odl-global-settings}'
176 artifacts: 'manager/dist/*/target/*.zip, coordinator/dist/target/*.bz2, manager/northbound/target/site/wsdocs/**, manager/api/target/*-javadoc.jar, manager/api/target/apidocs/**'
177 - email-notification:
178 email-prefix: '[vtn]'
182 deploy-unstable: false
186 name: 'vtn-daily-{stream}'
188 # Job template for daily builders
190 # The purpose of this job template is to setup a daily/nightly
191 # builder and pushes to Sonar analysis.
193 # Required Variables:
194 # stream: branch with - in place of / (eg. stable-helium)
195 # branch: branch (eg. stable/helium)
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}'
213 credentials-id: '{ssh-credentials}'
219 - ssh-agent-credentials:
221 - '{ssh-credentials}'
227 - wipe-org-opendaylight-repo
228 - jacoco-nojava-workaround
231 maven-name: '{mvn33}'
233 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
234 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
235 settings: '{vtn-settings}'
236 global-settings: '{odl-global-settings}'
242 - email-notification:
243 email-prefix: '[vtn]'
247 name: 'vtn-distribution-{stream}'
254 daysToKeep: '{build-days-to-keep}'
255 numToKeep: '{build-num-to-keep}'
256 artifactDaysToKeep: '{build-artifact-days-to-keep}'
257 artifactNumToKeep: '{build-artifact-num-to-keep}'
261 project: 'integration'
265 credentials-id: '{ssh-credentials}'
271 - ssh-agent-credentials:
273 - '{ssh-credentials}'
277 jobs: '{project}-merge-{stream}'
281 - wipe-org-opendaylight-repo
284 maven-name: '{mvn33}'
286 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
287 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
288 settings: '{integration-settings}'
289 global-settings: '{odl-global-settings}'
292 - email-notification:
293 email-prefix: '[{project}]'
297 deploy-unstable: false
300 name: 'vtn-integration-{stream}'
303 # Job template for ODL integration verify jobs
305 # This is similar to a normal verify job, but it runs
306 # when a project that's a dependency of your project
307 # is successfully built.
309 # Required Variables:
310 # stream: branch with - in place of / (eg. stable-helium)
311 # branch: branch (eg. stable/helium)
318 daysToKeep: '{build-days-to-keep}'
319 numToKeep: '{build-num-to-keep}'
320 artifactDaysToKeep: '{build-artifact-days-to-keep}'
321 artifactNumToKeep: '{build-artifact-num-to-keep}'
329 credentials-id: '{ssh-credentials}'
335 - ssh-agent-credentials:
337 - '{ssh-credentials}'
341 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},neutron-merge-{stream}'
345 - wipe-org-opendaylight-repo
346 - jacoco-nojava-workaround
349 maven-name: '{mvn33}'
351 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
352 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
353 settings: '{vtn-settings}'
354 global-settings: '{odl-global-settings}'
360 - email-notification:
361 email-prefix: '[vtn] [odlparent] [controller] [yangtools] [openflowplugin] [ovsdb] [neutron]'
374 artifactDaysToKeep: '1'
375 artifactNumToKeep: '1'
383 credentials-id: '{ssh-credentials}'
389 - ssh-agent-credentials:
391 - '{ssh-credentials}'
397 - wipe-org-opendaylight-repo
398 - jacoco-nojava-workaround
401 maven-name: '{mvn33}'
403 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'
404 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
405 settings: '{vtn-settings}'
406 global-settings: '{odl-global-settings}'
414 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
415 - email-notification:
416 email-prefix: '[vtn]'
420 name: 'vtn-clm-{stream}'
427 daysToKeep: '{build-days-to-keep}'
428 numToKeep: '{build-num-to-keep}'
429 artifactDaysToKeep: '{build-artifact-days-to-keep}'
430 artifactNumToKeep: '{build-artifact-num-to-keep}'
438 credentials-id: '{ssh-credentials}'
444 - ssh-agent-credentials:
446 - '{ssh-credentials}'
452 - wipe-org-opendaylight-repo
455 maven-name: '{mvn33}'
457 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
458 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
459 settings: '{vtn-settings}'
460 global-settings: '{odl-global-settings}'
464 application-name: vtn
467 - email-notification:
468 email-prefix: '[vtn]'