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)
26 disable_autorelease: False
28 branch: 'stable/beryllium'
33 disable_autorelease: False
35 branch: 'stable/lithium'
39 disable_autorelease: True
41 branch: 'stable/helium'
45 disable_autorelease: True
49 # For the Job templates below replace instances of:
50 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
51 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
52 # MAVEN_GOALS with your maven goals to build
53 # MAVEN_OPTS with your maven options to build
56 name: 'ovsdb-verify-{stream}'
58 # Job template for ODL verify jobs
60 # The purpose of this job template is to setup a ODL verify job
63 # stream: release stream (eg. stable-lithium or beryllium)
64 # branch: git branch (eg. stable/lithium or master)
81 daysToKeep: '{build-days-to-keep}'
82 numToKeep: '{build-num-to-keep}'
83 artifactDaysToKeep: '{build-artifact-days-to-keep}'
84 artifactNumToKeep: '{build-artifact-num-to-keep}'
91 - gerrit-refspec-parameter:
92 refspec: 'refs/heads/{branch}'
96 credentials-id: '{ssh-credentials}'
97 refspec: '$GERRIT_REFSPEC'
98 choosing-strategy: 'gerrit'
102 - ssh-agent-credentials:
104 - '{ssh-credentials}'
107 - gerrit-trigger-patch-submitted:
112 - wipe-org-opendaylight-repo
113 - jacoco-nojava-workaround
114 - provide-maven-settings:
115 global-settings-file: '{odl-global-settings}'
116 settings-file: '{ovsdb-settings}'
118 maven-version: '{mvn33}'
120 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dstream={stream}'
122 - '-Xmx1024m -XX:MaxPermSize=256m'
123 settings: '{ovsdb-settings}'
124 global-settings: '{odl-global-settings}'
128 - email-notification:
129 email-prefix: '[ovsdb]'
133 name: 'ovsdb-merge-{stream}'
135 # Job template for ODL merge jobs
137 # The purpose of this job template is to setup a ODL merge job
138 # and deploy artifacts to Nexus.
140 # Required Variables:
141 # stream: release stream (eg. stable-lithium or beryllium)
142 # branch: git branch (eg. stable/lithium or master)
149 daysToKeep: '{build-days-to-keep}'
150 numToKeep: '{build-num-to-keep}'
151 artifactDaysToKeep: '{build-artifact-days-to-keep}'
152 artifactNumToKeep: '{build-artifact-num-to-keep}'
159 - gerrit-refspec-parameter:
160 refspec: 'refs/heads/{branch}'
163 - gerrit-trigger-scm:
164 credentials-id: '{ssh-credentials}'
166 choosing-strategy: 'default'
170 - ssh-agent-credentials:
172 - '{ssh-credentials}'
176 - gerrit-trigger-patch-merged:
181 - wipe-org-opendaylight-repo
182 - jacoco-nojava-workaround
183 - provide-maven-settings:
184 global-settings-file: '{odl-global-settings}'
185 settings-file: '{ovsdb-settings}'
188 maven-name: '{mvn33}'
190 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dmerge -Dstream={stream}'
191 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
192 settings: '{ovsdb-settings}'
193 global-settings: '{odl-global-settings}'
194 post-step-run-condition: UNSTABLE
198 condition-kind: file-exists
199 condition-filename: deploy-site.xml
200 condition-basedir: workspace
202 # The strategy here is intentional to run Maven site:deploy twice
203 # once using regular pom.xml to produce a staged-site which is
204 # then used by deploy-site.xml to push to Nexus. This is a
205 # workaround to Maven Site's default linking code which creates
206 # incorrect URLs for sites due to auto-detection assuming your
207 # project is configured in a certain way which ODL is not.
210 maven-version: '{mvn33}'
212 goals: 'site:deploy -Dstream={stream}'
215 settings: '{ovsdb-settings}'
216 global-settings: '{odl-global-settings}'
218 maven-version: '{mvn33}'
220 goals: 'site:deploy -Dstream={stream}'
223 settings: '{ovsdb-settings}'
224 global-settings: '{odl-global-settings}'
231 artifacts: '**/target/surefire-reports/*-output.txt, '
232 - email-notification:
233 email-prefix: '[ovsdb]'
237 deploy-unstable: false
241 name: 'ovsdb-periodic-{stream}'
242 # Temporarily disable until Rackspace networking issues are resolved
245 # Job template for periodic builders
247 # The purpose of this job template is to setup a periodic
250 # Required Variables:
251 # stream: release stream (eg. stable-lithium or beryllium)
252 # branch: git branch (eg. stable/lithium or master)
259 daysToKeep: '{build-days-to-keep}'
260 numToKeep: '{build-num-to-keep}'
261 artifactDaysToKeep: '{build-artifact-days-to-keep}'
262 artifactNumToKeep: '{build-artifact-num-to-keep}'
270 credentials-id: '{ssh-credentials}'
276 - ssh-agent-credentials:
278 - '{ssh-credentials}'
284 - wipe-org-opendaylight-repo
285 - jacoco-nojava-workaround
286 - provide-maven-settings:
287 global-settings-file: '{odl-global-settings}'
288 settings-file: '{ovsdb-settings}'
291 maven-name: '{mvn33}'
293 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins'
294 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
295 settings: '{ovsdb-settings}'
296 global-settings: '{odl-global-settings}'
302 - email-notification:
303 email-prefix: '[ovsdb]'
307 name: 'ovsdb-distribution-{stream}'
309 # Required variables:
310 # stream: release stream (eg. stable-lithium or beryllium)
311 # branch: git branch (eg. stable/lithium or master)
318 daysToKeep: '{build-days-to-keep}'
319 numToKeep: '{build-num-to-keep}'
320 artifactDaysToKeep: '{build-artifact-days-to-keep}'
321 artifactNumToKeep: '{build-artifact-num-to-keep}'
325 project: 'integration/distribution'
329 credentials-id: '{ssh-credentials}'
335 - ssh-agent-credentials:
337 - '{ssh-credentials}'
341 jobs: '{project}-merge-{stream}'
345 - wipe-org-opendaylight-repo
346 - provide-maven-settings:
347 global-settings-file: '{odl-global-settings}'
348 settings-file: '{ovsdb-settings}'
351 maven-name: '{mvn33}'
353 goals: 'clean install -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
354 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
355 settings: '{integration-settings}'
356 global-settings: '{odl-global-settings}'
359 - email-notification:
360 email-prefix: '[{project}]'
364 deploy-unstable: false
367 name: 'ovsdb-integration-{stream}'
368 # Temporarily disable this job until Rackspace networking issues are
373 # Job template for ODL integration verify jobs
375 # This is similar to a normal verify job, but it runs
376 # when a project that's a dependency of your project
377 # is successfully built.
379 # Required Variables:
380 # stream: release stream (eg. stable-lithium or beryllium)
381 # branch: git branch (eg. stable/lithium or master)
388 daysToKeep: '{build-days-to-keep}'
389 numToKeep: '{build-num-to-keep}'
390 artifactDaysToKeep: '{build-artifact-days-to-keep}'
391 artifactNumToKeep: '{build-artifact-num-to-keep}'
399 credentials-id: '{ssh-credentials}'
405 - ssh-agent-credentials:
407 - '{ssh-credentials}'
411 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}'
415 - wipe-org-opendaylight-repo
416 - jacoco-nojava-workaround
417 - provide-maven-settings:
418 global-settings-file: '{odl-global-settings}'
419 settings-file: '{ovsdb-settings}'
422 maven-name: '{mvn33}'
424 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins'
425 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
426 settings: '{ovsdb-settings}'
427 global-settings: '{odl-global-settings}'
433 - email-notification:
434 email-prefix: '[ovsdb] [odlparent] [controller] [yangtools] [openflowplugin] [neutron]'
438 name: 'ovsdb-clm-{stream}'
439 # Temporarily disable until Rackspace networking issues are resolved
447 daysToKeep: '{build-days-to-keep}'
448 numToKeep: '{build-num-to-keep}'
449 artifactDaysToKeep: '{build-artifact-days-to-keep}'
450 artifactNumToKeep: '{build-artifact-num-to-keep}'
458 credentials-id: '{ssh-credentials}'
464 - ssh-agent-credentials:
466 - '{ssh-credentials}'
472 - wipe-org-opendaylight-repo
473 - provide-maven-settings:
474 global-settings-file: '{odl-global-settings}'
475 settings-file: '{ovsdb-settings}'
478 maven-name: '{mvn33}'
480 goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Djenkins -DskipTests=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
481 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
482 settings: '{ovsdb-settings}'
483 global-settings: '{odl-global-settings}'
486 - shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
488 application-name: ovsdb
491 - email-notification:
492 email-prefix: '[ovsdb]'
495 name: 'ovsdb-validate-autorelease-{stream}'
496 disabled: '{obj:disable_autorelease}'
504 daysToKeep: '{build-days-to-keep}'
505 numToKeep: '{build-num-to-keep}'
506 artifactDaysToKeep: '{build-artifact-days-to-keep}'
507 artifactNumToKeep: '{build-artifact-num-to-keep}'
514 - autorelease-release-tag:
515 release-tag: 'validate'
516 - autorelease-release-branch:
517 release-branch: '{branch}'
518 - autorelease-release-datestamp:
523 url: 'https://git.opendaylight.org/gerrit/releng/autorelease'
532 - autorelease-build-timeout
533 - ssh-agent-credentials:
535 - '{ssh-credentials}'
539 server-name: 'OpenDaylight'
541 - patchset-created-event:
542 exclude-drafts: 'false'
543 exclude-trivial-rebase: 'false'
544 exclude-no-code-change: 'false'
545 - draft-published-event
546 - comment-added-contains-event:
547 comment-contains-value: 'recheck'
548 - comment-added-contains-event:
549 comment-contains-value: 'reverify'
550 - comment-added-contains-event:
551 comment-contains-value: 'revalidate'
553 - project-compare-type: 'ANT'
554 project-pattern: 'ovsdb'
556 - branch-compare-type: 'ANT'
557 branch-pattern: '**/{branch}'
560 - wipe-org-opendaylight-repo
561 - jacoco-nojava-workaround
562 - autorelease-checkout-gerrit-patch
563 - autorelease-generate-taglist
564 - autorelease-generate-release-patches
566 maven-version: '{mvn33}'
567 pom: validate-pom.xml
568 goals: 'clean install -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
571 settings: '{autorelease-settings}'
572 global-settings: '{odl-global-settings}'
575 maven-name: '{mvn33}'
577 goals: 'clean validate -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
578 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
579 settings: '{autorelease-settings}'
580 global-settings: '{odl-global-settings}'
581 automatic-archiving: false
582 post-step-run-condition: UNSTABLE
585 - shell: "./scripts/list-project-dependencies.sh"
586 - autorelease-sys-stats
591 - email-notification:
592 email-prefix: '[autorelease] [ovsdb]'