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 - 'persistence-verify-{stream}'
10 - 'persistence-merge-{stream}'
11 - 'persistence-daily-{stream}'
12 - 'persistence-distribution-{stream}'
13 - 'persistence-integration-{stream}'
15 - 'persistence-clm-{stream}'
16 - 'persistence-validate-autorelease-{stream}'
19 # stream: release stream (eg. stable-lithium or beryllium)
20 # branch: git branch (eg. stable/lithium or master)
28 disable_autorelease: True
30 branch: 'stable/lithium'
35 disable_autorelease: True
37 project: 'persistence'
39 # For the Job templates below replace instances of:
40 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
41 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
42 # MAVEN_GOALS with your maven goals to build
43 # MAVEN_OPTS with your maven options to build
46 name: 'persistence-verify-{stream}'
48 # Job template for ODL verify jobs
50 # The purpose of this job template is to setup a ODL verify job
53 # stream: release stream (eg. stable-lithium or beryllium)
54 # branch: git branch (eg. stable/lithium or master)
71 daysToKeep: '{build-days-to-keep}'
72 numToKeep: '{build-num-to-keep}'
73 artifactDaysToKeep: '{build-artifact-days-to-keep}'
74 artifactNumToKeep: '{build-artifact-num-to-keep}'
81 - gerrit-refspec-parameter:
82 refspec: 'refs/heads/{branch}'
86 credentials-id: '{ssh-credentials}'
87 refspec: '$GERRIT_REFSPEC'
88 choosing-strategy: 'gerrit'
92 - ssh-agent-credentials:
97 - gerrit-trigger-patch-submitted:
102 - wipe-org-opendaylight-repo
103 - jacoco-nojava-workaround
104 - provide-maven-settings:
105 global-settings-file: '{odl-global-settings}'
106 settings-file: '{persistence-settings}'
108 maven-version: '{mvn33}'
110 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
112 - '-Xmx1024m -XX:MaxPermSize=256m'
113 settings: '{persistence-settings}'
114 global-settings: '{odl-global-settings}'
118 - email-notification:
119 email-prefix: '[persistence]'
123 name: 'persistence-merge-{stream}'
125 # Job template for ODL merge jobs
127 # The purpose of this job template is to setup a ODL merge job
128 # and deploy artifacts to Nexus.
130 # Required Variables:
131 # stream: release stream (eg. stable-lithium or beryllium)
132 # branch: git branch (eg. stable/lithium or master)
139 daysToKeep: '{build-days-to-keep}'
140 numToKeep: '{build-num-to-keep}'
141 artifactDaysToKeep: '{build-artifact-days-to-keep}'
142 artifactNumToKeep: '{build-artifact-num-to-keep}'
149 - gerrit-refspec-parameter:
150 refspec: 'refs/heads/{branch}'
153 - gerrit-trigger-scm:
154 credentials-id: '{ssh-credentials}'
156 choosing-strategy: 'default'
160 - ssh-agent-credentials:
162 - '{ssh-credentials}'
165 - gerrit-trigger-patch-merged:
170 - wipe-org-opendaylight-repo
171 - jacoco-nojava-workaround
172 - provide-maven-settings:
173 global-settings-file: '{odl-global-settings}'
174 settings-file: '{persistence-settings}'
177 maven-name: '{mvn33}'
179 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dstream={stream}'
180 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
181 settings: '{persistence-settings}'
182 global-settings: '{odl-global-settings}'
183 post-step-run-condition: UNSTABLE
187 condition-kind: file-exists
188 condition-filename: deploy-site.xml
189 condition-basedir: workspace
191 # The strategy here is intentional to run Maven site:deploy twice
192 # once using regular pom.xml to produce a staged-site which is
193 # then used by deploy-site.xml to push to Nexus. This is a
194 # workaround to Maven Site's default linking code which creates
195 # incorrect URLs for sites due to auto-detection assuming your
196 # project is configured in a certain way which ODL is not.
199 maven-version: '{mvn33}'
201 goals: 'site:deploy -Dstream={stream}'
204 settings: '{persistence-settings}'
205 global-settings: '{odl-global-settings}'
207 maven-version: '{mvn33}'
209 goals: 'site:deploy -Dstream={stream}'
212 settings: '{persistence-settings}'
213 global-settings: '{odl-global-settings}'
219 - email-notification:
220 email-prefix: '[persistence]'
224 deploy-unstable: false
228 name: 'persistence-daily-{stream}'
230 # Job template for daily builders
232 # The purpose of this job template is to setup a daily/nightly
233 # builder and pushes to Sonar analysis.
235 # Required Variables:
236 # stream: release stream (eg. stable-lithium or beryllium)
237 # branch: git branch (eg. stable/lithium or master)
244 daysToKeep: '{build-days-to-keep}'
245 numToKeep: '{build-num-to-keep}'
246 artifactDaysToKeep: '{build-artifact-days-to-keep}'
247 artifactNumToKeep: '{build-artifact-num-to-keep}'
255 credentials-id: '{ssh-credentials}'
261 - ssh-agent-credentials:
263 - '{ssh-credentials}'
269 - wipe-org-opendaylight-repo
270 - jacoco-nojava-workaround
271 - provide-maven-settings:
272 global-settings-file: '{odl-global-settings}'
273 settings-file: '{persistence-settings}'
276 maven-name: '{mvn33}'
278 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
279 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
280 settings: '{persistence-settings}'
281 global-settings: '{odl-global-settings}'
287 - email-notification:
288 email-prefix: '[persistence]'
292 name: 'persistence-distribution-{stream}'
294 # Required variables:
295 # stream: release stream (eg. stable-lithium or beryllium)
296 # branch: git branch (eg. stable/lithium or master)
303 daysToKeep: '{build-days-to-keep}'
304 numToKeep: '{build-num-to-keep}'
305 artifactDaysToKeep: '{build-artifact-days-to-keep}'
306 artifactNumToKeep: '{build-artifact-num-to-keep}'
310 project: 'integration/distribution'
314 credentials-id: '{ssh-credentials}'
320 - ssh-agent-credentials:
322 - '{ssh-credentials}'
326 jobs: '{project}-merge-{stream}'
330 - wipe-org-opendaylight-repo
331 - provide-maven-settings:
332 global-settings-file: '{odl-global-settings}'
333 settings-file: '{persistence-settings}'
336 maven-name: '{mvn33}'
338 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
339 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
340 settings: '{integration-settings}'
341 global-settings: '{odl-global-settings}'
344 - email-notification:
345 email-prefix: '[{project}]'
349 deploy-unstable: false
352 name: 'persistence-integration-{stream}'
355 # Job template for ODL integration verify jobs
357 # This is similar to a normal verify job, but it runs
358 # when a project that's a dependency of your project
359 # is successfully built.
361 # Required Variables:
362 # stream: release stream (eg. stable-lithium or beryllium)
363 # branch: git branch (eg. stable/lithium or master)
370 daysToKeep: '{build-days-to-keep}'
371 numToKeep: '{build-num-to-keep}'
372 artifactDaysToKeep: '{build-artifact-days-to-keep}'
373 artifactNumToKeep: '{build-artifact-num-to-keep}'
381 credentials-id: '{ssh-credentials}'
387 - ssh-agent-credentials:
389 - '{ssh-credentials}'
393 jobs: 'odlparent-merge-{stream}'
397 - wipe-org-opendaylight-repo
398 - jacoco-nojava-workaround
399 - provide-maven-settings:
400 global-settings-file: '{odl-global-settings}'
401 settings-file: '{persistence-settings}'
404 maven-name: '{mvn33}'
406 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
407 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
408 settings: '{persistence-settings}'
409 global-settings: '{odl-global-settings}'
415 - email-notification:
416 email-prefix: '[persistence] [odlparent]'
420 name: 'persistence-sonar'
429 artifactDaysToKeep: '1'
430 artifactNumToKeep: '1'
438 credentials-id: '{ssh-credentials}'
444 - ssh-agent-credentials:
446 - '{ssh-credentials}'
450 - gerrit-trigger-patch-sonar:
454 - wipe-org-opendaylight-repo
455 - jacoco-nojava-workaround
456 - provide-maven-settings:
457 global-settings-file: '{odl-global-settings}'
458 settings-file: '{persistence-settings}'
461 maven-name: '{mvn33}'
463 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
464 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
465 settings: '{persistence-settings}'
466 global-settings: '{odl-global-settings}'
474 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
475 - email-notification:
476 email-prefix: '[persistence]'
480 name: 'persistence-clm-{stream}'
487 daysToKeep: '{build-days-to-keep}'
488 numToKeep: '{build-num-to-keep}'
489 artifactDaysToKeep: '{build-artifact-days-to-keep}'
490 artifactNumToKeep: '{build-artifact-num-to-keep}'
498 credentials-id: '{ssh-credentials}'
504 - ssh-agent-credentials:
506 - '{ssh-credentials}'
512 - wipe-org-opendaylight-repo
513 - provide-maven-settings:
514 global-settings-file: '{odl-global-settings}'
515 settings-file: '{persistence-settings}'
518 maven-name: '{mvn33}'
520 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'
521 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
522 settings: '{persistence-settings}'
523 global-settings: '{odl-global-settings}'
527 application-name: persistence
530 - email-notification:
531 email-prefix: '[persistence]'
534 name: 'persistence-validate-autorelease-{stream}'
535 disabled: '{obj:disable_autorelease}'
543 daysToKeep: '{build-days-to-keep}'
544 numToKeep: '{build-num-to-keep}'
545 artifactDaysToKeep: '{build-artifact-days-to-keep}'
546 artifactNumToKeep: '{build-artifact-num-to-keep}'
553 - autorelease-release-tag:
554 release-tag: 'validate'
555 - autorelease-release-branch:
556 release-branch: '{branch}'
557 - autorelease-release-datestamp:
562 url: 'https://git.opendaylight.org/gerrit/releng/autorelease'
571 - autorelease-build-timeout
572 - ssh-agent-credentials:
574 - '{ssh-credentials}'
578 server-name: 'OpenDaylight'
580 - patchset-created-event:
581 exclude-drafts: 'false'
582 exclude-trivial-rebase: 'false'
583 exclude-no-code-change: 'false'
584 - draft-published-event
585 - comment-added-contains-event:
586 comment-contains-value: 'recheck'
587 - comment-added-contains-event:
588 comment-contains-value: 'reverify'
589 - comment-added-contains-event:
590 comment-contains-value: 'revalidate'
592 - project-compare-type: 'ANT'
593 project-pattern: 'persistence'
595 - branch-compare-type: 'ANT'
596 branch-pattern: '**/{branch}'
599 - wipe-org-opendaylight-repo
600 - jacoco-nojava-workaround
601 - autorelease-checkout-gerrit-patch
602 - autorelease-generate-taglist
603 - autorelease-generate-release-patches
605 maven-version: '{mvn33}'
606 pom: validate-pom.xml
607 goals: 'clean install -T1.5C -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
610 settings: '{autorelease-settings}'
611 global-settings: '{odl-global-settings}'
614 maven-name: '{mvn33}'
616 goals: 'clean validate -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
617 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
618 settings: '{autorelease-settings}'
619 global-settings: '{odl-global-settings}'
620 automatic-archiving: false
621 post-step-run-condition: UNSTABLE
624 - shell: "./scripts/list-project-dependencies.sh"
625 - autorelease-sys-stats
630 - email-notification:
631 email-prefix: '[autorelease] [persistence]'