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-daily-{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)
21 - clustering-netvirt-master:
22 branch: 'topic/master/net-virt-clustering'
26 disable_autorelease: True
28 branch: 'topic/routermanager'
32 disable_autorelease: True
39 disable_autorelease: True
46 disable_autorelease: False
48 branch: 'stable/lithium'
52 disable_autorelease: True
54 branch: 'stable/helium'
58 disable_autorelease: True
62 # For the Job templates below replace instances of:
63 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
64 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
65 # MAVEN_GOALS with your maven goals to build
66 # MAVEN_OPTS with your maven options to build
69 name: 'ovsdb-verify-{stream}'
71 # Job template for ODL verify jobs
73 # The purpose of this job template is to setup a ODL verify job
76 # stream: release stream (eg. stable-lithium or beryllium)
77 # branch: git branch (eg. stable/lithium or master)
94 daysToKeep: '{build-days-to-keep}'
95 numToKeep: '{build-num-to-keep}'
96 artifactDaysToKeep: '{build-artifact-days-to-keep}'
97 artifactNumToKeep: '{build-artifact-num-to-keep}'
104 - gerrit-refspec-parameter:
105 refspec: 'refs/heads/{branch}'
108 - gerrit-trigger-scm:
109 credentials-id: '{ssh-credentials}'
110 refspec: '$GERRIT_REFSPEC'
111 choosing-strategy: 'gerrit'
115 - ssh-agent-credentials:
117 - '{ssh-credentials}'
120 - gerrit-trigger-patch-submitted:
125 - wipe-org-opendaylight-repo
126 - jacoco-nojava-workaround
127 - provide-maven-settings:
128 global-settings-file: '{odl-global-settings}'
129 settings-file: '{ovsdb-settings}'
131 maven-version: '{mvn33}'
133 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
135 - '-Xmx1024m -XX:MaxPermSize=256m'
136 settings: '{ovsdb-settings}'
137 global-settings: '{odl-global-settings}'
141 - email-notification:
142 email-prefix: '[ovsdb]'
146 name: 'ovsdb-merge-{stream}'
148 # Job template for ODL merge jobs
150 # The purpose of this job template is to setup a ODL merge job
151 # and deploy artifacts to Nexus.
153 # Required Variables:
154 # stream: release stream (eg. stable-lithium or beryllium)
155 # branch: git branch (eg. stable/lithium or master)
162 daysToKeep: '{build-days-to-keep}'
163 numToKeep: '{build-num-to-keep}'
164 artifactDaysToKeep: '{build-artifact-days-to-keep}'
165 artifactNumToKeep: '{build-artifact-num-to-keep}'
172 - gerrit-refspec-parameter:
173 refspec: 'refs/heads/{branch}'
176 - gerrit-trigger-scm:
177 credentials-id: '{ssh-credentials}'
179 choosing-strategy: 'default'
183 - ssh-agent-credentials:
185 - '{ssh-credentials}'
188 - gerrit-trigger-patch-merged:
193 - wipe-org-opendaylight-repo
194 - jacoco-nojava-workaround
195 - provide-maven-settings:
196 global-settings-file: '{odl-global-settings}'
197 settings-file: '{ovsdb-settings}'
200 maven-name: '{mvn33}'
202 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dstream={stream}'
203 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
204 settings: '{ovsdb-settings}'
205 global-settings: '{odl-global-settings}'
206 post-step-run-condition: UNSTABLE
210 condition-kind: file-exists
211 condition-filename: deploy-site.xml
212 condition-basedir: workspace
214 # The strategy here is intentional to run Maven site:deploy twice
215 # once using regular pom.xml to produce a staged-site which is
216 # then used by deploy-site.xml to push to Nexus. This is a
217 # workaround to Maven Site's default linking code which creates
218 # incorrect URLs for sites due to auto-detection assuming your
219 # project is configured in a certain way which ODL is not.
222 maven-version: '{mvn33}'
224 goals: 'site:deploy -Dstream={stream}'
227 settings: '{ovsdb-settings}'
228 global-settings: '{odl-global-settings}'
230 maven-version: '{mvn33}'
232 goals: 'site:deploy -Dstream={stream}'
235 settings: '{ovsdb-settings}'
236 global-settings: '{odl-global-settings}'
242 - email-notification:
243 email-prefix: '[ovsdb]'
247 deploy-unstable: false
251 name: 'ovsdb-daily-{stream}'
253 # Job template for daily builders
255 # The purpose of this job template is to setup a daily/nightly
256 # builder and pushes to Sonar analysis.
258 # Required Variables:
259 # stream: release stream (eg. stable-lithium or beryllium)
260 # branch: git branch (eg. stable/lithium or master)
267 daysToKeep: '{build-days-to-keep}'
268 numToKeep: '{build-num-to-keep}'
269 artifactDaysToKeep: '{build-artifact-days-to-keep}'
270 artifactNumToKeep: '{build-artifact-num-to-keep}'
278 credentials-id: '{ssh-credentials}'
284 - ssh-agent-credentials:
286 - '{ssh-credentials}'
292 - wipe-org-opendaylight-repo
293 - jacoco-nojava-workaround
294 - provide-maven-settings:
295 global-settings-file: '{odl-global-settings}'
296 settings-file: '{ovsdb-settings}'
299 maven-name: '{mvn33}'
301 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
302 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
303 settings: '{ovsdb-settings}'
304 global-settings: '{odl-global-settings}'
310 - email-notification:
311 email-prefix: '[ovsdb]'
315 name: 'ovsdb-distribution-{stream}'
317 # Required variables:
318 # stream: release stream (eg. stable-lithium or beryllium)
319 # branch: git branch (eg. stable/lithium or master)
326 daysToKeep: '{build-days-to-keep}'
327 numToKeep: '{build-num-to-keep}'
328 artifactDaysToKeep: '{build-artifact-days-to-keep}'
329 artifactNumToKeep: '{build-artifact-num-to-keep}'
333 project: 'integration/distribution'
337 credentials-id: '{ssh-credentials}'
343 - ssh-agent-credentials:
345 - '{ssh-credentials}'
349 jobs: '{project}-merge-{stream}'
353 - wipe-org-opendaylight-repo
354 - provide-maven-settings:
355 global-settings-file: '{odl-global-settings}'
356 settings-file: '{ovsdb-settings}'
359 maven-name: '{mvn33}'
361 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
362 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
363 settings: '{integration-settings}'
364 global-settings: '{odl-global-settings}'
367 - email-notification:
368 email-prefix: '[{project}]'
372 deploy-unstable: false
375 name: 'ovsdb-integration-{stream}'
378 # Job template for ODL integration verify jobs
380 # This is similar to a normal verify job, but it runs
381 # when a project that's a dependency of your project
382 # is successfully built.
384 # Required Variables:
385 # stream: release stream (eg. stable-lithium or beryllium)
386 # branch: git branch (eg. stable/lithium or master)
393 daysToKeep: '{build-days-to-keep}'
394 numToKeep: '{build-num-to-keep}'
395 artifactDaysToKeep: '{build-artifact-days-to-keep}'
396 artifactNumToKeep: '{build-artifact-num-to-keep}'
404 credentials-id: '{ssh-credentials}'
410 - ssh-agent-credentials:
412 - '{ssh-credentials}'
416 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}'
420 - wipe-org-opendaylight-repo
421 - jacoco-nojava-workaround
422 - provide-maven-settings:
423 global-settings-file: '{odl-global-settings}'
424 settings-file: '{ovsdb-settings}'
427 maven-name: '{mvn33}'
429 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
430 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
431 settings: '{ovsdb-settings}'
432 global-settings: '{odl-global-settings}'
438 - email-notification:
439 email-prefix: '[ovsdb] [odlparent] [controller] [yangtools] [openflowplugin] [neutron]'
443 name: 'ovsdb-clm-{stream}'
450 daysToKeep: '{build-days-to-keep}'
451 numToKeep: '{build-num-to-keep}'
452 artifactDaysToKeep: '{build-artifact-days-to-keep}'
453 artifactNumToKeep: '{build-artifact-num-to-keep}'
461 credentials-id: '{ssh-credentials}'
467 - ssh-agent-credentials:
469 - '{ssh-credentials}'
475 - wipe-org-opendaylight-repo
476 - provide-maven-settings:
477 global-settings-file: '{odl-global-settings}'
478 settings-file: '{ovsdb-settings}'
481 maven-name: '{mvn33}'
483 goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
484 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
485 settings: '{ovsdb-settings}'
486 global-settings: '{odl-global-settings}'
490 application-name: ovsdb
493 - email-notification:
494 email-prefix: '[ovsdb]'
497 name: 'ovsdb-validate-autorelease-{stream}'
498 disabled: '{obj:disable_autorelease}'
506 daysToKeep: '{build-days-to-keep}'
507 numToKeep: '{build-num-to-keep}'
508 artifactDaysToKeep: '{build-artifact-days-to-keep}'
509 artifactNumToKeep: '{build-artifact-num-to-keep}'
516 - autorelease-release-tag:
517 release-tag: 'validate'
518 - autorelease-release-branch:
519 release-branch: '{branch}'
520 - autorelease-release-datestamp:
525 url: 'https://git.opendaylight.org/gerrit/releng/autorelease'
534 - autorelease-build-timeout
535 - ssh-agent-credentials:
537 - '{ssh-credentials}'
541 server-name: 'OpenDaylight'
543 - patchset-created-event:
544 exclude-drafts: 'false'
545 exclude-trivial-rebase: 'false'
546 exclude-no-code-change: 'false'
547 - draft-published-event
548 - comment-added-contains-event:
549 comment-contains-value: 'recheck'
550 - comment-added-contains-event:
551 comment-contains-value: 'reverify'
552 - comment-added-contains-event:
553 comment-contains-value: 'revalidate'
555 - project-compare-type: 'ANT'
556 project-pattern: 'ovsdb'
558 - branch-compare-type: 'ANT'
559 branch-pattern: '**/{branch}'
562 - wipe-org-opendaylight-repo
563 - jacoco-nojava-workaround
564 - autorelease-checkout-gerrit-patch
565 - autorelease-generate-taglist
566 - autorelease-generate-release-patches
568 maven-version: '{mvn33}'
569 pom: validate-pom.xml
570 goals: 'clean install -T1.5C -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
573 settings: '{autorelease-settings}'
574 global-settings: '{odl-global-settings}'
577 maven-name: '{mvn33}'
579 goals: 'clean validate -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
580 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
581 settings: '{autorelease-settings}'
582 global-settings: '{odl-global-settings}'
583 automatic-archiving: false
584 post-step-run-condition: UNSTABLE
587 - shell: "./scripts/list-project-dependencies.sh"
588 - autorelease-sys-stats
593 - email-notification:
594 email-prefix: '[autorelease] [ovsdb]'