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: '{vtn-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 -Dstream={stream}'
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: '{vtn-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 -Dstream={stream}'
174 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
175 settings: '{vtn-settings}'
176 global-settings: '{odl-global-settings}'
177 post-step-run-condition: UNSTABLE
181 condition-kind: file-exists
182 condition-filename: deploy-site.xml
183 condition-basedir: workspace
185 # The strategy here is intentional to run Maven site:deploy twice
186 # once using regular pom.xml to produce a staged-site which is
187 # then used by deploy-site.xml to push to Nexus. This is a
188 # workaround to Maven Site's default linking code which creates
189 # incorrect URLs for sites due to auto-detection assuming your
190 # project is configured in a certain way which ODL is not.
193 maven-version: '{mvn33}'
195 goals: 'site:deploy -Dstream={stream}'
198 settings: '{vtn-settings}'
199 global-settings: '{odl-global-settings}'
201 maven-version: '{mvn33}'
203 goals: 'site:deploy -Dstream={stream}'
206 settings: '{vtn-settings}'
207 global-settings: '{odl-global-settings}'
214 artifacts: 'manager/dist/*/target/*.zip, coordinator/dist/target/*.bz2, manager/northbound/target/site/wsdocs/**, manager/api/target/*-javadoc.jar, manager/api/target/apidocs/**'
215 - email-notification:
216 email-prefix: '[vtn]'
220 deploy-unstable: false
224 name: 'vtn-daily-{stream}'
226 # Job template for daily builders
228 # The purpose of this job template is to setup a daily/nightly
229 # builder and pushes to Sonar analysis.
231 # Required Variables:
232 # stream: release stream (eg. stable-lithium or beryllium)
233 # branch: git branch (eg. stable/lithium or master)
240 daysToKeep: '{build-days-to-keep}'
241 numToKeep: '{build-num-to-keep}'
242 artifactDaysToKeep: '{build-artifact-days-to-keep}'
243 artifactNumToKeep: '{build-artifact-num-to-keep}'
251 credentials-id: '{ssh-credentials}'
257 - ssh-agent-credentials:
259 - '{ssh-credentials}'
265 - wipe-org-opendaylight-repo
266 - jacoco-nojava-workaround
267 - provide-maven-settings:
268 global-settings-file: '{odl-global-settings}'
269 settings-file: '{vtn-settings}'
272 maven-name: '{mvn33}'
274 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
275 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
276 settings: '{vtn-settings}'
277 global-settings: '{odl-global-settings}'
283 - email-notification:
284 email-prefix: '[vtn]'
288 name: 'vtn-distribution-{stream}'
290 # Required variables:
291 # stream: release stream (eg. stable-lithium or beryllium)
292 # branch: git branch (eg. stable/lithium or master)
299 daysToKeep: '{build-days-to-keep}'
300 numToKeep: '{build-num-to-keep}'
301 artifactDaysToKeep: '{build-artifact-days-to-keep}'
302 artifactNumToKeep: '{build-artifact-num-to-keep}'
306 project: 'integration'
310 credentials-id: '{ssh-credentials}'
316 - ssh-agent-credentials:
318 - '{ssh-credentials}'
322 jobs: '{project}-merge-{stream}'
326 - wipe-org-opendaylight-repo
327 - provide-maven-settings:
328 global-settings-file: '{odl-global-settings}'
329 settings-file: '{vtn-settings}'
332 maven-name: '{mvn33}'
334 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
335 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
336 settings: '{integration-settings}'
337 global-settings: '{odl-global-settings}'
340 - email-notification:
341 email-prefix: '[{project}]'
345 deploy-unstable: false
348 name: 'vtn-integration-{stream}'
351 # Job template for ODL integration verify jobs
353 # This is similar to a normal verify job, but it runs
354 # when a project that's a dependency of your project
355 # is successfully built.
357 # Required Variables:
358 # stream: release stream (eg. stable-lithium or beryllium)
359 # branch: git branch (eg. stable/lithium or master)
366 daysToKeep: '{build-days-to-keep}'
367 numToKeep: '{build-num-to-keep}'
368 artifactDaysToKeep: '{build-artifact-days-to-keep}'
369 artifactNumToKeep: '{build-artifact-num-to-keep}'
377 credentials-id: '{ssh-credentials}'
383 - ssh-agent-credentials:
385 - '{ssh-credentials}'
389 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},neutron-merge-{stream}'
393 - wipe-org-opendaylight-repo
394 - jacoco-nojava-workaround
395 - provide-maven-settings:
396 global-settings-file: '{odl-global-settings}'
397 settings-file: '{vtn-settings}'
400 maven-name: '{mvn33}'
402 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
403 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
404 settings: '{vtn-settings}'
405 global-settings: '{odl-global-settings}'
411 - email-notification:
412 email-prefix: '[vtn] [odlparent] [controller] [yangtools] [openflowplugin] [ovsdb] [neutron]'
425 artifactDaysToKeep: '1'
426 artifactNumToKeep: '1'
434 credentials-id: '{ssh-credentials}'
440 - ssh-agent-credentials:
442 - '{ssh-credentials}'
446 - gerrit-trigger-patch-sonar:
450 - wipe-org-opendaylight-repo
451 - jacoco-nojava-workaround
452 - provide-maven-settings:
453 global-settings-file: '{odl-global-settings}'
454 settings-file: '{vtn-settings}'
457 maven-name: '{mvn33}'
459 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'
460 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
461 settings: '{vtn-settings}'
462 global-settings: '{odl-global-settings}'
470 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
471 - email-notification:
472 email-prefix: '[vtn]'
476 name: 'vtn-clm-{stream}'
483 daysToKeep: '{build-days-to-keep}'
484 numToKeep: '{build-num-to-keep}'
485 artifactDaysToKeep: '{build-artifact-days-to-keep}'
486 artifactNumToKeep: '{build-artifact-num-to-keep}'
494 credentials-id: '{ssh-credentials}'
500 - ssh-agent-credentials:
502 - '{ssh-credentials}'
508 - wipe-org-opendaylight-repo
509 - provide-maven-settings:
510 global-settings-file: '{odl-global-settings}'
511 settings-file: '{vtn-settings}'
514 maven-name: '{mvn33}'
516 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
517 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
518 settings: '{vtn-settings}'
519 global-settings: '{odl-global-settings}'
523 application-name: vtn
526 - email-notification:
527 email-prefix: '[vtn]'