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-lithium:
22 branch: 'topic/lithium/net-virt-clustering'
26 disable_autorelease: True
27 - clustering-netvirt-master:
28 branch: 'topic/master/net-virt-clustering'
32 disable_autorelease: True
33 - neutron-yang-migration:
34 branch: 'topic/master/neutron-yang-migration'
38 disable_autorelease: True
40 branch: 'topic/routermanager'
44 disable_autorelease: True
51 disable_autorelease: True
58 disable_autorelease: False
60 branch: 'stable/lithium'
64 disable_autorelease: True
66 branch: 'stable/helium'
70 disable_autorelease: True
74 # For the Job templates below replace instances of:
75 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
76 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
77 # MAVEN_GOALS with your maven goals to build
78 # MAVEN_OPTS with your maven options to build
81 name: 'ovsdb-verify-{stream}'
83 # Job template for ODL verify jobs
85 # The purpose of this job template is to setup a ODL verify job
88 # stream: release stream (eg. stable-lithium or beryllium)
89 # branch: git branch (eg. stable/lithium or master)
106 daysToKeep: '{build-days-to-keep}'
107 numToKeep: '{build-num-to-keep}'
108 artifactDaysToKeep: '{build-artifact-days-to-keep}'
109 artifactNumToKeep: '{build-artifact-num-to-keep}'
118 - gerrit-trigger-scm:
119 credentials-id: '{ssh-credentials}'
120 refspec: '$GERRIT_REFSPEC'
121 choosing-strategy: 'gerrit'
125 - ssh-agent-credentials:
127 - '{ssh-credentials}'
130 - gerrit-trigger-patch-submitted:
135 - wipe-org-opendaylight-repo
136 - jacoco-nojava-workaround
137 - provide-maven-settings:
138 global-settings-file: '{odl-global-settings}'
139 settings-file: '{ovsdb-settings}'
141 maven-version: '{mvn33}'
143 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
145 - '-Xmx1024m -XX:MaxPermSize=256m'
146 settings: '{ovsdb-settings}'
147 global-settings: '{odl-global-settings}'
151 - email-notification:
152 email-prefix: '[ovsdb]'
156 name: 'ovsdb-merge-{stream}'
158 # Job template for ODL merge jobs
160 # The purpose of this job template is to setup a ODL merge job
161 # and deploy artifacts to Nexus.
163 # Required Variables:
164 # stream: release stream (eg. stable-lithium or beryllium)
165 # branch: git branch (eg. stable/lithium or master)
172 daysToKeep: '{build-days-to-keep}'
173 numToKeep: '{build-num-to-keep}'
174 artifactDaysToKeep: '{build-artifact-days-to-keep}'
175 artifactNumToKeep: '{build-artifact-num-to-keep}'
182 - gerrit-trigger-scm:
183 credentials-id: '{ssh-credentials}'
185 choosing-strategy: 'default'
189 - ssh-agent-credentials:
191 - '{ssh-credentials}'
194 - gerrit-trigger-patch-merged:
199 - wipe-org-opendaylight-repo
200 - jacoco-nojava-workaround
201 - provide-maven-settings:
202 global-settings-file: '{odl-global-settings}'
203 settings-file: '{ovsdb-settings}'
206 maven-name: '{mvn33}'
208 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dstream={stream}'
209 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
210 settings: '{ovsdb-settings}'
211 global-settings: '{odl-global-settings}'
212 post-step-run-condition: UNSTABLE
216 condition-kind: file-exists
217 condition-filename: deploy-site.xml
218 condition-basedir: workspace
220 # The strategy here is intentional to run Maven site:deploy twice
221 # once using regular pom.xml to produce a staged-site which is
222 # then used by deploy-site.xml to push to Nexus. This is a
223 # workaround to Maven Site's default linking code which creates
224 # incorrect URLs for sites due to auto-detection assuming your
225 # project is configured in a certain way which ODL is not.
228 maven-version: '{mvn33}'
230 goals: 'site:deploy -Dstream={stream}'
233 settings: '{ovsdb-settings}'
234 global-settings: '{odl-global-settings}'
236 maven-version: '{mvn33}'
238 goals: 'site:deploy -Dstream={stream}'
241 settings: '{ovsdb-settings}'
242 global-settings: '{odl-global-settings}'
248 - email-notification:
249 email-prefix: '[ovsdb]'
253 deploy-unstable: false
257 name: 'ovsdb-daily-{stream}'
259 # Job template for daily builders
261 # The purpose of this job template is to setup a daily/nightly
262 # builder and pushes to Sonar analysis.
264 # Required Variables:
265 # stream: release stream (eg. stable-lithium or beryllium)
266 # branch: git branch (eg. stable/lithium or master)
273 daysToKeep: '{build-days-to-keep}'
274 numToKeep: '{build-num-to-keep}'
275 artifactDaysToKeep: '{build-artifact-days-to-keep}'
276 artifactNumToKeep: '{build-artifact-num-to-keep}'
284 credentials-id: '{ssh-credentials}'
290 - ssh-agent-credentials:
292 - '{ssh-credentials}'
298 - wipe-org-opendaylight-repo
299 - jacoco-nojava-workaround
300 - provide-maven-settings:
301 global-settings-file: '{odl-global-settings}'
302 settings-file: '{ovsdb-settings}'
305 maven-name: '{mvn33}'
307 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
308 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
309 settings: '{ovsdb-settings}'
310 global-settings: '{odl-global-settings}'
316 - email-notification:
317 email-prefix: '[ovsdb]'
321 name: 'ovsdb-distribution-{stream}'
323 # Required variables:
324 # stream: release stream (eg. stable-lithium or beryllium)
325 # branch: git branch (eg. stable/lithium or master)
332 daysToKeep: '{build-days-to-keep}'
333 numToKeep: '{build-num-to-keep}'
334 artifactDaysToKeep: '{build-artifact-days-to-keep}'
335 artifactNumToKeep: '{build-artifact-num-to-keep}'
339 project: 'integration/distribution'
343 credentials-id: '{ssh-credentials}'
349 - ssh-agent-credentials:
351 - '{ssh-credentials}'
355 jobs: '{project}-merge-{stream}'
359 - wipe-org-opendaylight-repo
360 - provide-maven-settings:
361 global-settings-file: '{odl-global-settings}'
362 settings-file: '{ovsdb-settings}'
365 maven-name: '{mvn33}'
367 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
368 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
369 settings: '{integration-settings}'
370 global-settings: '{odl-global-settings}'
373 - email-notification:
374 email-prefix: '[{project}]'
378 deploy-unstable: false
381 name: 'ovsdb-integration-{stream}'
384 # Job template for ODL integration verify jobs
386 # This is similar to a normal verify job, but it runs
387 # when a project that's a dependency of your project
388 # is successfully built.
390 # Required Variables:
391 # stream: release stream (eg. stable-lithium or beryllium)
392 # branch: git branch (eg. stable/lithium or master)
399 daysToKeep: '{build-days-to-keep}'
400 numToKeep: '{build-num-to-keep}'
401 artifactDaysToKeep: '{build-artifact-days-to-keep}'
402 artifactNumToKeep: '{build-artifact-num-to-keep}'
410 credentials-id: '{ssh-credentials}'
416 - ssh-agent-credentials:
418 - '{ssh-credentials}'
422 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}'
426 - wipe-org-opendaylight-repo
427 - jacoco-nojava-workaround
428 - provide-maven-settings:
429 global-settings-file: '{odl-global-settings}'
430 settings-file: '{ovsdb-settings}'
433 maven-name: '{mvn33}'
435 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
436 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
437 settings: '{ovsdb-settings}'
438 global-settings: '{odl-global-settings}'
444 - email-notification:
445 email-prefix: '[ovsdb] [odlparent] [controller] [yangtools] [openflowplugin] [neutron]'
449 name: 'ovsdb-clm-{stream}'
456 daysToKeep: '{build-days-to-keep}'
457 numToKeep: '{build-num-to-keep}'
458 artifactDaysToKeep: '{build-artifact-days-to-keep}'
459 artifactNumToKeep: '{build-artifact-num-to-keep}'
467 credentials-id: '{ssh-credentials}'
473 - ssh-agent-credentials:
475 - '{ssh-credentials}'
481 - wipe-org-opendaylight-repo
482 - provide-maven-settings:
483 global-settings-file: '{odl-global-settings}'
484 settings-file: '{ovsdb-settings}'
487 maven-name: '{mvn33}'
489 goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
490 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
491 settings: '{ovsdb-settings}'
492 global-settings: '{odl-global-settings}'
496 application-name: ovsdb
499 - email-notification:
500 email-prefix: '[ovsdb]'
503 name: 'ovsdb-validate-autorelease-{stream}'
504 disabled: '{obj:disable_autorelease}'
512 daysToKeep: '{build-days-to-keep}'
513 numToKeep: '{build-num-to-keep}'
514 artifactDaysToKeep: '{build-artifact-days-to-keep}'
515 artifactNumToKeep: '{build-artifact-num-to-keep}'
522 - autorelease-release-tag:
523 release-tag: 'validate'
524 - autorelease-release-branch:
525 release-branch: '{branch}'
526 - autorelease-release-datestamp:
531 url: 'https://git.opendaylight.org/gerrit/releng/autorelease'
540 - autorelease-build-timeout
541 - ssh-agent-credentials:
543 - '{ssh-credentials}'
547 server-name: 'OpenDaylight'
549 - patchset-created-event:
550 exclude-drafts: 'false'
551 exclude-trivial-rebase: 'false'
552 exclude-no-code-change: 'false'
553 - draft-published-event
554 - comment-added-contains-event:
555 comment-contains-value: 'recheck'
556 - comment-added-contains-event:
557 comment-contains-value: 'reverify'
558 - comment-added-contains-event:
559 comment-contains-value: 'revalidate'
561 - project-compare-type: 'ANT'
562 project-pattern: 'ovsdb'
564 - branch-compare-type: 'ANT'
565 branch-pattern: '**/{branch}'
568 - wipe-org-opendaylight-repo
569 - jacoco-nojava-workaround
570 - autorelease-checkout-gerrit-patch
571 - autorelease-generate-taglist
572 - autorelease-generate-release-patches
574 maven-version: '{mvn33}'
575 pom: validate-pom.xml
576 goals: 'clean install -T1.5C -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
579 settings: '{autorelease-settings}'
580 global-settings: '{odl-global-settings}'
583 maven-name: '{mvn33}'
585 goals: 'clean validate -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
586 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
587 settings: '{autorelease-settings}'
588 global-settings: '{odl-global-settings}'
589 automatic-archiving: false
590 post-step-run-condition: UNSTABLE
593 - shell: "./scripts/list-project-dependencies.sh"
594 - autorelease-sys-stats
599 - email-notification:
600 email-prefix: '[autorelease] [ovsdb]'