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'
27 - clustering-netvirt-master:
28 branch: 'topic/master/net-virt-clustering'
33 - neutron-yang-migration:
34 branch: 'topic/master/neutron-yang-migration'
40 branch: 'topic/routermanager'
53 branch: 'stable/lithium'
59 branch: 'stable/helium'
67 # For the Job templates below replace instances of:
68 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
69 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
70 # MAVEN_GOALS with your maven goals to build
71 # MAVEN_OPTS with your maven options to build
74 name: 'ovsdb-verify-{stream}'
76 # Job template for ODL verify jobs
78 # The purpose of this job template is to setup a ODL verify job
81 # stream: release stream (eg. stable-lithium or beryllium)
82 # branch: git branch (eg. stable/lithium or master)
99 daysToKeep: '{build-days-to-keep}'
100 numToKeep: '{build-num-to-keep}'
101 artifactDaysToKeep: '{build-artifact-days-to-keep}'
102 artifactNumToKeep: '{build-artifact-num-to-keep}'
111 - gerrit-trigger-scm:
112 credentials-id: '{ssh-credentials}'
113 refspec: '$GERRIT_REFSPEC'
114 choosing-strategy: 'gerrit'
118 - ssh-agent-credentials:
120 - '{ssh-credentials}'
123 - gerrit-trigger-patch-submitted:
128 - wipe-org-opendaylight-repo
129 - jacoco-nojava-workaround
130 - provide-maven-settings:
131 global-settings-file: '{odl-global-settings}'
132 settings-file: '{ovsdb-settings}'
134 maven-version: '{mvn33}'
136 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
138 - '-Xmx1024m -XX:MaxPermSize=256m'
139 settings: '{ovsdb-settings}'
140 global-settings: '{odl-global-settings}'
144 - email-notification:
145 email-prefix: '[ovsdb]'
149 name: 'ovsdb-merge-{stream}'
151 # Job template for ODL merge jobs
153 # The purpose of this job template is to setup a ODL merge job
154 # and deploy artifacts to Nexus.
156 # Required Variables:
157 # stream: release stream (eg. stable-lithium or beryllium)
158 # branch: git branch (eg. stable/lithium or master)
165 daysToKeep: '{build-days-to-keep}'
166 numToKeep: '{build-num-to-keep}'
167 artifactDaysToKeep: '{build-artifact-days-to-keep}'
168 artifactNumToKeep: '{build-artifact-num-to-keep}'
175 - gerrit-trigger-scm:
176 credentials-id: '{ssh-credentials}'
178 choosing-strategy: 'default'
182 - ssh-agent-credentials:
184 - '{ssh-credentials}'
187 - gerrit-trigger-patch-merged:
192 - wipe-org-opendaylight-repo
193 - jacoco-nojava-workaround
194 - provide-maven-settings:
195 global-settings-file: '{odl-global-settings}'
196 settings-file: '{ovsdb-settings}'
199 maven-name: '{mvn33}'
201 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dstream={stream}'
202 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
203 settings: '{ovsdb-settings}'
204 global-settings: '{odl-global-settings}'
205 post-step-run-condition: UNSTABLE
209 condition-kind: file-exists
210 condition-filename: deploy-site.xml
211 condition-basedir: workspace
213 # The strategy here is intentional to run Maven site:deploy twice
214 # once using regular pom.xml to produce a staged-site which is
215 # then used by deploy-site.xml to push to Nexus. This is a
216 # workaround to Maven Site's default linking code which creates
217 # incorrect URLs for sites due to auto-detection assuming your
218 # project is configured in a certain way which ODL is not.
221 maven-version: '{mvn33}'
223 goals: 'site:deploy -Dstream={stream}'
226 settings: '{ovsdb-settings}'
227 global-settings: '{odl-global-settings}'
229 maven-version: '{mvn33}'
231 goals: 'site:deploy -Dstream={stream}'
234 settings: '{ovsdb-settings}'
235 global-settings: '{odl-global-settings}'
241 - email-notification:
242 email-prefix: '[ovsdb]'
246 deploy-unstable: false
250 name: 'ovsdb-daily-{stream}'
252 # Job template for daily builders
254 # The purpose of this job template is to setup a daily/nightly
255 # builder and pushes to Sonar analysis.
257 # Required Variables:
258 # stream: release stream (eg. stable-lithium or beryllium)
259 # branch: git branch (eg. stable/lithium or master)
266 daysToKeep: '{build-days-to-keep}'
267 numToKeep: '{build-num-to-keep}'
268 artifactDaysToKeep: '{build-artifact-days-to-keep}'
269 artifactNumToKeep: '{build-artifact-num-to-keep}'
277 credentials-id: '{ssh-credentials}'
283 - ssh-agent-credentials:
285 - '{ssh-credentials}'
291 - wipe-org-opendaylight-repo
292 - jacoco-nojava-workaround
293 - provide-maven-settings:
294 global-settings-file: '{odl-global-settings}'
295 settings-file: '{ovsdb-settings}'
298 maven-name: '{mvn33}'
300 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
301 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
302 settings: '{ovsdb-settings}'
303 global-settings: '{odl-global-settings}'
309 - email-notification:
310 email-prefix: '[ovsdb]'
314 name: 'ovsdb-distribution-{stream}'
316 # Required variables:
317 # stream: release stream (eg. stable-lithium or beryllium)
318 # branch: git branch (eg. stable/lithium or master)
325 daysToKeep: '{build-days-to-keep}'
326 numToKeep: '{build-num-to-keep}'
327 artifactDaysToKeep: '{build-artifact-days-to-keep}'
328 artifactNumToKeep: '{build-artifact-num-to-keep}'
332 project: 'integration/distribution'
336 credentials-id: '{ssh-credentials}'
342 - ssh-agent-credentials:
344 - '{ssh-credentials}'
348 jobs: '{project}-merge-{stream}'
352 - wipe-org-opendaylight-repo
353 - provide-maven-settings:
354 global-settings-file: '{odl-global-settings}'
355 settings-file: '{ovsdb-settings}'
358 maven-name: '{mvn33}'
360 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
361 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
362 settings: '{integration-settings}'
363 global-settings: '{odl-global-settings}'
366 - email-notification:
367 email-prefix: '[{project}]'
371 deploy-unstable: false
374 name: 'ovsdb-integration-{stream}'
377 # Job template for ODL integration verify jobs
379 # This is similar to a normal verify job, but it runs
380 # when a project that's a dependency of your project
381 # is successfully built.
383 # Required Variables:
384 # stream: release stream (eg. stable-lithium or beryllium)
385 # branch: git branch (eg. stable/lithium or master)
392 daysToKeep: '{build-days-to-keep}'
393 numToKeep: '{build-num-to-keep}'
394 artifactDaysToKeep: '{build-artifact-days-to-keep}'
395 artifactNumToKeep: '{build-artifact-num-to-keep}'
403 credentials-id: '{ssh-credentials}'
409 - ssh-agent-credentials:
411 - '{ssh-credentials}'
415 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}'
419 - wipe-org-opendaylight-repo
420 - jacoco-nojava-workaround
421 - provide-maven-settings:
422 global-settings-file: '{odl-global-settings}'
423 settings-file: '{ovsdb-settings}'
426 maven-name: '{mvn33}'
428 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
429 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
430 settings: '{ovsdb-settings}'
431 global-settings: '{odl-global-settings}'
437 - email-notification:
438 email-prefix: '[ovsdb] [odlparent] [controller] [yangtools] [openflowplugin] [neutron]'
442 name: 'ovsdb-clm-{stream}'
449 daysToKeep: '{build-days-to-keep}'
450 numToKeep: '{build-num-to-keep}'
451 artifactDaysToKeep: '{build-artifact-days-to-keep}'
452 artifactNumToKeep: '{build-artifact-num-to-keep}'
460 credentials-id: '{ssh-credentials}'
466 - ssh-agent-credentials:
468 - '{ssh-credentials}'
474 - wipe-org-opendaylight-repo
475 - provide-maven-settings:
476 global-settings-file: '{odl-global-settings}'
477 settings-file: '{ovsdb-settings}'
480 maven-name: '{mvn33}'
482 goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
483 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
484 settings: '{ovsdb-settings}'
485 global-settings: '{odl-global-settings}'
489 application-name: ovsdb
492 - email-notification:
493 email-prefix: '[ovsdb]'
496 name: 'ovsdb-validate-autorelease-{stream}'
497 disabled: '{autorelease}'
505 daysToKeep: '{build-days-to-keep}'
506 numToKeep: '{build-num-to-keep}'
507 artifactDaysToKeep: '{build-artifact-days-to-keep}'
508 artifactNumToKeep: '{build-artifact-num-to-keep}'
515 - autorelease-release-tag:
516 release-tag: 'validate'
517 - autorelease-release-branch:
518 release-branch: '{branch}'
519 - autorelease-release-datestamp:
524 url: 'https://git.opendaylight.org/gerrit/releng/autorelease'
533 - autorelease-build-timeout
534 - ssh-agent-credentials:
536 - '{ssh-credentials}'
539 - gerrit-trigger-patch-submitted:
544 - wipe-org-opendaylight-repo
545 - jacoco-nojava-workaround
546 - autorelease-checkout-gerrit-patch
547 - autorelease-generate-taglist
548 - autorelease-generate-release-patches
550 maven-version: '{mvn33}'
551 pom: validate-pom.xml
552 goals: 'clean install -T1.5C -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
555 settings: '{autorelease-settings}'
556 global-settings: '{odl-global-settings}'
559 maven-name: '{mvn33}'
561 goals: 'clean validate -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
562 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
563 settings: '{autorelease-settings}'
564 global-settings: '{odl-global-settings}'
565 automatic-archiving: false
566 post-step-run-condition: UNSTABLE
569 - shell: "./scripts/list-project-dependencies.sh"
570 - autorelease-sys-stats
575 - email-notification:
576 email-prefix: '[autorelease] [ovsdb]'