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 - 'ovsdb-verify-{stream}'
10 - 'ovsdb-merge-{stream}'
11 - 'ovsdb-periodic-{stream}'
12 - 'ovsdb-distribution-{stream}'
13 - 'ovsdb-integration-{stream}'
14 - 'ovsdb-clm-{stream}'
15 - 'ovsdb-validate-autorelease-{stream}'
18 # stream: release stream (eg. stable-lithium or beryllium)
19 # branch: git branch (eg. stable/lithium or master)
26 disable_autorelease: False
27 disable_distribution_check: False
29 branch: 'stable/beryllium'
34 disable_autorelease: False
35 disable_distribution_check: False
37 branch: 'stable/lithium'
41 disable_autorelease: True
42 disable_distribution_check: True
44 branch: 'stable/helium'
48 disable_autorelease: True
49 disable_distribution_check: True
53 # For the Job templates below replace instances of:
54 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
55 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
56 # MAVEN_GOALS with your maven goals to build
57 # MAVEN_OPTS with your maven options to build
60 name: 'ovsdb-verify-{stream}'
62 # Job template for ODL verify jobs
64 # The purpose of this job template is to setup a ODL verify job
67 # stream: release stream (eg. stable-lithium or beryllium)
68 # branch: git branch (eg. stable/lithium or master)
85 daysToKeep: '{build-days-to-keep}'
86 numToKeep: '{build-num-to-keep}'
87 artifactDaysToKeep: '{build-artifact-days-to-keep}'
88 artifactNumToKeep: '{build-artifact-num-to-keep}'
95 - gerrit-refspec-parameter:
96 refspec: 'refs/heads/{branch}'
100 credentials-id: '{ssh-credentials}'
101 refspec: '$GERRIT_REFSPEC'
102 choosing-strategy: 'gerrit'
106 - ssh-agent-credentials:
108 - '{ssh-credentials}'
111 - gerrit-trigger-patch-submitted:
116 - wipe-org-opendaylight-repo
117 - jacoco-nojava-workaround
118 - provide-maven-settings:
119 global-settings-file: '{odl-global-settings}'
120 settings-file: '{ovsdb-settings}'
122 maven-version: '{mvn33}'
124 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dstream={stream}'
126 - '-Xmx1024m -XX:MaxPermSize=256m'
127 settings: '{ovsdb-settings}'
128 global-settings: '{odl-global-settings}'
132 artifacts: '**/target/surefire-reports/*-output.txt, '
134 - email-notification:
135 email-prefix: '[ovsdb]'
139 name: 'ovsdb-merge-{stream}'
141 # Job template for ODL merge jobs
143 # The purpose of this job template is to setup a ODL merge job
144 # and deploy artifacts to Nexus.
146 # Required Variables:
147 # stream: release stream (eg. stable-lithium or beryllium)
148 # branch: git branch (eg. stable/lithium or master)
157 artifactDaysToKeep: '{build-artifact-days-to-keep}'
158 artifactNumToKeep: '{build-artifact-num-to-keep}'
165 - gerrit-refspec-parameter:
166 refspec: 'refs/heads/{branch}'
169 - gerrit-trigger-scm:
170 credentials-id: '{ssh-credentials}'
172 choosing-strategy: 'default'
176 - ssh-agent-credentials:
178 - '{ssh-credentials}'
182 - gerrit-trigger-patch-merged:
187 - wipe-org-opendaylight-repo
188 - jacoco-nojava-workaround
189 - provide-maven-settings:
190 global-settings-file: '{odl-global-settings}'
191 settings-file: '{ovsdb-settings}'
194 maven-name: '{mvn33}'
196 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dmerge -Dstream={stream}'
197 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
198 settings: '{ovsdb-settings}'
199 global-settings: '{odl-global-settings}'
200 post-step-run-condition: UNSTABLE
204 condition-kind: file-exists
205 condition-filename: deploy-site.xml
206 condition-basedir: workspace
208 # The strategy here is intentional to run Maven site:deploy twice
209 # once using regular pom.xml to produce a staged-site which is
210 # then used by deploy-site.xml to push to Nexus. This is a
211 # workaround to Maven Site's default linking code which creates
212 # incorrect URLs for sites due to auto-detection assuming your
213 # project is configured in a certain way which ODL is not.
216 maven-version: '{mvn33}'
218 goals: 'site:deploy -Dstream={stream}'
221 settings: '{ovsdb-settings}'
222 global-settings: '{odl-global-settings}'
224 maven-version: '{mvn33}'
226 goals: 'site:deploy -Dstream={stream}'
229 settings: '{ovsdb-settings}'
230 global-settings: '{odl-global-settings}'
237 artifacts: '**/target/surefire-reports/*-output.txt, '
238 - email-notification:
239 email-prefix: '[ovsdb]'
243 deploy-unstable: false
247 name: 'ovsdb-periodic-{stream}'
250 # Job template for periodic builders
252 # The purpose of this job template is to setup a periodic
255 # Required Variables:
256 # stream: release stream (eg. stable-lithium or beryllium)
257 # branch: git branch (eg. stable/lithium or master)
266 artifactDaysToKeep: '{build-artifact-days-to-keep}'
267 artifactNumToKeep: '{build-artifact-num-to-keep}'
275 credentials-id: '{ssh-credentials}'
281 - ssh-agent-credentials:
283 - '{ssh-credentials}'
289 - wipe-org-opendaylight-repo
290 - jacoco-nojava-workaround
291 - provide-maven-settings:
292 global-settings-file: '{odl-global-settings}'
293 settings-file: '{ovsdb-settings}'
296 maven-name: '{mvn33}'
298 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins'
299 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
300 settings: '{ovsdb-settings}'
301 global-settings: '{odl-global-settings}'
307 - email-notification:
308 email-prefix: '[ovsdb]'
312 name: 'ovsdb-distribution-{stream}'
314 # Required variables:
315 # stream: release stream (eg. stable-lithium or beryllium)
316 # branch: git branch (eg. stable/lithium or master)
323 daysToKeep: '{build-days-to-keep}'
324 numToKeep: '{build-num-to-keep}'
325 artifactDaysToKeep: '{build-artifact-days-to-keep}'
326 artifactNumToKeep: '{build-artifact-num-to-keep}'
330 project: 'integration/distribution'
334 credentials-id: '{ssh-credentials}'
340 - ssh-agent-credentials:
342 - '{ssh-credentials}'
346 jobs: '{project}-merge-{stream}'
350 - wipe-org-opendaylight-repo
351 - provide-maven-settings:
352 global-settings-file: '{odl-global-settings}'
353 settings-file: '{ovsdb-settings}'
356 maven-name: '{mvn33}'
358 goals: 'clean install -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
359 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
360 settings: '{integration-settings}'
361 global-settings: '{odl-global-settings}'
364 - email-notification:
365 email-prefix: '[{project}]'
369 deploy-unstable: false
372 name: 'ovsdb-integration-{stream}'
375 # Job template for ODL integration verify jobs
377 # This is similar to a normal verify job, but it runs
378 # when a project that's a dependency of your project
379 # is successfully built.
381 # Required Variables:
382 # stream: release stream (eg. stable-lithium or beryllium)
383 # branch: git branch (eg. stable/lithium or master)
390 daysToKeep: '{build-days-to-keep}'
391 numToKeep: '{build-num-to-keep}'
392 artifactDaysToKeep: '{build-artifact-days-to-keep}'
393 artifactNumToKeep: '{build-artifact-num-to-keep}'
401 credentials-id: '{ssh-credentials}'
407 - ssh-agent-credentials:
409 - '{ssh-credentials}'
413 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}'
417 - wipe-org-opendaylight-repo
418 - jacoco-nojava-workaround
419 - provide-maven-settings:
420 global-settings-file: '{odl-global-settings}'
421 settings-file: '{ovsdb-settings}'
424 maven-name: '{mvn33}'
426 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins'
427 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
428 settings: '{ovsdb-settings}'
429 global-settings: '{odl-global-settings}'
435 - email-notification:
436 email-prefix: '[ovsdb] [odlparent] [controller] [yangtools] [openflowplugin] [neutron]'
440 name: 'ovsdb-clm-{stream}'
448 daysToKeep: '{build-days-to-keep}'
449 numToKeep: '{build-num-to-keep}'
450 artifactDaysToKeep: '{build-artifact-days-to-keep}'
451 artifactNumToKeep: '{build-artifact-num-to-keep}'
459 credentials-id: '{ssh-credentials}'
465 - ssh-agent-credentials:
467 - '{ssh-credentials}'
473 - wipe-org-opendaylight-repo
474 - provide-maven-settings:
475 global-settings-file: '{odl-global-settings}'
476 settings-file: '{ovsdb-settings}'
479 maven-name: '{mvn33}'
481 goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
482 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
483 settings: '{ovsdb-settings}'
484 global-settings: '{odl-global-settings}'
487 - shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
489 application-name: ovsdb
492 - email-notification:
493 email-prefix: '[ovsdb]'
496 name: 'ovsdb-validate-autorelease-{stream}'
497 disabled: '{obj:disable_autorelease}'
505 daysToKeep: '{build-days-to-keep}'
506 numToKeep: '{build-num-to-keep}'
507 artifactDaysToKeep: '{build-artifact-days-to-keep}'
508 artifactNumToKeep: '{build-artifact-num-to-keep}'
515 - autorelease-release-tag:
516 release-tag: 'validate'
517 - autorelease-release-branch:
518 release-branch: '{branch}'
519 - autorelease-release-datestamp:
524 url: 'https://git.opendaylight.org/gerrit/releng/autorelease'
533 - autorelease-build-timeout
534 - ssh-agent-credentials:
536 - '{ssh-credentials}'
540 server-name: 'OpenDaylight'
542 - patchset-created-event:
543 exclude-drafts: 'false'
544 exclude-trivial-rebase: 'false'
545 exclude-no-code-change: 'false'
546 - draft-published-event
547 - comment-added-contains-event:
548 comment-contains-value: 'recheck'
549 - comment-added-contains-event:
550 comment-contains-value: 'reverify'
551 - comment-added-contains-event:
552 comment-contains-value: 'revalidate'
554 - project-compare-type: 'ANT'
555 project-pattern: 'ovsdb'
557 - branch-compare-type: 'ANT'
558 branch-pattern: '**/{branch}'
564 - wipe-org-opendaylight-repo
565 - jacoco-nojava-workaround
566 - autorelease-checkout-gerrit-patch
567 - autorelease-generate-taglist
568 - autorelease-generate-release-patches
570 maven-version: '{mvn33}'
571 pom: validate-pom.xml
572 goals: 'clean install -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
575 settings: '{autorelease-settings}'
576 global-settings: '{odl-global-settings}'
579 maven-name: '{mvn33}'
581 goals: 'clean validate -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
582 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
583 settings: '{autorelease-settings}'
584 global-settings: '{odl-global-settings}'
585 automatic-archiving: false
586 post-step-run-condition: UNSTABLE
589 - shell: "./scripts/list-project-dependencies.sh"
590 - autorelease-sys-stats
595 - email-notification:
596 email-prefix: '[autorelease] [ovsdb]'