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 - email-notification:
133 email-prefix: '[ovsdb]'
137 name: 'ovsdb-merge-{stream}'
139 # Job template for ODL merge jobs
141 # The purpose of this job template is to setup a ODL merge job
142 # and deploy artifacts to Nexus.
144 # Required Variables:
145 # stream: release stream (eg. stable-lithium or beryllium)
146 # branch: git branch (eg. stable/lithium or master)
155 artifactDaysToKeep: '{build-artifact-days-to-keep}'
156 artifactNumToKeep: '{build-artifact-num-to-keep}'
163 - gerrit-refspec-parameter:
164 refspec: 'refs/heads/{branch}'
167 - gerrit-trigger-scm:
168 credentials-id: '{ssh-credentials}'
170 choosing-strategy: 'default'
174 - ssh-agent-credentials:
176 - '{ssh-credentials}'
180 - gerrit-trigger-patch-merged:
185 - wipe-org-opendaylight-repo
186 - jacoco-nojava-workaround
187 - provide-maven-settings:
188 global-settings-file: '{odl-global-settings}'
189 settings-file: '{ovsdb-settings}'
192 maven-name: '{mvn33}'
194 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dmerge -Dstream={stream}'
195 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
196 settings: '{ovsdb-settings}'
197 global-settings: '{odl-global-settings}'
198 post-step-run-condition: UNSTABLE
202 condition-kind: file-exists
203 condition-filename: deploy-site.xml
204 condition-basedir: workspace
206 # The strategy here is intentional to run Maven site:deploy twice
207 # once using regular pom.xml to produce a staged-site which is
208 # then used by deploy-site.xml to push to Nexus. This is a
209 # workaround to Maven Site's default linking code which creates
210 # incorrect URLs for sites due to auto-detection assuming your
211 # project is configured in a certain way which ODL is not.
214 maven-version: '{mvn33}'
216 goals: 'site:deploy -Dstream={stream}'
219 settings: '{ovsdb-settings}'
220 global-settings: '{odl-global-settings}'
222 maven-version: '{mvn33}'
224 goals: 'site:deploy -Dstream={stream}'
227 settings: '{ovsdb-settings}'
228 global-settings: '{odl-global-settings}'
235 artifacts: '**/target/surefire-reports/*-output.txt, '
236 - email-notification:
237 email-prefix: '[ovsdb]'
241 deploy-unstable: false
245 name: 'ovsdb-periodic-{stream}'
248 # Job template for periodic builders
250 # The purpose of this job template is to setup a periodic
253 # Required Variables:
254 # stream: release stream (eg. stable-lithium or beryllium)
255 # branch: git branch (eg. stable/lithium or master)
264 artifactDaysToKeep: '{build-artifact-days-to-keep}'
265 artifactNumToKeep: '{build-artifact-num-to-keep}'
273 credentials-id: '{ssh-credentials}'
279 - ssh-agent-credentials:
281 - '{ssh-credentials}'
287 - wipe-org-opendaylight-repo
288 - jacoco-nojava-workaround
289 - provide-maven-settings:
290 global-settings-file: '{odl-global-settings}'
291 settings-file: '{ovsdb-settings}'
294 maven-name: '{mvn33}'
296 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins'
297 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
298 settings: '{ovsdb-settings}'
299 global-settings: '{odl-global-settings}'
305 - email-notification:
306 email-prefix: '[ovsdb]'
310 name: 'ovsdb-distribution-{stream}'
312 # Required variables:
313 # stream: release stream (eg. stable-lithium or beryllium)
314 # branch: git branch (eg. stable/lithium or master)
321 daysToKeep: '{build-days-to-keep}'
322 numToKeep: '{build-num-to-keep}'
323 artifactDaysToKeep: '{build-artifact-days-to-keep}'
324 artifactNumToKeep: '{build-artifact-num-to-keep}'
328 project: 'integration/distribution'
332 credentials-id: '{ssh-credentials}'
338 - ssh-agent-credentials:
340 - '{ssh-credentials}'
344 jobs: '{project}-merge-{stream}'
348 - wipe-org-opendaylight-repo
349 - provide-maven-settings:
350 global-settings-file: '{odl-global-settings}'
351 settings-file: '{ovsdb-settings}'
354 maven-name: '{mvn33}'
356 goals: 'clean install -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
357 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
358 settings: '{integration-settings}'
359 global-settings: '{odl-global-settings}'
362 - email-notification:
363 email-prefix: '[{project}]'
367 deploy-unstable: false
370 name: 'ovsdb-integration-{stream}'
373 # Job template for ODL integration verify jobs
375 # This is similar to a normal verify job, but it runs
376 # when a project that's a dependency of your project
377 # is successfully built.
379 # Required Variables:
380 # stream: release stream (eg. stable-lithium or beryllium)
381 # branch: git branch (eg. stable/lithium or master)
388 daysToKeep: '{build-days-to-keep}'
389 numToKeep: '{build-num-to-keep}'
390 artifactDaysToKeep: '{build-artifact-days-to-keep}'
391 artifactNumToKeep: '{build-artifact-num-to-keep}'
399 credentials-id: '{ssh-credentials}'
405 - ssh-agent-credentials:
407 - '{ssh-credentials}'
411 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}'
415 - wipe-org-opendaylight-repo
416 - jacoco-nojava-workaround
417 - provide-maven-settings:
418 global-settings-file: '{odl-global-settings}'
419 settings-file: '{ovsdb-settings}'
422 maven-name: '{mvn33}'
424 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins'
425 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
426 settings: '{ovsdb-settings}'
427 global-settings: '{odl-global-settings}'
433 - email-notification:
434 email-prefix: '[ovsdb] [odlparent] [controller] [yangtools] [openflowplugin] [neutron]'
438 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 com.sonatype.clm:clm-maven-plugin:index -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]'