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
34 disable_autorelease: True
36 branch: 'stable/lithium'
40 disable_autorelease: True
42 branch: 'stable/helium'
46 disable_autorelease: True
50 # For the Job templates below replace instances of:
51 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
52 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
53 # MAVEN_GOALS with your maven goals to build
54 # MAVEN_OPTS with your maven options to build
57 name: 'ovsdb-verify-{stream}'
59 # Job template for ODL verify jobs
61 # The purpose of this job template is to setup a ODL verify job
64 # stream: release stream (eg. stable-lithium or beryllium)
65 # branch: git branch (eg. stable/lithium or master)
82 daysToKeep: '{build-days-to-keep}'
83 numToKeep: '{build-num-to-keep}'
84 artifactDaysToKeep: '{build-artifact-days-to-keep}'
85 artifactNumToKeep: '{build-artifact-num-to-keep}'
92 - gerrit-refspec-parameter:
93 refspec: 'refs/heads/{branch}'
97 credentials-id: '{ssh-credentials}'
98 refspec: '$GERRIT_REFSPEC'
99 choosing-strategy: 'gerrit'
103 - ssh-agent-credentials:
105 - '{ssh-credentials}'
108 - gerrit-trigger-patch-submitted:
113 - wipe-org-opendaylight-repo
114 - jacoco-nojava-workaround
115 - provide-maven-settings:
116 global-settings-file: '{odl-global-settings}'
117 settings-file: '{ovsdb-settings}'
119 maven-version: '{mvn33}'
121 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dstream={stream}'
123 - '-Xmx1024m -XX:MaxPermSize=256m'
124 settings: '{ovsdb-settings}'
125 global-settings: '{odl-global-settings}'
129 - email-notification:
130 email-prefix: '[ovsdb]'
134 name: 'ovsdb-merge-{stream}'
136 # Job template for ODL merge jobs
138 # The purpose of this job template is to setup a ODL merge job
139 # and deploy artifacts to Nexus.
141 # Required Variables:
142 # stream: release stream (eg. stable-lithium or beryllium)
143 # branch: git branch (eg. stable/lithium or master)
150 daysToKeep: '{build-days-to-keep}'
151 numToKeep: '{build-num-to-keep}'
152 artifactDaysToKeep: '{build-artifact-days-to-keep}'
153 artifactNumToKeep: '{build-artifact-num-to-keep}'
160 - gerrit-refspec-parameter:
161 refspec: 'refs/heads/{branch}'
164 - gerrit-trigger-scm:
165 credentials-id: '{ssh-credentials}'
167 choosing-strategy: 'default'
171 - ssh-agent-credentials:
173 - '{ssh-credentials}'
177 - gerrit-trigger-patch-merged:
182 - wipe-org-opendaylight-repo
183 - jacoco-nojava-workaround
184 - provide-maven-settings:
185 global-settings-file: '{odl-global-settings}'
186 settings-file: '{ovsdb-settings}'
189 maven-name: '{mvn33}'
191 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dmerge -Dstream={stream}'
192 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
193 settings: '{ovsdb-settings}'
194 global-settings: '{odl-global-settings}'
195 post-step-run-condition: UNSTABLE
199 condition-kind: file-exists
200 condition-filename: deploy-site.xml
201 condition-basedir: workspace
203 # The strategy here is intentional to run Maven site:deploy twice
204 # once using regular pom.xml to produce a staged-site which is
205 # then used by deploy-site.xml to push to Nexus. This is a
206 # workaround to Maven Site's default linking code which creates
207 # incorrect URLs for sites due to auto-detection assuming your
208 # project is configured in a certain way which ODL is not.
211 maven-version: '{mvn33}'
213 goals: 'site:deploy -Dstream={stream}'
216 settings: '{ovsdb-settings}'
217 global-settings: '{odl-global-settings}'
219 maven-version: '{mvn33}'
221 goals: 'site:deploy -Dstream={stream}'
224 settings: '{ovsdb-settings}'
225 global-settings: '{odl-global-settings}'
232 artifacts: '**/target/surefire-reports/*-output.txt, '
233 - email-notification:
234 email-prefix: '[ovsdb]'
238 deploy-unstable: false
242 name: 'ovsdb-periodic-{stream}'
244 # Job template for periodic builders
246 # The purpose of this job template is to setup a periodic
249 # Required Variables:
250 # stream: release stream (eg. stable-lithium or beryllium)
251 # branch: git branch (eg. stable/lithium or master)
258 daysToKeep: '{build-days-to-keep}'
259 numToKeep: '{build-num-to-keep}'
260 artifactDaysToKeep: '{build-artifact-days-to-keep}'
261 artifactNumToKeep: '{build-artifact-num-to-keep}'
269 credentials-id: '{ssh-credentials}'
275 - ssh-agent-credentials:
277 - '{ssh-credentials}'
283 - wipe-org-opendaylight-repo
284 - jacoco-nojava-workaround
285 - provide-maven-settings:
286 global-settings-file: '{odl-global-settings}'
287 settings-file: '{ovsdb-settings}'
290 maven-name: '{mvn33}'
292 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins'
293 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
294 settings: '{ovsdb-settings}'
295 global-settings: '{odl-global-settings}'
301 - email-notification:
302 email-prefix: '[ovsdb]'
306 name: 'ovsdb-distribution-{stream}'
308 # Required variables:
309 # stream: release stream (eg. stable-lithium or beryllium)
310 # branch: git branch (eg. stable/lithium or master)
317 daysToKeep: '{build-days-to-keep}'
318 numToKeep: '{build-num-to-keep}'
319 artifactDaysToKeep: '{build-artifact-days-to-keep}'
320 artifactNumToKeep: '{build-artifact-num-to-keep}'
324 project: 'integration/distribution'
328 credentials-id: '{ssh-credentials}'
334 - ssh-agent-credentials:
336 - '{ssh-credentials}'
340 jobs: '{project}-merge-{stream}'
344 - wipe-org-opendaylight-repo
345 - provide-maven-settings:
346 global-settings-file: '{odl-global-settings}'
347 settings-file: '{ovsdb-settings}'
350 maven-name: '{mvn33}'
352 goals: 'clean install -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
353 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
354 settings: '{integration-settings}'
355 global-settings: '{odl-global-settings}'
358 - email-notification:
359 email-prefix: '[{project}]'
363 deploy-unstable: false
366 name: 'ovsdb-integration-{stream}'
369 # Job template for ODL integration verify jobs
371 # This is similar to a normal verify job, but it runs
372 # when a project that's a dependency of your project
373 # is successfully built.
375 # Required Variables:
376 # stream: release stream (eg. stable-lithium or beryllium)
377 # branch: git branch (eg. stable/lithium or master)
384 daysToKeep: '{build-days-to-keep}'
385 numToKeep: '{build-num-to-keep}'
386 artifactDaysToKeep: '{build-artifact-days-to-keep}'
387 artifactNumToKeep: '{build-artifact-num-to-keep}'
395 credentials-id: '{ssh-credentials}'
401 - ssh-agent-credentials:
403 - '{ssh-credentials}'
407 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}'
411 - wipe-org-opendaylight-repo
412 - jacoco-nojava-workaround
413 - provide-maven-settings:
414 global-settings-file: '{odl-global-settings}'
415 settings-file: '{ovsdb-settings}'
418 maven-name: '{mvn33}'
420 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins'
421 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
422 settings: '{ovsdb-settings}'
423 global-settings: '{odl-global-settings}'
429 - email-notification:
430 email-prefix: '[ovsdb] [odlparent] [controller] [yangtools] [openflowplugin] [neutron]'
434 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:
517 url: 'https://git.opendaylight.org/gerrit/releng/autorelease'
526 - autorelease-build-timeout
527 - ssh-agent-credentials:
529 - '{ssh-credentials}'
533 server-name: 'OpenDaylight'
535 - patchset-created-event:
536 exclude-drafts: 'false'
537 exclude-trivial-rebase: 'false'
538 exclude-no-code-change: 'false'
539 - draft-published-event
540 - comment-added-contains-event:
541 comment-contains-value: 'recheck'
542 - comment-added-contains-event:
543 comment-contains-value: 'reverify'
544 - comment-added-contains-event:
545 comment-contains-value: 'revalidate'
547 - project-compare-type: 'ANT'
548 project-pattern: 'ovsdb'
550 - branch-compare-type: 'ANT'
551 branch-pattern: '**/{branch}'
554 - wipe-org-opendaylight-repo
555 - jacoco-nojava-workaround
556 - autorelease-checkout-gerrit-patch
557 - autorelease-generate-taglist
558 - autorelease-generate-release-patches
560 maven-version: '{mvn33}'
561 pom: validate-pom.xml
562 goals: 'clean install -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
565 settings: '{autorelease-settings}'
566 global-settings: '{odl-global-settings}'
569 maven-name: '{mvn33}'
571 goals: 'clean validate -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
572 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
573 settings: '{autorelease-settings}'
574 global-settings: '{odl-global-settings}'
575 automatic-archiving: false
576 post-step-run-condition: UNSTABLE
579 - shell: "./scripts/list-project-dependencies.sh"
580 - autorelease-sys-stats
585 - email-notification:
586 email-prefix: '[autorelease] [ovsdb]'