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}'
16 - 'vtn-validate-autorelease-{stream}'
19 # stream: release stream (eg. stable-lithium or beryllium)
20 # branch: git branch (eg. stable/lithium or master)
28 disable_autorelease: True
35 disable_autorelease: False
37 branch: 'stable/lithium'
41 disable_autorelease: True
43 branch: 'stable/helium'
47 disable_autorelease: True
51 # For the Job templates below replace instances of:
52 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
53 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
54 # MAVEN_GOALS with your maven goals to build
55 # MAVEN_OPTS with your maven options to build
58 name: 'vtn-verify-{stream}'
60 # Job template for ODL verify jobs
62 # The purpose of this job template is to setup a ODL verify job
65 # stream: release stream (eg. stable-lithium or beryllium)
66 # branch: git branch (eg. stable/lithium or master)
83 daysToKeep: '{build-days-to-keep}'
84 numToKeep: '{build-num-to-keep}'
85 artifactDaysToKeep: '{build-artifact-days-to-keep}'
86 artifactNumToKeep: '{build-artifact-num-to-keep}'
96 credentials-id: '{ssh-credentials}'
97 refspec: '$GERRIT_REFSPEC'
98 choosing-strategy: 'gerrit'
102 - ssh-agent-credentials:
104 - '{ssh-credentials}'
107 - gerrit-trigger-patch-submitted:
112 - wipe-org-opendaylight-repo
113 - jacoco-nojava-workaround
114 - provide-maven-settings:
115 global-settings-file: '{odl-global-settings}'
116 settings-file: '{vtn-settings}'
118 maven-version: '{mvn33}'
120 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}'
122 - '-Xmx1024m -XX:MaxPermSize=256m'
123 settings: '{vtn-settings}'
124 global-settings: '{odl-global-settings}'
128 - email-notification:
129 email-prefix: '[vtn]'
133 name: 'vtn-merge-{stream}'
135 # Job template for ODL merge jobs
137 # The purpose of this job template is to setup a ODL merge job
138 # and deploy artifacts to Nexus.
140 # Required Variables:
141 # stream: release stream (eg. stable-lithium or beryllium)
142 # branch: git branch (eg. stable/lithium or master)
149 daysToKeep: '{build-days-to-keep}'
150 numToKeep: '{build-num-to-keep}'
151 artifactDaysToKeep: '{build-artifact-days-to-keep}'
152 artifactNumToKeep: '{build-artifact-num-to-keep}'
159 - gerrit-trigger-scm:
160 credentials-id: '{ssh-credentials}'
162 choosing-strategy: 'default'
166 - ssh-agent-credentials:
168 - '{ssh-credentials}'
171 - gerrit-trigger-patch-merged:
176 - wipe-org-opendaylight-repo
177 - jacoco-nojava-workaround
178 - provide-maven-settings:
179 global-settings-file: '{odl-global-settings}'
180 settings-file: '{vtn-settings}'
183 maven-name: '{mvn33}'
185 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}'
186 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
187 settings: '{vtn-settings}'
188 global-settings: '{odl-global-settings}'
189 post-step-run-condition: UNSTABLE
193 condition-kind: file-exists
194 condition-filename: deploy-site.xml
195 condition-basedir: workspace
197 # The strategy here is intentional to run Maven site:deploy twice
198 # once using regular pom.xml to produce a staged-site which is
199 # then used by deploy-site.xml to push to Nexus. This is a
200 # workaround to Maven Site's default linking code which creates
201 # incorrect URLs for sites due to auto-detection assuming your
202 # project is configured in a certain way which ODL is not.
205 maven-version: '{mvn33}'
207 goals: 'site:deploy -Dstream={stream}'
210 settings: '{vtn-settings}'
211 global-settings: '{odl-global-settings}'
213 maven-version: '{mvn33}'
215 goals: 'site:deploy -Dstream={stream}'
218 settings: '{vtn-settings}'
219 global-settings: '{odl-global-settings}'
226 artifacts: 'manager/dist/*/target/*.zip, coordinator/dist/target/*.bz2, manager/northbound/target/site/wsdocs/**, manager/api/target/*-javadoc.jar, manager/api/target/apidocs/**'
227 - email-notification:
228 email-prefix: '[vtn]'
232 deploy-unstable: false
236 name: 'vtn-daily-{stream}'
238 # Job template for daily builders
240 # The purpose of this job template is to setup a daily/nightly
241 # builder and pushes to Sonar analysis.
243 # Required Variables:
244 # stream: release stream (eg. stable-lithium or beryllium)
245 # branch: git branch (eg. stable/lithium or master)
252 daysToKeep: '{build-days-to-keep}'
253 numToKeep: '{build-num-to-keep}'
254 artifactDaysToKeep: '{build-artifact-days-to-keep}'
255 artifactNumToKeep: '{build-artifact-num-to-keep}'
263 credentials-id: '{ssh-credentials}'
269 - ssh-agent-credentials:
271 - '{ssh-credentials}'
277 - wipe-org-opendaylight-repo
278 - jacoco-nojava-workaround
279 - provide-maven-settings:
280 global-settings-file: '{odl-global-settings}'
281 settings-file: '{vtn-settings}'
284 maven-name: '{mvn33}'
286 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
287 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
288 settings: '{vtn-settings}'
289 global-settings: '{odl-global-settings}'
295 - email-notification:
296 email-prefix: '[vtn]'
300 name: 'vtn-distribution-{stream}'
302 # Required variables:
303 # stream: release stream (eg. stable-lithium or beryllium)
304 # branch: git branch (eg. stable/lithium or master)
311 daysToKeep: '{build-days-to-keep}'
312 numToKeep: '{build-num-to-keep}'
313 artifactDaysToKeep: '{build-artifact-days-to-keep}'
314 artifactNumToKeep: '{build-artifact-num-to-keep}'
318 project: 'integration/distribution'
322 credentials-id: '{ssh-credentials}'
328 - ssh-agent-credentials:
330 - '{ssh-credentials}'
334 jobs: '{project}-merge-{stream}'
338 - wipe-org-opendaylight-repo
339 - provide-maven-settings:
340 global-settings-file: '{odl-global-settings}'
341 settings-file: '{vtn-settings}'
344 maven-name: '{mvn33}'
346 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
347 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
348 settings: '{integration-settings}'
349 global-settings: '{odl-global-settings}'
352 - email-notification:
353 email-prefix: '[{project}]'
357 deploy-unstable: false
360 name: 'vtn-integration-{stream}'
363 # Job template for ODL integration verify jobs
365 # This is similar to a normal verify job, but it runs
366 # when a project that's a dependency of your project
367 # is successfully built.
369 # Required Variables:
370 # stream: release stream (eg. stable-lithium or beryllium)
371 # branch: git branch (eg. stable/lithium or master)
378 daysToKeep: '{build-days-to-keep}'
379 numToKeep: '{build-num-to-keep}'
380 artifactDaysToKeep: '{build-artifact-days-to-keep}'
381 artifactNumToKeep: '{build-artifact-num-to-keep}'
389 credentials-id: '{ssh-credentials}'
395 - ssh-agent-credentials:
397 - '{ssh-credentials}'
401 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},neutron-merge-{stream}'
405 - wipe-org-opendaylight-repo
406 - jacoco-nojava-workaround
407 - provide-maven-settings:
408 global-settings-file: '{odl-global-settings}'
409 settings-file: '{vtn-settings}'
412 maven-name: '{mvn33}'
414 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
415 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
416 settings: '{vtn-settings}'
417 global-settings: '{odl-global-settings}'
423 - email-notification:
424 email-prefix: '[vtn] [odlparent] [controller] [yangtools] [openflowplugin] [ovsdb] [neutron]'
437 artifactDaysToKeep: '1'
438 artifactNumToKeep: '1'
446 credentials-id: '{ssh-credentials}'
452 - ssh-agent-credentials:
454 - '{ssh-credentials}'
458 - gerrit-trigger-patch-sonar:
462 - wipe-org-opendaylight-repo
463 - jacoco-nojava-workaround
464 - provide-maven-settings:
465 global-settings-file: '{odl-global-settings}'
466 settings-file: '{vtn-settings}'
469 maven-name: '{mvn33}'
471 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'
472 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
473 settings: '{vtn-settings}'
474 global-settings: '{odl-global-settings}'
482 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
483 - email-notification:
484 email-prefix: '[vtn]'
488 name: 'vtn-clm-{stream}'
495 daysToKeep: '{build-days-to-keep}'
496 numToKeep: '{build-num-to-keep}'
497 artifactDaysToKeep: '{build-artifact-days-to-keep}'
498 artifactNumToKeep: '{build-artifact-num-to-keep}'
506 credentials-id: '{ssh-credentials}'
512 - ssh-agent-credentials:
514 - '{ssh-credentials}'
520 - wipe-org-opendaylight-repo
521 - provide-maven-settings:
522 global-settings-file: '{odl-global-settings}'
523 settings-file: '{vtn-settings}'
526 maven-name: '{mvn33}'
528 goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
529 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
530 settings: '{vtn-settings}'
531 global-settings: '{odl-global-settings}'
535 application-name: vtn
538 - email-notification:
539 email-prefix: '[vtn]'
542 name: 'vtn-validate-autorelease-{stream}'
543 disabled: '{obj:disable_autorelease}'
551 daysToKeep: '{build-days-to-keep}'
552 numToKeep: '{build-num-to-keep}'
553 artifactDaysToKeep: '{build-artifact-days-to-keep}'
554 artifactNumToKeep: '{build-artifact-num-to-keep}'
561 - autorelease-release-tag:
562 release-tag: 'validate'
563 - autorelease-release-branch:
564 release-branch: '{branch}'
565 - autorelease-release-datestamp:
570 url: 'https://git.opendaylight.org/gerrit/releng/autorelease'
579 - autorelease-build-timeout
580 - ssh-agent-credentials:
582 - '{ssh-credentials}'
585 - gerrit-trigger-patch-submitted:
590 - wipe-org-opendaylight-repo
591 - jacoco-nojava-workaround
592 - autorelease-checkout-gerrit-patch
593 - autorelease-generate-taglist
594 - autorelease-generate-release-patches
596 maven-version: '{mvn33}'
597 pom: validate-pom.xml
598 goals: 'clean install -T1.5C -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
601 settings: '{autorelease-settings}'
602 global-settings: '{odl-global-settings}'
605 maven-name: '{mvn33}'
607 goals: 'clean validate -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
608 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
609 settings: '{autorelease-settings}'
610 global-settings: '{odl-global-settings}'
611 automatic-archiving: false
612 post-step-run-condition: UNSTABLE
615 - shell: "./scripts/list-project-dependencies.sh"
616 - autorelease-sys-stats
621 - email-notification:
622 email-prefix: '[autorelease] [vtn]'