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)
27 disable_autorelease: False
28 - clustering-netvirt-master:
29 branch: 'topic/master/net-virt-clustering'
33 disable_autorelease: True
40 disable_autorelease: True
42 branch: 'stable/lithium'
46 disable_autorelease: True
48 branch: 'stable/helium'
52 disable_autorelease: True
56 # For the Job templates below replace instances of:
57 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
58 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
59 # MAVEN_GOALS with your maven goals to build
60 # MAVEN_OPTS with your maven options to build
63 name: 'ovsdb-verify-{stream}'
65 # Job template for ODL verify jobs
67 # The purpose of this job template is to setup a ODL verify job
70 # stream: release stream (eg. stable-lithium or beryllium)
71 # branch: git branch (eg. stable/lithium or master)
88 daysToKeep: '{build-days-to-keep}'
89 numToKeep: '{build-num-to-keep}'
90 artifactDaysToKeep: '{build-artifact-days-to-keep}'
91 artifactNumToKeep: '{build-artifact-num-to-keep}'
98 - gerrit-refspec-parameter:
99 refspec: 'refs/heads/{branch}'
102 - gerrit-trigger-scm:
103 credentials-id: '{ssh-credentials}'
104 refspec: '$GERRIT_REFSPEC'
105 choosing-strategy: 'gerrit'
109 - ssh-agent-credentials:
111 - '{ssh-credentials}'
114 - gerrit-trigger-patch-submitted:
119 - wipe-org-opendaylight-repo
120 - jacoco-nojava-workaround
121 - provide-maven-settings:
122 global-settings-file: '{odl-global-settings}'
123 settings-file: '{ovsdb-settings}'
125 maven-version: '{mvn33}'
127 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dstream={stream}'
129 - '-Xmx1024m -XX:MaxPermSize=256m'
130 settings: '{ovsdb-settings}'
131 global-settings: '{odl-global-settings}'
135 - email-notification:
136 email-prefix: '[ovsdb]'
140 name: 'ovsdb-merge-{stream}'
142 # Job template for ODL merge jobs
144 # The purpose of this job template is to setup a ODL merge job
145 # and deploy artifacts to Nexus.
147 # Required Variables:
148 # stream: release stream (eg. stable-lithium or beryllium)
149 # branch: git branch (eg. stable/lithium or master)
156 daysToKeep: '{build-days-to-keep}'
157 numToKeep: '{build-num-to-keep}'
158 artifactDaysToKeep: '{build-artifact-days-to-keep}'
159 artifactNumToKeep: '{build-artifact-num-to-keep}'
166 - gerrit-refspec-parameter:
167 refspec: 'refs/heads/{branch}'
170 - gerrit-trigger-scm:
171 credentials-id: '{ssh-credentials}'
173 choosing-strategy: 'default'
177 - ssh-agent-credentials:
179 - '{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}'
249 # Job template for periodic builders
251 # The purpose of this job template is to setup a periodic
254 # Required Variables:
255 # stream: release stream (eg. stable-lithium or beryllium)
256 # branch: git branch (eg. stable/lithium or master)
263 daysToKeep: '{build-days-to-keep}'
264 numToKeep: '{build-num-to-keep}'
265 artifactDaysToKeep: '{build-artifact-days-to-keep}'
266 artifactNumToKeep: '{build-artifact-num-to-keep}'
274 credentials-id: '{ssh-credentials}'
280 - ssh-agent-credentials:
282 - '{ssh-credentials}'
288 - wipe-org-opendaylight-repo
289 - jacoco-nojava-workaround
290 - provide-maven-settings:
291 global-settings-file: '{odl-global-settings}'
292 settings-file: '{ovsdb-settings}'
295 maven-name: '{mvn33}'
297 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins'
298 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
299 settings: '{ovsdb-settings}'
300 global-settings: '{odl-global-settings}'
306 - email-notification:
307 email-prefix: '[ovsdb]'
311 name: 'ovsdb-distribution-{stream}'
313 # Required variables:
314 # stream: release stream (eg. stable-lithium or beryllium)
315 # branch: git branch (eg. stable/lithium or master)
322 daysToKeep: '{build-days-to-keep}'
323 numToKeep: '{build-num-to-keep}'
324 artifactDaysToKeep: '{build-artifact-days-to-keep}'
325 artifactNumToKeep: '{build-artifact-num-to-keep}'
329 project: 'integration/distribution'
333 credentials-id: '{ssh-credentials}'
339 - ssh-agent-credentials:
341 - '{ssh-credentials}'
345 jobs: '{project}-merge-{stream}'
349 - wipe-org-opendaylight-repo
350 - provide-maven-settings:
351 global-settings-file: '{odl-global-settings}'
352 settings-file: '{ovsdb-settings}'
355 maven-name: '{mvn33}'
357 goals: 'clean install -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
358 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
359 settings: '{integration-settings}'
360 global-settings: '{odl-global-settings}'
363 - email-notification:
364 email-prefix: '[{project}]'
368 deploy-unstable: false
371 name: 'ovsdb-integration-{stream}'
374 # Job template for ODL integration verify jobs
376 # This is similar to a normal verify job, but it runs
377 # when a project that's a dependency of your project
378 # is successfully built.
380 # Required Variables:
381 # stream: release stream (eg. stable-lithium or beryllium)
382 # branch: git branch (eg. stable/lithium or master)
389 daysToKeep: '{build-days-to-keep}'
390 numToKeep: '{build-num-to-keep}'
391 artifactDaysToKeep: '{build-artifact-days-to-keep}'
392 artifactNumToKeep: '{build-artifact-num-to-keep}'
400 credentials-id: '{ssh-credentials}'
406 - ssh-agent-credentials:
408 - '{ssh-credentials}'
412 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}'
416 - wipe-org-opendaylight-repo
417 - jacoco-nojava-workaround
418 - provide-maven-settings:
419 global-settings-file: '{odl-global-settings}'
420 settings-file: '{ovsdb-settings}'
423 maven-name: '{mvn33}'
425 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins'
426 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
427 settings: '{ovsdb-settings}'
428 global-settings: '{odl-global-settings}'
434 - email-notification:
435 email-prefix: '[ovsdb] [odlparent] [controller] [yangtools] [openflowplugin] [neutron]'
439 name: 'ovsdb-clm-{stream}'
446 daysToKeep: '{build-days-to-keep}'
447 numToKeep: '{build-num-to-keep}'
448 artifactDaysToKeep: '{build-artifact-days-to-keep}'
449 artifactNumToKeep: '{build-artifact-num-to-keep}'
457 credentials-id: '{ssh-credentials}'
463 - ssh-agent-credentials:
465 - '{ssh-credentials}'
471 - wipe-org-opendaylight-repo
472 - provide-maven-settings:
473 global-settings-file: '{odl-global-settings}'
474 settings-file: '{ovsdb-settings}'
477 maven-name: '{mvn33}'
479 goals: 'clean install -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
480 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
481 settings: '{ovsdb-settings}'
482 global-settings: '{odl-global-settings}'
485 - shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
487 application-name: ovsdb
490 - email-notification:
491 email-prefix: '[ovsdb]'
494 name: 'ovsdb-validate-autorelease-{stream}'
495 disabled: '{obj:disable_autorelease}'
503 daysToKeep: '{build-days-to-keep}'
504 numToKeep: '{build-num-to-keep}'
505 artifactDaysToKeep: '{build-artifact-days-to-keep}'
506 artifactNumToKeep: '{build-artifact-num-to-keep}'
513 - autorelease-release-tag:
514 release-tag: 'validate'
515 - autorelease-release-branch:
516 release-branch: '{branch}'
517 - autorelease-release-datestamp:
522 url: 'https://git.opendaylight.org/gerrit/releng/autorelease'
531 - autorelease-build-timeout
532 - ssh-agent-credentials:
534 - '{ssh-credentials}'
538 server-name: 'OpenDaylight'
540 - patchset-created-event:
541 exclude-drafts: 'false'
542 exclude-trivial-rebase: 'false'
543 exclude-no-code-change: 'false'
544 - draft-published-event
545 - comment-added-contains-event:
546 comment-contains-value: 'recheck'
547 - comment-added-contains-event:
548 comment-contains-value: 'reverify'
549 - comment-added-contains-event:
550 comment-contains-value: 'revalidate'
552 - project-compare-type: 'ANT'
553 project-pattern: 'ovsdb'
555 - branch-compare-type: 'ANT'
556 branch-pattern: '**/{branch}'
559 - wipe-org-opendaylight-repo
560 - jacoco-nojava-workaround
561 - autorelease-checkout-gerrit-patch
562 - autorelease-generate-taglist
563 - autorelease-generate-release-patches
565 maven-version: '{mvn33}'
566 pom: validate-pom.xml
567 goals: 'clean install -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
570 settings: '{autorelease-settings}'
571 global-settings: '{odl-global-settings}'
574 maven-name: '{mvn33}'
576 goals: 'clean validate -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
577 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
578 settings: '{autorelease-settings}'
579 global-settings: '{odl-global-settings}'
580 automatic-archiving: false
581 post-step-run-condition: UNSTABLE
584 - shell: "./scripts/list-project-dependencies.sh"
585 - autorelease-sys-stats
590 - email-notification:
591 email-prefix: '[autorelease] [ovsdb]'