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)
28 branch: 'stable/lithium'
33 branch: 'stable/helium'
40 # For the Job templates below replace instances of:
41 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
42 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
43 # MAVEN_GOALS with your maven goals to build
44 # MAVEN_OPTS with your maven options to build
47 name: 'vtn-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: release stream (eg. stable-lithium or beryllium)
55 # branch: git branch (eg. stable/lithium or master)
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:
101 - wipe-org-opendaylight-repo
102 - jacoco-nojava-workaround
103 - provide-maven-settings:
104 global-settings-file: '{odl-global-settings}'
105 settings-file: '{vtn-settings}'
107 maven-version: '{mvn33}'
109 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}'
111 - '-Xmx1024m -XX:MaxPermSize=256m'
112 settings: '{vtn-settings}'
113 global-settings: '{odl-global-settings}'
117 - email-notification:
118 email-prefix: '[vtn]'
122 name: 'vtn-merge-{stream}'
124 # Job template for ODL merge jobs
126 # The purpose of this job template is to setup a ODL merge job
127 # and deploy artifacts to Nexus.
129 # Required Variables:
130 # stream: release stream (eg. stable-lithium or beryllium)
131 # branch: git branch (eg. stable/lithium or master)
138 daysToKeep: '{build-days-to-keep}'
139 numToKeep: '{build-num-to-keep}'
140 artifactDaysToKeep: '{build-artifact-days-to-keep}'
141 artifactNumToKeep: '{build-artifact-num-to-keep}'
148 - gerrit-trigger-scm:
149 credentials-id: '{ssh-credentials}'
151 choosing-strategy: 'default'
155 - ssh-agent-credentials:
157 - '{ssh-credentials}'
160 - gerrit-trigger-patch-merged:
165 - wipe-org-opendaylight-repo
166 - jacoco-nojava-workaround
167 - provide-maven-settings:
168 global-settings-file: '{odl-global-settings}'
169 settings-file: '{vtn-settings}'
172 maven-name: '{mvn33}'
174 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}'
175 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
176 settings: '{vtn-settings}'
177 global-settings: '{odl-global-settings}'
178 post-step-run-condition: UNSTABLE
182 condition-kind: file-exists
183 condition-filename: deploy-site.xml
184 condition-basedir: workspace
186 # The strategy here is intentional to run Maven site:deploy twice
187 # once using regular pom.xml to produce a staged-site which is
188 # then used by deploy-site.xml to push to Nexus. This is a
189 # workaround to Maven Site's default linking code which creates
190 # incorrect URLs for sites due to auto-detection assuming your
191 # project is configured in a certain way which ODL is not.
194 maven-version: '{mvn33}'
196 goals: 'site:deploy -Dstream={stream}'
199 settings: '{vtn-settings}'
200 global-settings: '{odl-global-settings}'
202 maven-version: '{mvn33}'
204 goals: 'site:deploy -Dstream={stream}'
207 settings: '{vtn-settings}'
208 global-settings: '{odl-global-settings}'
215 artifacts: 'manager/dist/*/target/*.zip, coordinator/dist/target/*.bz2, manager/northbound/target/site/wsdocs/**, manager/api/target/*-javadoc.jar, manager/api/target/apidocs/**'
216 - email-notification:
217 email-prefix: '[vtn]'
221 deploy-unstable: false
225 name: 'vtn-daily-{stream}'
227 # Job template for daily builders
229 # The purpose of this job template is to setup a daily/nightly
230 # builder and pushes to Sonar analysis.
232 # Required Variables:
233 # stream: release stream (eg. stable-lithium or beryllium)
234 # branch: git branch (eg. stable/lithium or master)
241 daysToKeep: '{build-days-to-keep}'
242 numToKeep: '{build-num-to-keep}'
243 artifactDaysToKeep: '{build-artifact-days-to-keep}'
244 artifactNumToKeep: '{build-artifact-num-to-keep}'
252 credentials-id: '{ssh-credentials}'
258 - ssh-agent-credentials:
260 - '{ssh-credentials}'
266 - wipe-org-opendaylight-repo
267 - jacoco-nojava-workaround
268 - provide-maven-settings:
269 global-settings-file: '{odl-global-settings}'
270 settings-file: '{vtn-settings}'
273 maven-name: '{mvn33}'
275 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
276 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
277 settings: '{vtn-settings}'
278 global-settings: '{odl-global-settings}'
284 - email-notification:
285 email-prefix: '[vtn]'
289 name: 'vtn-distribution-{stream}'
291 # Required variables:
292 # stream: release stream (eg. stable-lithium or beryllium)
293 # branch: git branch (eg. stable/lithium or master)
300 daysToKeep: '{build-days-to-keep}'
301 numToKeep: '{build-num-to-keep}'
302 artifactDaysToKeep: '{build-artifact-days-to-keep}'
303 artifactNumToKeep: '{build-artifact-num-to-keep}'
307 project: 'integration/distribution'
311 credentials-id: '{ssh-credentials}'
317 - ssh-agent-credentials:
319 - '{ssh-credentials}'
323 jobs: '{project}-merge-{stream}'
327 - wipe-org-opendaylight-repo
328 - provide-maven-settings:
329 global-settings-file: '{odl-global-settings}'
330 settings-file: '{vtn-settings}'
333 maven-name: '{mvn33}'
335 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
336 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
337 settings: '{integration-settings}'
338 global-settings: '{odl-global-settings}'
341 - email-notification:
342 email-prefix: '[{project}]'
346 deploy-unstable: false
349 name: 'vtn-integration-{stream}'
352 # Job template for ODL integration verify jobs
354 # This is similar to a normal verify job, but it runs
355 # when a project that's a dependency of your project
356 # is successfully built.
358 # Required Variables:
359 # stream: release stream (eg. stable-lithium or beryllium)
360 # branch: git branch (eg. stable/lithium or master)
367 daysToKeep: '{build-days-to-keep}'
368 numToKeep: '{build-num-to-keep}'
369 artifactDaysToKeep: '{build-artifact-days-to-keep}'
370 artifactNumToKeep: '{build-artifact-num-to-keep}'
378 credentials-id: '{ssh-credentials}'
384 - ssh-agent-credentials:
386 - '{ssh-credentials}'
390 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},neutron-merge-{stream}'
394 - wipe-org-opendaylight-repo
395 - jacoco-nojava-workaround
396 - provide-maven-settings:
397 global-settings-file: '{odl-global-settings}'
398 settings-file: '{vtn-settings}'
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'
404 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
405 settings: '{vtn-settings}'
406 global-settings: '{odl-global-settings}'
412 - email-notification:
413 email-prefix: '[vtn] [odlparent] [controller] [yangtools] [openflowplugin] [ovsdb] [neutron]'
426 artifactDaysToKeep: '1'
427 artifactNumToKeep: '1'
435 credentials-id: '{ssh-credentials}'
441 - ssh-agent-credentials:
443 - '{ssh-credentials}'
447 - gerrit-trigger-patch-sonar:
451 - wipe-org-opendaylight-repo
452 - jacoco-nojava-workaround
453 - provide-maven-settings:
454 global-settings-file: '{odl-global-settings}'
455 settings-file: '{vtn-settings}'
458 maven-name: '{mvn33}'
460 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'
461 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
462 settings: '{vtn-settings}'
463 global-settings: '{odl-global-settings}'
471 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
472 - email-notification:
473 email-prefix: '[vtn]'
477 name: 'vtn-clm-{stream}'
484 daysToKeep: '{build-days-to-keep}'
485 numToKeep: '{build-num-to-keep}'
486 artifactDaysToKeep: '{build-artifact-days-to-keep}'
487 artifactNumToKeep: '{build-artifact-num-to-keep}'
495 credentials-id: '{ssh-credentials}'
501 - ssh-agent-credentials:
503 - '{ssh-credentials}'
509 - wipe-org-opendaylight-repo
510 - provide-maven-settings:
511 global-settings-file: '{odl-global-settings}'
512 settings-file: '{vtn-settings}'
515 maven-name: '{mvn33}'
517 goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
518 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
519 settings: '{vtn-settings}'
520 global-settings: '{odl-global-settings}'
524 application-name: vtn
527 - email-notification:
528 email-prefix: '[vtn]'