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}'
236 - email-notification:
237 email-prefix: '[ovsdb]'
241 deploy-unstable: false
245 name: 'ovsdb-periodic-{stream}'
247 # Job template for periodic builders
249 # The purpose of this job template is to setup a periodic
252 # Required Variables:
253 # stream: release stream (eg. stable-lithium or beryllium)
254 # branch: git branch (eg. stable/lithium or master)
261 daysToKeep: '{build-days-to-keep}'
262 numToKeep: '{build-num-to-keep}'
263 artifactDaysToKeep: '{build-artifact-days-to-keep}'
264 artifactNumToKeep: '{build-artifact-num-to-keep}'
272 credentials-id: '{ssh-credentials}'
278 - ssh-agent-credentials:
280 - '{ssh-credentials}'
286 - wipe-org-opendaylight-repo
287 - jacoco-nojava-workaround
288 - provide-maven-settings:
289 global-settings-file: '{odl-global-settings}'
290 settings-file: '{ovsdb-settings}'
293 maven-name: '{mvn33}'
295 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins'
296 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
297 settings: '{ovsdb-settings}'
298 global-settings: '{odl-global-settings}'
304 - email-notification:
305 email-prefix: '[ovsdb]'
309 name: 'ovsdb-distribution-{stream}'
311 # Required variables:
312 # stream: release stream (eg. stable-lithium or beryllium)
313 # branch: git branch (eg. stable/lithium or master)
320 daysToKeep: '{build-days-to-keep}'
321 numToKeep: '{build-num-to-keep}'
322 artifactDaysToKeep: '{build-artifact-days-to-keep}'
323 artifactNumToKeep: '{build-artifact-num-to-keep}'
327 project: 'integration/distribution'
331 credentials-id: '{ssh-credentials}'
337 - ssh-agent-credentials:
339 - '{ssh-credentials}'
343 jobs: '{project}-merge-{stream}'
347 - wipe-org-opendaylight-repo
348 - provide-maven-settings:
349 global-settings-file: '{odl-global-settings}'
350 settings-file: '{ovsdb-settings}'
353 maven-name: '{mvn33}'
355 goals: 'clean install -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
356 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
357 settings: '{integration-settings}'
358 global-settings: '{odl-global-settings}'
361 - email-notification:
362 email-prefix: '[{project}]'
366 deploy-unstable: false
369 name: 'ovsdb-integration-{stream}'
372 # Job template for ODL integration verify jobs
374 # This is similar to a normal verify job, but it runs
375 # when a project that's a dependency of your project
376 # is successfully built.
378 # Required Variables:
379 # stream: release stream (eg. stable-lithium or beryllium)
380 # branch: git branch (eg. stable/lithium or master)
387 daysToKeep: '{build-days-to-keep}'
388 numToKeep: '{build-num-to-keep}'
389 artifactDaysToKeep: '{build-artifact-days-to-keep}'
390 artifactNumToKeep: '{build-artifact-num-to-keep}'
398 credentials-id: '{ssh-credentials}'
404 - ssh-agent-credentials:
406 - '{ssh-credentials}'
410 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}'
414 - wipe-org-opendaylight-repo
415 - jacoco-nojava-workaround
416 - provide-maven-settings:
417 global-settings-file: '{odl-global-settings}'
418 settings-file: '{ovsdb-settings}'
421 maven-name: '{mvn33}'
423 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins'
424 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
425 settings: '{ovsdb-settings}'
426 global-settings: '{odl-global-settings}'
432 - email-notification:
433 email-prefix: '[ovsdb] [odlparent] [controller] [yangtools] [openflowplugin] [neutron]'
437 name: 'ovsdb-clm-{stream}'
444 daysToKeep: '{build-days-to-keep}'
445 numToKeep: '{build-num-to-keep}'
446 artifactDaysToKeep: '{build-artifact-days-to-keep}'
447 artifactNumToKeep: '{build-artifact-num-to-keep}'
455 credentials-id: '{ssh-credentials}'
461 - ssh-agent-credentials:
463 - '{ssh-credentials}'
469 - wipe-org-opendaylight-repo
470 - provide-maven-settings:
471 global-settings-file: '{odl-global-settings}'
472 settings-file: '{ovsdb-settings}'
475 maven-name: '{mvn33}'
477 goals: 'clean install -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
478 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
479 settings: '{ovsdb-settings}'
480 global-settings: '{odl-global-settings}'
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]'