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 - 'aaa-verify-{stream}'
10 - 'aaa-merge-{stream}'
11 - 'aaa-daily-{stream}'
12 - 'aaa-distribution-{stream}'
13 - 'aaa-integration-{stream}'
16 - 'aaa-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
35 disable_autorelease: False
37 branch: 'stable/lithium'
41 disable_autorelease: True
43 branch: 'stable/helium'
47 disable_autorelease: True
51 # For the Job templates below replace instances of:
52 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
53 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
54 # MAVEN_GOALS with your maven goals to build
55 # MAVEN_OPTS with your maven options to build
58 name: 'aaa-verify-{stream}'
60 # Job template for ODL verify jobs
62 # The purpose of this job template is to setup a ODL verify job
65 # stream: release stream (eg. stable-lithium or beryllium)
66 # branch: git branch (eg. stable/lithium or master)
83 daysToKeep: '{build-days-to-keep}'
84 numToKeep: '{build-num-to-keep}'
85 artifactDaysToKeep: '{build-artifact-days-to-keep}'
86 artifactNumToKeep: '{build-artifact-num-to-keep}'
93 - gerrit-refspec-parameter:
94 refspec: 'refs/heads/{branch}'
98 credentials-id: '{ssh-credentials}'
99 refspec: '$GERRIT_REFSPEC'
100 choosing-strategy: 'gerrit'
104 - ssh-agent-credentials:
106 - '{ssh-credentials}'
109 - gerrit-trigger-patch-submitted:
114 - wipe-org-opendaylight-repo
115 - jacoco-nojava-workaround
116 - provide-maven-settings:
117 global-settings-file: '{odl-global-settings}'
118 settings-file: '{aaa-settings}'
120 maven-version: '{mvn33}'
122 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
124 - '-Xmx1024m -XX:MaxPermSize=256m'
125 settings: '{aaa-settings}'
126 global-settings: '{odl-global-settings}'
130 - email-notification:
131 email-prefix: '[aaa]'
135 name: 'aaa-merge-{stream}'
137 # Job template for ODL merge jobs
139 # The purpose of this job template is to setup a ODL merge job
140 # and deploy artifacts to Nexus.
142 # Required Variables:
143 # stream: release stream (eg. stable-lithium or beryllium)
144 # branch: git branch (eg. stable/lithium or master)
151 daysToKeep: '{build-days-to-keep}'
152 numToKeep: '{build-num-to-keep}'
153 artifactDaysToKeep: '{build-artifact-days-to-keep}'
154 artifactNumToKeep: '{build-artifact-num-to-keep}'
161 - gerrit-refspec-parameter:
162 refspec: 'refs/heads/{branch}'
165 - gerrit-trigger-scm:
166 credentials-id: '{ssh-credentials}'
168 choosing-strategy: 'default'
172 - ssh-agent-credentials:
174 - '{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: '{aaa-settings}'
189 maven-name: '{mvn33}'
191 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dstream={stream}'
192 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
193 settings: '{aaa-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: '{aaa-settings}'
217 global-settings: '{odl-global-settings}'
219 maven-version: '{mvn33}'
221 goals: 'site:deploy -Dstream={stream}'
224 settings: '{aaa-settings}'
225 global-settings: '{odl-global-settings}'
231 - email-notification:
232 email-prefix: '[aaa]'
236 deploy-unstable: false
240 name: 'aaa-daily-{stream}'
242 # Job template for daily builders
244 # The purpose of this job template is to setup a daily/nightly
245 # builder and pushes to Sonar analysis.
247 # Required Variables:
248 # stream: release stream (eg. stable-lithium or beryllium)
249 # branch: git branch (eg. stable/lithium or master)
256 daysToKeep: '{build-days-to-keep}'
257 numToKeep: '{build-num-to-keep}'
258 artifactDaysToKeep: '{build-artifact-days-to-keep}'
259 artifactNumToKeep: '{build-artifact-num-to-keep}'
267 credentials-id: '{ssh-credentials}'
273 - ssh-agent-credentials:
275 - '{ssh-credentials}'
281 - wipe-org-opendaylight-repo
282 - jacoco-nojava-workaround
283 - provide-maven-settings:
284 global-settings-file: '{odl-global-settings}'
285 settings-file: '{aaa-settings}'
288 maven-name: '{mvn33}'
290 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
291 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
292 settings: '{aaa-settings}'
293 global-settings: '{odl-global-settings}'
299 - email-notification:
300 email-prefix: '[aaa]'
304 name: 'aaa-distribution-{stream}'
306 # Required variables:
307 # stream: release stream (eg. stable-lithium or beryllium)
308 # branch: git branch (eg. stable/lithium or master)
315 daysToKeep: '{build-days-to-keep}'
316 numToKeep: '{build-num-to-keep}'
317 artifactDaysToKeep: '{build-artifact-days-to-keep}'
318 artifactNumToKeep: '{build-artifact-num-to-keep}'
322 project: 'integration/distribution'
326 credentials-id: '{ssh-credentials}'
332 - ssh-agent-credentials:
334 - '{ssh-credentials}'
338 jobs: '{project}-merge-{stream}'
342 - wipe-org-opendaylight-repo
343 - provide-maven-settings:
344 global-settings-file: '{odl-global-settings}'
345 settings-file: '{aaa-settings}'
348 maven-name: '{mvn33}'
350 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
351 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
352 settings: '{integration-settings}'
353 global-settings: '{odl-global-settings}'
356 - email-notification:
357 email-prefix: '[{project}]'
361 deploy-unstable: false
364 name: 'aaa-integration-{stream}'
367 # Job template for ODL integration verify jobs
369 # This is similar to a normal verify job, but it runs
370 # when a project that's a dependency of your project
371 # is successfully built.
373 # Required Variables:
374 # stream: release stream (eg. stable-lithium or beryllium)
375 # branch: git branch (eg. stable/lithium or master)
382 daysToKeep: '{build-days-to-keep}'
383 numToKeep: '{build-num-to-keep}'
384 artifactDaysToKeep: '{build-artifact-days-to-keep}'
385 artifactNumToKeep: '{build-artifact-num-to-keep}'
393 credentials-id: '{ssh-credentials}'
399 - ssh-agent-credentials:
401 - '{ssh-credentials}'
405 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
409 - wipe-org-opendaylight-repo
410 - jacoco-nojava-workaround
411 - provide-maven-settings:
412 global-settings-file: '{odl-global-settings}'
413 settings-file: '{aaa-settings}'
416 maven-name: '{mvn33}'
418 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
419 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
420 settings: '{aaa-settings}'
421 global-settings: '{odl-global-settings}'
427 - email-notification:
428 email-prefix: '[aaa] [odlparent] [yangtools] [controller]'
441 artifactDaysToKeep: '1'
442 artifactNumToKeep: '1'
450 credentials-id: '{ssh-credentials}'
456 - ssh-agent-credentials:
458 - '{ssh-credentials}'
462 - gerrit-trigger-patch-sonar:
466 - wipe-org-opendaylight-repo
467 - jacoco-nojava-workaround
468 - provide-maven-settings:
469 global-settings-file: '{odl-global-settings}'
470 settings-file: '{aaa-settings}'
473 maven-name: '{mvn33}'
475 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
476 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
477 settings: '{aaa-settings}'
478 global-settings: '{odl-global-settings}'
486 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
487 - email-notification:
488 email-prefix: '[aaa]'
492 name: 'aaa-clm-{stream}'
499 daysToKeep: '{build-days-to-keep}'
500 numToKeep: '{build-num-to-keep}'
501 artifactDaysToKeep: '{build-artifact-days-to-keep}'
502 artifactNumToKeep: '{build-artifact-num-to-keep}'
510 credentials-id: '{ssh-credentials}'
516 - ssh-agent-credentials:
518 - '{ssh-credentials}'
524 - wipe-org-opendaylight-repo
525 - provide-maven-settings:
526 global-settings-file: '{odl-global-settings}'
527 settings-file: '{aaa-settings}'
530 maven-name: '{mvn33}'
532 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'
533 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
534 settings: '{aaa-settings}'
535 global-settings: '{odl-global-settings}'
539 application-name: aaa
542 - email-notification:
543 email-prefix: '[aaa]'
546 name: 'aaa-validate-autorelease-{stream}'
547 disabled: '{obj:disable_autorelease}'
555 daysToKeep: '{build-days-to-keep}'
556 numToKeep: '{build-num-to-keep}'
557 artifactDaysToKeep: '{build-artifact-days-to-keep}'
558 artifactNumToKeep: '{build-artifact-num-to-keep}'
565 - autorelease-release-tag:
566 release-tag: 'validate'
567 - autorelease-release-branch:
568 release-branch: '{branch}'
569 - autorelease-release-datestamp:
574 url: 'https://git.opendaylight.org/gerrit/releng/autorelease'
583 - autorelease-build-timeout
584 - ssh-agent-credentials:
586 - '{ssh-credentials}'
590 server-name: 'OpenDaylight'
592 - patchset-created-event:
593 exclude-drafts: 'false'
594 exclude-trivial-rebase: 'false'
595 exclude-no-code-change: 'false'
596 - draft-published-event
597 - comment-added-contains-event:
598 comment-contains-value: 'recheck'
599 - comment-added-contains-event:
600 comment-contains-value: 'reverify'
601 - comment-added-contains-event:
602 comment-contains-value: 'revalidate'
604 - project-compare-type: 'ANT'
605 project-pattern: 'aaa'
607 - branch-compare-type: 'ANT'
608 branch-pattern: '**/{branch}'
611 - wipe-org-opendaylight-repo
612 - jacoco-nojava-workaround
613 - autorelease-checkout-gerrit-patch
614 - autorelease-generate-taglist
615 - autorelease-generate-release-patches
617 maven-version: '{mvn33}'
618 pom: validate-pom.xml
619 goals: 'clean install -T1.5C -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
622 settings: '{autorelease-settings}'
623 global-settings: '{odl-global-settings}'
626 maven-name: '{mvn33}'
628 goals: 'clean validate -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
629 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
630 settings: '{autorelease-settings}'
631 global-settings: '{odl-global-settings}'
632 automatic-archiving: false
633 post-step-run-condition: UNSTABLE
636 - shell: "./scripts/list-project-dependencies.sh"
637 - autorelease-sys-stats
642 - email-notification:
643 email-prefix: '[autorelease] [aaa]'