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}'
116 - gerrit-refspec-parameter:
117 refspec: 'refs/heads/{branch}'
120 - gerrit-trigger-scm:
121 credentials-id: '{ssh-credentials}'
122 refspec: '$GERRIT_REFSPEC'
123 choosing-strategy: 'gerrit'
127 - ssh-agent-credentials:
129 - '{ssh-credentials}'
132 - gerrit-trigger-patch-submitted:
137 - wipe-org-opendaylight-repo
138 - jacoco-nojava-workaround
139 - provide-maven-settings:
140 global-settings-file: '{odl-global-settings}'
141 settings-file: '{ovsdb-settings}'
143 maven-version: '{mvn33}'
145 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
147 - '-Xmx1024m -XX:MaxPermSize=256m'
148 settings: '{ovsdb-settings}'
149 global-settings: '{odl-global-settings}'
153 - email-notification:
154 email-prefix: '[ovsdb]'
158 name: 'ovsdb-merge-{stream}'
160 # Job template for ODL merge jobs
162 # The purpose of this job template is to setup a ODL merge job
163 # and deploy artifacts to Nexus.
165 # Required Variables:
166 # stream: release stream (eg. stable-lithium or beryllium)
167 # branch: git branch (eg. stable/lithium or master)
174 daysToKeep: '{build-days-to-keep}'
175 numToKeep: '{build-num-to-keep}'
176 artifactDaysToKeep: '{build-artifact-days-to-keep}'
177 artifactNumToKeep: '{build-artifact-num-to-keep}'
184 - gerrit-refspec-parameter:
185 refspec: 'refs/heads/{branch}'
188 - gerrit-trigger-scm:
189 credentials-id: '{ssh-credentials}'
191 choosing-strategy: 'default'
195 - ssh-agent-credentials:
197 - '{ssh-credentials}'
200 - gerrit-trigger-patch-merged:
205 - wipe-org-opendaylight-repo
206 - jacoco-nojava-workaround
207 - provide-maven-settings:
208 global-settings-file: '{odl-global-settings}'
209 settings-file: '{ovsdb-settings}'
212 maven-name: '{mvn33}'
214 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dstream={stream}'
215 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
216 settings: '{ovsdb-settings}'
217 global-settings: '{odl-global-settings}'
218 post-step-run-condition: UNSTABLE
222 condition-kind: file-exists
223 condition-filename: deploy-site.xml
224 condition-basedir: workspace
226 # The strategy here is intentional to run Maven site:deploy twice
227 # once using regular pom.xml to produce a staged-site which is
228 # then used by deploy-site.xml to push to Nexus. This is a
229 # workaround to Maven Site's default linking code which creates
230 # incorrect URLs for sites due to auto-detection assuming your
231 # project is configured in a certain way which ODL is not.
234 maven-version: '{mvn33}'
236 goals: 'site:deploy -Dstream={stream}'
239 settings: '{ovsdb-settings}'
240 global-settings: '{odl-global-settings}'
242 maven-version: '{mvn33}'
244 goals: 'site:deploy -Dstream={stream}'
247 settings: '{ovsdb-settings}'
248 global-settings: '{odl-global-settings}'
254 - email-notification:
255 email-prefix: '[ovsdb]'
259 deploy-unstable: false
263 name: 'ovsdb-daily-{stream}'
265 # Job template for daily builders
267 # The purpose of this job template is to setup a daily/nightly
268 # builder and pushes to Sonar analysis.
270 # Required Variables:
271 # stream: release stream (eg. stable-lithium or beryllium)
272 # branch: git branch (eg. stable/lithium or master)
279 daysToKeep: '{build-days-to-keep}'
280 numToKeep: '{build-num-to-keep}'
281 artifactDaysToKeep: '{build-artifact-days-to-keep}'
282 artifactNumToKeep: '{build-artifact-num-to-keep}'
290 credentials-id: '{ssh-credentials}'
296 - ssh-agent-credentials:
298 - '{ssh-credentials}'
304 - wipe-org-opendaylight-repo
305 - jacoco-nojava-workaround
306 - provide-maven-settings:
307 global-settings-file: '{odl-global-settings}'
308 settings-file: '{ovsdb-settings}'
311 maven-name: '{mvn33}'
313 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
314 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
315 settings: '{ovsdb-settings}'
316 global-settings: '{odl-global-settings}'
322 - email-notification:
323 email-prefix: '[ovsdb]'
327 name: 'ovsdb-distribution-{stream}'
329 # Required variables:
330 # stream: release stream (eg. stable-lithium or beryllium)
331 # branch: git branch (eg. stable/lithium or master)
338 daysToKeep: '{build-days-to-keep}'
339 numToKeep: '{build-num-to-keep}'
340 artifactDaysToKeep: '{build-artifact-days-to-keep}'
341 artifactNumToKeep: '{build-artifact-num-to-keep}'
345 project: 'integration/distribution'
349 credentials-id: '{ssh-credentials}'
355 - ssh-agent-credentials:
357 - '{ssh-credentials}'
361 jobs: '{project}-merge-{stream}'
365 - wipe-org-opendaylight-repo
366 - provide-maven-settings:
367 global-settings-file: '{odl-global-settings}'
368 settings-file: '{ovsdb-settings}'
371 maven-name: '{mvn33}'
373 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
374 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
375 settings: '{integration-settings}'
376 global-settings: '{odl-global-settings}'
379 - email-notification:
380 email-prefix: '[{project}]'
384 deploy-unstable: false
387 name: 'ovsdb-integration-{stream}'
390 # Job template for ODL integration verify jobs
392 # This is similar to a normal verify job, but it runs
393 # when a project that's a dependency of your project
394 # is successfully built.
396 # Required Variables:
397 # stream: release stream (eg. stable-lithium or beryllium)
398 # branch: git branch (eg. stable/lithium or master)
405 daysToKeep: '{build-days-to-keep}'
406 numToKeep: '{build-num-to-keep}'
407 artifactDaysToKeep: '{build-artifact-days-to-keep}'
408 artifactNumToKeep: '{build-artifact-num-to-keep}'
416 credentials-id: '{ssh-credentials}'
422 - ssh-agent-credentials:
424 - '{ssh-credentials}'
428 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}'
432 - wipe-org-opendaylight-repo
433 - jacoco-nojava-workaround
434 - provide-maven-settings:
435 global-settings-file: '{odl-global-settings}'
436 settings-file: '{ovsdb-settings}'
439 maven-name: '{mvn33}'
441 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
442 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
443 settings: '{ovsdb-settings}'
444 global-settings: '{odl-global-settings}'
450 - email-notification:
451 email-prefix: '[ovsdb] [odlparent] [controller] [yangtools] [openflowplugin] [neutron]'
455 name: 'ovsdb-clm-{stream}'
462 daysToKeep: '{build-days-to-keep}'
463 numToKeep: '{build-num-to-keep}'
464 artifactDaysToKeep: '{build-artifact-days-to-keep}'
465 artifactNumToKeep: '{build-artifact-num-to-keep}'
473 credentials-id: '{ssh-credentials}'
479 - ssh-agent-credentials:
481 - '{ssh-credentials}'
487 - wipe-org-opendaylight-repo
488 - provide-maven-settings:
489 global-settings-file: '{odl-global-settings}'
490 settings-file: '{ovsdb-settings}'
493 maven-name: '{mvn33}'
495 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'
496 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
497 settings: '{ovsdb-settings}'
498 global-settings: '{odl-global-settings}'
502 application-name: ovsdb
505 - email-notification:
506 email-prefix: '[ovsdb]'
509 name: 'ovsdb-validate-autorelease-{stream}'
510 disabled: '{obj:disable_autorelease}'
518 daysToKeep: '{build-days-to-keep}'
519 numToKeep: '{build-num-to-keep}'
520 artifactDaysToKeep: '{build-artifact-days-to-keep}'
521 artifactNumToKeep: '{build-artifact-num-to-keep}'
528 - autorelease-release-tag:
529 release-tag: 'validate'
530 - autorelease-release-branch:
531 release-branch: '{branch}'
532 - autorelease-release-datestamp:
537 url: 'https://git.opendaylight.org/gerrit/releng/autorelease'
546 - autorelease-build-timeout
547 - ssh-agent-credentials:
549 - '{ssh-credentials}'
553 server-name: 'OpenDaylight'
555 - patchset-created-event:
556 exclude-drafts: 'false'
557 exclude-trivial-rebase: 'false'
558 exclude-no-code-change: 'false'
559 - draft-published-event
560 - comment-added-contains-event:
561 comment-contains-value: 'recheck'
562 - comment-added-contains-event:
563 comment-contains-value: 'reverify'
564 - comment-added-contains-event:
565 comment-contains-value: 'revalidate'
567 - project-compare-type: 'ANT'
568 project-pattern: 'ovsdb'
570 - branch-compare-type: 'ANT'
571 branch-pattern: '**/{branch}'
574 - wipe-org-opendaylight-repo
575 - jacoco-nojava-workaround
576 - autorelease-checkout-gerrit-patch
577 - autorelease-generate-taglist
578 - autorelease-generate-release-patches
580 maven-version: '{mvn33}'
581 pom: validate-pom.xml
582 goals: 'clean install -T1.5C -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
585 settings: '{autorelease-settings}'
586 global-settings: '{odl-global-settings}'
589 maven-name: '{mvn33}'
591 goals: 'clean validate -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
592 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
593 settings: '{autorelease-settings}'
594 global-settings: '{odl-global-settings}'
595 automatic-archiving: false
596 post-step-run-condition: UNSTABLE
599 - shell: "./scripts/list-project-dependencies.sh"
600 - autorelease-sys-stats
605 - email-notification:
606 email-prefix: '[autorelease] [ovsdb]'