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
28 branch: 'stable/beryllium'
33 disable_autorelease: False
35 branch: 'stable/lithium'
39 disable_autorelease: True
41 branch: 'stable/helium'
45 disable_autorelease: True
49 # For the Job templates below replace instances of:
50 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
51 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
52 # MAVEN_GOALS with your maven goals to build
53 # MAVEN_OPTS with your maven options to build
56 name: 'ovsdb-verify-{stream}'
58 # Job template for ODL verify jobs
60 # The purpose of this job template is to setup a ODL verify job
63 # stream: release stream (eg. stable-lithium or beryllium)
64 # branch: git branch (eg. stable/lithium or master)
81 daysToKeep: '{build-days-to-keep}'
82 numToKeep: '{build-num-to-keep}'
83 artifactDaysToKeep: '{build-artifact-days-to-keep}'
84 artifactNumToKeep: '{build-artifact-num-to-keep}'
91 - gerrit-refspec-parameter:
92 refspec: 'refs/heads/{branch}'
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: '{ovsdb-settings}'
118 maven-version: '{mvn33}'
120 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dstream={stream}'
122 - '-Xmx1024m -XX:MaxPermSize=256m'
123 settings: '{ovsdb-settings}'
124 global-settings: '{odl-global-settings}'
128 - email-notification:
129 email-prefix: '[ovsdb]'
133 name: 'ovsdb-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-refspec-parameter:
160 refspec: 'refs/heads/{branch}'
163 - gerrit-trigger-scm:
164 credentials-id: '{ssh-credentials}'
166 choosing-strategy: 'default'
170 - ssh-agent-credentials:
172 - '{ssh-credentials}'
176 - gerrit-trigger-patch-merged:
181 - wipe-org-opendaylight-repo
182 - jacoco-nojava-workaround
183 - provide-maven-settings:
184 global-settings-file: '{odl-global-settings}'
185 settings-file: '{ovsdb-settings}'
188 maven-name: '{mvn33}'
190 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dmerge -Dstream={stream}'
191 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
192 settings: '{ovsdb-settings}'
193 global-settings: '{odl-global-settings}'
194 post-step-run-condition: UNSTABLE
198 condition-kind: file-exists
199 condition-filename: deploy-site.xml
200 condition-basedir: workspace
202 # The strategy here is intentional to run Maven site:deploy twice
203 # once using regular pom.xml to produce a staged-site which is
204 # then used by deploy-site.xml to push to Nexus. This is a
205 # workaround to Maven Site's default linking code which creates
206 # incorrect URLs for sites due to auto-detection assuming your
207 # project is configured in a certain way which ODL is not.
210 maven-version: '{mvn33}'
212 goals: 'site:deploy -Dstream={stream}'
215 settings: '{ovsdb-settings}'
216 global-settings: '{odl-global-settings}'
218 maven-version: '{mvn33}'
220 goals: 'site:deploy -Dstream={stream}'
223 settings: '{ovsdb-settings}'
224 global-settings: '{odl-global-settings}'
231 artifacts: '**/target/surefire-reports/*-output.txt, '
232 - email-notification:
233 email-prefix: '[ovsdb]'
237 deploy-unstable: false
241 name: 'ovsdb-periodic-{stream}'
243 # Job template for periodic builders
245 # The purpose of this job template is to setup a periodic
248 # Required Variables:
249 # stream: release stream (eg. stable-lithium or beryllium)
250 # branch: git branch (eg. stable/lithium or master)
257 daysToKeep: '{build-days-to-keep}'
258 numToKeep: '{build-num-to-keep}'
259 artifactDaysToKeep: '{build-artifact-days-to-keep}'
260 artifactNumToKeep: '{build-artifact-num-to-keep}'
268 credentials-id: '{ssh-credentials}'
274 - ssh-agent-credentials:
276 - '{ssh-credentials}'
282 - wipe-org-opendaylight-repo
283 - jacoco-nojava-workaround
284 - provide-maven-settings:
285 global-settings-file: '{odl-global-settings}'
286 settings-file: '{ovsdb-settings}'
289 maven-name: '{mvn33}'
291 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins'
292 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
293 settings: '{ovsdb-settings}'
294 global-settings: '{odl-global-settings}'
300 - email-notification:
301 email-prefix: '[ovsdb]'
305 name: 'ovsdb-distribution-{stream}'
307 # Required variables:
308 # stream: release stream (eg. stable-lithium or beryllium)
309 # branch: git branch (eg. stable/lithium or master)
316 daysToKeep: '{build-days-to-keep}'
317 numToKeep: '{build-num-to-keep}'
318 artifactDaysToKeep: '{build-artifact-days-to-keep}'
319 artifactNumToKeep: '{build-artifact-num-to-keep}'
323 project: 'integration/distribution'
327 credentials-id: '{ssh-credentials}'
333 - ssh-agent-credentials:
335 - '{ssh-credentials}'
339 jobs: '{project}-merge-{stream}'
343 - wipe-org-opendaylight-repo
344 - provide-maven-settings:
345 global-settings-file: '{odl-global-settings}'
346 settings-file: '{ovsdb-settings}'
349 maven-name: '{mvn33}'
351 goals: 'clean install -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
352 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
353 settings: '{integration-settings}'
354 global-settings: '{odl-global-settings}'
357 - email-notification:
358 email-prefix: '[{project}]'
362 deploy-unstable: false
365 name: 'ovsdb-integration-{stream}'
366 # Temporarily disable this job until Rackspace networking issues are
371 # Job template for ODL integration verify jobs
373 # This is similar to a normal verify job, but it runs
374 # when a project that's a dependency of your project
375 # is successfully built.
377 # Required Variables:
378 # stream: release stream (eg. stable-lithium or beryllium)
379 # branch: git branch (eg. stable/lithium or master)
386 daysToKeep: '{build-days-to-keep}'
387 numToKeep: '{build-num-to-keep}'
388 artifactDaysToKeep: '{build-artifact-days-to-keep}'
389 artifactNumToKeep: '{build-artifact-num-to-keep}'
397 credentials-id: '{ssh-credentials}'
403 - ssh-agent-credentials:
405 - '{ssh-credentials}'
409 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}'
413 - wipe-org-opendaylight-repo
414 - jacoco-nojava-workaround
415 - provide-maven-settings:
416 global-settings-file: '{odl-global-settings}'
417 settings-file: '{ovsdb-settings}'
420 maven-name: '{mvn33}'
422 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins'
423 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
424 settings: '{ovsdb-settings}'
425 global-settings: '{odl-global-settings}'
431 - email-notification:
432 email-prefix: '[ovsdb] [odlparent] [controller] [yangtools] [openflowplugin] [neutron]'
436 name: 'ovsdb-clm-{stream}'
443 daysToKeep: '{build-days-to-keep}'
444 numToKeep: '{build-num-to-keep}'
445 artifactDaysToKeep: '{build-artifact-days-to-keep}'
446 artifactNumToKeep: '{build-artifact-num-to-keep}'
454 credentials-id: '{ssh-credentials}'
460 - ssh-agent-credentials:
462 - '{ssh-credentials}'
468 - wipe-org-opendaylight-repo
469 - provide-maven-settings:
470 global-settings-file: '{odl-global-settings}'
471 settings-file: '{ovsdb-settings}'
474 maven-name: '{mvn33}'
476 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'
477 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
478 settings: '{ovsdb-settings}'
479 global-settings: '{odl-global-settings}'
482 - shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
484 application-name: ovsdb
487 - email-notification:
488 email-prefix: '[ovsdb]'
491 name: 'ovsdb-validate-autorelease-{stream}'
492 disabled: '{obj:disable_autorelease}'
500 daysToKeep: '{build-days-to-keep}'
501 numToKeep: '{build-num-to-keep}'
502 artifactDaysToKeep: '{build-artifact-days-to-keep}'
503 artifactNumToKeep: '{build-artifact-num-to-keep}'
510 - autorelease-release-tag:
511 release-tag: 'validate'
512 - autorelease-release-branch:
513 release-branch: '{branch}'
514 - autorelease-release-datestamp:
519 url: 'https://git.opendaylight.org/gerrit/releng/autorelease'
528 - autorelease-build-timeout
529 - ssh-agent-credentials:
531 - '{ssh-credentials}'
535 server-name: 'OpenDaylight'
537 - patchset-created-event:
538 exclude-drafts: 'false'
539 exclude-trivial-rebase: 'false'
540 exclude-no-code-change: 'false'
541 - draft-published-event
542 - comment-added-contains-event:
543 comment-contains-value: 'recheck'
544 - comment-added-contains-event:
545 comment-contains-value: 'reverify'
546 - comment-added-contains-event:
547 comment-contains-value: 'revalidate'
549 - project-compare-type: 'ANT'
550 project-pattern: 'ovsdb'
552 - branch-compare-type: 'ANT'
553 branch-pattern: '**/{branch}'
556 - wipe-org-opendaylight-repo
557 - jacoco-nojava-workaround
558 - autorelease-checkout-gerrit-patch
559 - autorelease-generate-taglist
560 - autorelease-generate-release-patches
562 maven-version: '{mvn33}'
563 pom: validate-pom.xml
564 goals: 'clean install -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
567 settings: '{autorelease-settings}'
568 global-settings: '{odl-global-settings}'
571 maven-name: '{mvn33}'
573 goals: 'clean validate -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
574 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
575 settings: '{autorelease-settings}'
576 global-settings: '{odl-global-settings}'
577 automatic-archiving: false
578 post-step-run-condition: UNSTABLE
581 - shell: "./scripts/list-project-dependencies.sh"
582 - autorelease-sys-stats
587 - email-notification:
588 email-prefix: '[autorelease] [ovsdb]'