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: release stream (eg. stable-lithium or beryllium)
19 # branch: git branch (eg. stable/lithium or master)
27 branch: 'stable/lithium'
32 branch: 'stable/helium'
39 # For the Job templates below replace instances of:
40 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
41 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
42 # MAVEN_GOALS with your maven goals to build
43 # MAVEN_OPTS with your maven options to build
46 name: 'vtn-verify-{stream}'
48 # Job template for ODL verify jobs
50 # The purpose of this job template is to setup a ODL verify job
53 # stream: release stream (eg. stable-lithium or beryllium)
54 # branch: git branch (eg. stable/lithium or master)
71 daysToKeep: '{build-days-to-keep}'
72 numToKeep: '{build-num-to-keep}'
73 artifactDaysToKeep: '{build-artifact-days-to-keep}'
74 artifactNumToKeep: '{build-artifact-num-to-keep}'
84 credentials-id: '{ssh-credentials}'
85 refspec: '$GERRIT_REFSPEC'
86 choosing-strategy: 'gerrit'
90 - ssh-agent-credentials:
95 - gerrit-trigger-patch-submitted:
100 - wipe-org-opendaylight-repo
101 - jacoco-nojava-workaround
102 - provide-maven-settings:
103 global-settings-file: '{odl-global-settings}'
104 settings-file: '{yangtools-settings}'
106 maven-version: '{mvn33}'
108 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
110 - '-Xmx1024m -XX:MaxPermSize=256m'
111 settings: '{vtn-settings}'
112 global-settings: '{odl-global-settings}'
116 - email-notification:
117 email-prefix: '[vtn]'
121 name: 'vtn-merge-{stream}'
123 # Job template for ODL merge jobs
125 # The purpose of this job template is to setup a ODL merge job
126 # and deploy artifacts to Nexus.
128 # Required Variables:
129 # stream: release stream (eg. stable-lithium or beryllium)
130 # branch: git branch (eg. stable/lithium or master)
137 daysToKeep: '{build-days-to-keep}'
138 numToKeep: '{build-num-to-keep}'
139 artifactDaysToKeep: '{build-artifact-days-to-keep}'
140 artifactNumToKeep: '{build-artifact-num-to-keep}'
147 - gerrit-trigger-scm:
148 credentials-id: '{ssh-credentials}'
150 choosing-strategy: 'default'
154 - ssh-agent-credentials:
156 - '{ssh-credentials}'
159 - gerrit-trigger-patch-merged:
164 - wipe-org-opendaylight-repo
165 - jacoco-nojava-workaround
166 - provide-maven-settings:
167 global-settings-file: '{odl-global-settings}'
168 settings-file: '{yangtools-settings}'
171 maven-name: '{mvn33}'
173 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'
174 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
175 settings: '{vtn-settings}'
176 global-settings: '{odl-global-settings}'
183 artifacts: 'manager/dist/*/target/*.zip, coordinator/dist/target/*.bz2, manager/northbound/target/site/wsdocs/**, manager/api/target/*-javadoc.jar, manager/api/target/apidocs/**'
184 - email-notification:
185 email-prefix: '[vtn]'
189 deploy-unstable: false
193 name: 'vtn-daily-{stream}'
195 # Job template for daily builders
197 # The purpose of this job template is to setup a daily/nightly
198 # builder and pushes to Sonar analysis.
200 # Required Variables:
201 # stream: release stream (eg. stable-lithium or beryllium)
202 # branch: git branch (eg. stable/lithium or master)
209 daysToKeep: '{build-days-to-keep}'
210 numToKeep: '{build-num-to-keep}'
211 artifactDaysToKeep: '{build-artifact-days-to-keep}'
212 artifactNumToKeep: '{build-artifact-num-to-keep}'
220 credentials-id: '{ssh-credentials}'
226 - ssh-agent-credentials:
228 - '{ssh-credentials}'
234 - wipe-org-opendaylight-repo
235 - jacoco-nojava-workaround
236 - provide-maven-settings:
237 global-settings-file: '{odl-global-settings}'
238 settings-file: '{yangtools-settings}'
241 maven-name: '{mvn33}'
243 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
244 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
245 settings: '{vtn-settings}'
246 global-settings: '{odl-global-settings}'
252 - email-notification:
253 email-prefix: '[vtn]'
257 name: 'vtn-distribution-{stream}'
259 # Required variables:
260 # stream: release stream (eg. stable-lithium or beryllium)
261 # branch: git branch (eg. stable/lithium or master)
268 daysToKeep: '{build-days-to-keep}'
269 numToKeep: '{build-num-to-keep}'
270 artifactDaysToKeep: '{build-artifact-days-to-keep}'
271 artifactNumToKeep: '{build-artifact-num-to-keep}'
275 project: 'integration'
279 credentials-id: '{ssh-credentials}'
285 - ssh-agent-credentials:
287 - '{ssh-credentials}'
291 jobs: '{project}-merge-{stream}'
295 - wipe-org-opendaylight-repo
296 - provide-maven-settings:
297 global-settings-file: '{odl-global-settings}'
298 settings-file: '{yangtools-settings}'
301 maven-name: '{mvn33}'
303 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
304 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
305 settings: '{integration-settings}'
306 global-settings: '{odl-global-settings}'
309 - email-notification:
310 email-prefix: '[{project}]'
314 deploy-unstable: false
317 name: 'vtn-integration-{stream}'
320 # Job template for ODL integration verify jobs
322 # This is similar to a normal verify job, but it runs
323 # when a project that's a dependency of your project
324 # is successfully built.
326 # Required Variables:
327 # stream: release stream (eg. stable-lithium or beryllium)
328 # branch: git branch (eg. stable/lithium or master)
335 daysToKeep: '{build-days-to-keep}'
336 numToKeep: '{build-num-to-keep}'
337 artifactDaysToKeep: '{build-artifact-days-to-keep}'
338 artifactNumToKeep: '{build-artifact-num-to-keep}'
346 credentials-id: '{ssh-credentials}'
352 - ssh-agent-credentials:
354 - '{ssh-credentials}'
358 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},neutron-merge-{stream}'
362 - wipe-org-opendaylight-repo
363 - jacoco-nojava-workaround
364 - provide-maven-settings:
365 global-settings-file: '{odl-global-settings}'
366 settings-file: '{yangtools-settings}'
369 maven-name: '{mvn33}'
371 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
372 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
373 settings: '{vtn-settings}'
374 global-settings: '{odl-global-settings}'
380 - email-notification:
381 email-prefix: '[vtn] [odlparent] [controller] [yangtools] [openflowplugin] [ovsdb] [neutron]'
394 artifactDaysToKeep: '1'
395 artifactNumToKeep: '1'
403 credentials-id: '{ssh-credentials}'
409 - ssh-agent-credentials:
411 - '{ssh-credentials}'
415 - gerrit-trigger-patch-sonar:
419 - wipe-org-opendaylight-repo
420 - jacoco-nojava-workaround
421 - provide-maven-settings:
422 global-settings-file: '{odl-global-settings}'
423 settings-file: '{yangtools-settings}'
426 maven-name: '{mvn33}'
428 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'
429 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
430 settings: '{vtn-settings}'
431 global-settings: '{odl-global-settings}'
439 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
440 - email-notification:
441 email-prefix: '[vtn]'
445 name: 'vtn-clm-{stream}'
452 daysToKeep: '{build-days-to-keep}'
453 numToKeep: '{build-num-to-keep}'
454 artifactDaysToKeep: '{build-artifact-days-to-keep}'
455 artifactNumToKeep: '{build-artifact-num-to-keep}'
463 credentials-id: '{ssh-credentials}'
469 - ssh-agent-credentials:
471 - '{ssh-credentials}'
477 - wipe-org-opendaylight-repo
478 - provide-maven-settings:
479 global-settings-file: '{odl-global-settings}'
480 settings-file: '{yangtools-settings}'
483 maven-name: '{mvn33}'
485 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
486 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
487 settings: '{vtn-settings}'
488 global-settings: '{odl-global-settings}'
492 application-name: vtn
495 - email-notification:
496 email-prefix: '[vtn]'