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
27 disable_distribution_check: False
29 branch: 'stable/beryllium'
34 disable_autorelease: False
35 disable_distribution_check: False
37 branch: 'stable/lithium'
41 disable_autorelease: True
42 disable_distribution_check: True
46 # For the Job templates below replace instances of:
47 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
48 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
49 # MAVEN_GOALS with your maven goals to build
50 # MAVEN_OPTS with your maven options to build
53 name: 'ovsdb-verify-{stream}'
55 # Job template for ODL verify jobs
57 # The purpose of this job template is to setup a ODL verify job
60 # stream: release stream (eg. stable-lithium or beryllium)
61 # branch: git branch (eg. stable/lithium or master)
78 daysToKeep: '{build-days-to-keep}'
79 numToKeep: '{build-num-to-keep}'
80 artifactDaysToKeep: '{build-artifact-days-to-keep}'
81 artifactNumToKeep: '{build-artifact-num-to-keep}'
88 - gerrit-refspec-parameter:
89 refspec: 'refs/heads/{branch}'
93 credentials-id: '{ssh-credentials}'
94 refspec: '$GERRIT_REFSPEC'
95 choosing-strategy: 'gerrit'
99 - ssh-agent-credentials:
101 - '{ssh-credentials}'
104 - gerrit-trigger-patch-submitted:
109 - wipe-org-opendaylight-repo
110 - jacoco-nojava-workaround
111 - provide-maven-settings:
112 global-settings-file: '{odl-global-settings}'
113 settings-file: '{ovsdb-settings}'
115 maven-version: '{mvn33}'
117 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dstream={stream}'
119 - '-Xmx1024m -XX:MaxPermSize=256m'
120 settings: '{ovsdb-settings}'
121 global-settings: '{odl-global-settings}'
125 artifacts: '**/target/surefire-reports/*-output.txt, '
127 - email-notification:
128 email-prefix: '[ovsdb]'
132 name: 'ovsdb-merge-{stream}'
134 # Job template for ODL merge jobs
136 # The purpose of this job template is to setup a ODL merge job
137 # and deploy artifacts to Nexus.
139 # Required Variables:
140 # stream: release stream (eg. stable-lithium or beryllium)
141 # branch: git branch (eg. stable/lithium or master)
150 artifactDaysToKeep: '{build-artifact-days-to-keep}'
151 artifactNumToKeep: '{build-artifact-num-to-keep}'
158 - gerrit-refspec-parameter:
159 refspec: 'refs/heads/{branch}'
162 - gerrit-trigger-scm:
163 credentials-id: '{ssh-credentials}'
165 choosing-strategy: 'default'
169 - ssh-agent-credentials:
171 - '{ssh-credentials}'
175 - gerrit-trigger-patch-merged:
180 - wipe-org-opendaylight-repo
181 - jacoco-nojava-workaround
182 - provide-maven-settings:
183 global-settings-file: '{odl-global-settings}'
184 settings-file: '{ovsdb-settings}'
187 maven-name: '{mvn33}'
189 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dmerge -Dstream={stream}'
190 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
191 settings: '{ovsdb-settings}'
192 global-settings: '{odl-global-settings}'
193 post-step-run-condition: UNSTABLE
197 condition-kind: file-exists
198 condition-filename: deploy-site.xml
199 condition-basedir: workspace
201 # The strategy here is intentional to run Maven site:deploy twice
202 # once using regular pom.xml to produce a staged-site which is
203 # then used by deploy-site.xml to push to Nexus. This is a
204 # workaround to Maven Site's default linking code which creates
205 # incorrect URLs for sites due to auto-detection assuming your
206 # project is configured in a certain way which ODL is not.
209 maven-version: '{mvn33}'
211 goals: 'site:deploy -Dstream={stream}'
214 settings: '{ovsdb-settings}'
215 global-settings: '{odl-global-settings}'
217 maven-version: '{mvn33}'
219 goals: 'site:deploy -Dstream={stream}'
222 settings: '{ovsdb-settings}'
223 global-settings: '{odl-global-settings}'
230 artifacts: '**/target/surefire-reports/*-output.txt, '
231 - email-notification:
232 email-prefix: '[ovsdb]'
236 deploy-unstable: false
240 name: 'ovsdb-periodic-{stream}'
243 # Job template for periodic builders
245 # The purpose of this job template is to setup a periodic
248 # Required Variables:
249 # stream: release stream (eg. stable-lithium or beryllium)
250 # branch: git branch (eg. stable/lithium or master)
259 artifactDaysToKeep: '{build-artifact-days-to-keep}'
260 artifactNumToKeep: '{build-artifact-num-to-keep}'
268 credentials-id: '{ssh-credentials}'
274 - ssh-agent-credentials:
276 - '{ssh-credentials}'
282 - wipe-org-opendaylight-repo
283 - jacoco-nojava-workaround
284 - provide-maven-settings:
285 global-settings-file: '{odl-global-settings}'
286 settings-file: '{ovsdb-settings}'
289 maven-name: '{mvn33}'
291 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins'
292 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
293 settings: '{ovsdb-settings}'
294 global-settings: '{odl-global-settings}'
300 - email-notification:
301 email-prefix: '[ovsdb]'
305 name: 'ovsdb-distribution-{stream}'
307 # Required variables:
308 # stream: release stream (eg. stable-lithium or beryllium)
309 # branch: git branch (eg. stable/lithium or master)
316 daysToKeep: '{build-days-to-keep}'
317 numToKeep: '{build-num-to-keep}'
318 artifactDaysToKeep: '{build-artifact-days-to-keep}'
319 artifactNumToKeep: '{build-artifact-num-to-keep}'
323 project: 'integration/distribution'
327 credentials-id: '{ssh-credentials}'
333 - ssh-agent-credentials:
335 - '{ssh-credentials}'
339 jobs: '{project}-merge-{stream}'
343 - wipe-org-opendaylight-repo
344 - provide-maven-settings:
345 global-settings-file: '{odl-global-settings}'
346 settings-file: '{ovsdb-settings}'
349 maven-name: '{mvn33}'
351 goals: 'clean install -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
352 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
353 settings: '{integration-settings}'
354 global-settings: '{odl-global-settings}'
357 - email-notification:
358 email-prefix: '[{project}]'
362 deploy-unstable: false
365 name: 'ovsdb-integration-{stream}'
368 # Job template for ODL integration verify jobs
370 # This is similar to a normal verify job, but it runs
371 # when a project that's a dependency of your project
372 # is successfully built.
374 # Required Variables:
375 # stream: release stream (eg. stable-lithium or beryllium)
376 # branch: git branch (eg. stable/lithium or master)
383 daysToKeep: '{build-days-to-keep}'
384 numToKeep: '{build-num-to-keep}'
385 artifactDaysToKeep: '{build-artifact-days-to-keep}'
386 artifactNumToKeep: '{build-artifact-num-to-keep}'
394 credentials-id: '{ssh-credentials}'
400 - ssh-agent-credentials:
402 - '{ssh-credentials}'
406 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}'
410 - wipe-org-opendaylight-repo
411 - jacoco-nojava-workaround
412 - provide-maven-settings:
413 global-settings-file: '{odl-global-settings}'
414 settings-file: '{ovsdb-settings}'
417 maven-name: '{mvn33}'
419 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins'
420 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
421 settings: '{ovsdb-settings}'
422 global-settings: '{odl-global-settings}'
428 - email-notification:
429 email-prefix: '[ovsdb] [odlparent] [controller] [yangtools] [openflowplugin] [neutron]'
433 name: 'ovsdb-clm-{stream}'
441 daysToKeep: '{build-days-to-keep}'
442 numToKeep: '{build-num-to-keep}'
443 artifactDaysToKeep: '{build-artifact-days-to-keep}'
444 artifactNumToKeep: '{build-artifact-num-to-keep}'
452 credentials-id: '{ssh-credentials}'
458 - ssh-agent-credentials:
460 - '{ssh-credentials}'
466 - wipe-org-opendaylight-repo
467 - provide-maven-settings:
468 global-settings-file: '{odl-global-settings}'
469 settings-file: '{ovsdb-settings}'
472 maven-name: '{mvn33}'
474 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'
475 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
476 settings: '{ovsdb-settings}'
477 global-settings: '{odl-global-settings}'
480 - shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
482 application-name: ovsdb
485 - email-notification:
486 email-prefix: '[ovsdb]'
489 name: 'ovsdb-validate-autorelease-{stream}'
490 disabled: '{obj:disable_autorelease}'
498 daysToKeep: '{build-days-to-keep}'
499 numToKeep: '{build-num-to-keep}'
500 artifactDaysToKeep: '{build-artifact-days-to-keep}'
501 artifactNumToKeep: '{build-artifact-num-to-keep}'
508 - autorelease-release-tag:
509 release-tag: 'validate'
510 - autorelease-release-branch:
511 release-branch: '{branch}'
512 - autorelease-release-datestamp:
516 default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease'
517 description: "Autorelease clone URL"
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}'
563 - wipe-org-opendaylight-repo
564 - jacoco-nojava-workaround
565 - autorelease-checkout-gerrit-patch
566 - autorelease-generate-release-patches
568 maven-version: '{mvn33}'
569 pom: validate-pom.xml
570 goals: 'clean install -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
573 settings: '{autorelease-settings}'
574 global-settings: '{odl-global-settings}'
577 maven-name: '{mvn33}'
579 goals: 'clean validate -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
580 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
581 settings: '{autorelease-settings}'
582 global-settings: '{odl-global-settings}'
583 automatic-archiving: false
584 post-step-run-condition: UNSTABLE
587 - autorelease-sys-stats
590 - email-notification:
591 email-prefix: '[autorelease] [ovsdb]'