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-periodic-{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)
27 disable_autorelease: False
29 branch: 'stable/beryllium'
34 disable_autorelease: False
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: 'aaa-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: '{aaa-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: '{aaa-settings}'
125 global-settings: '{odl-global-settings}'
129 - email-notification:
130 email-prefix: '[aaa]'
134 name: 'aaa-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: '{aaa-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: '{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}'
232 artifacts: '**/target/surefire-reports/*-output.txt, '
233 - email-notification:
234 email-prefix: '[aaa]'
238 deploy-unstable: false
242 name: 'aaa-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: '{aaa-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: '{aaa-settings}'
295 global-settings: '{odl-global-settings}'
301 - email-notification:
302 email-prefix: '[aaa]'
306 name: 'aaa-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: '{aaa-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: 'aaa-integration-{stream}'
367 # Temporarily disable this job until Rackspace networking issues are
372 # Job template for ODL integration verify jobs
374 # This is similar to a normal verify job, but it runs
375 # when a project that's a dependency of your project
376 # is successfully built.
378 # Required Variables:
379 # stream: release stream (eg. stable-lithium or beryllium)
380 # branch: git branch (eg. stable/lithium or master)
387 daysToKeep: '{build-days-to-keep}'
388 numToKeep: '{build-num-to-keep}'
389 artifactDaysToKeep: '{build-artifact-days-to-keep}'
390 artifactNumToKeep: '{build-artifact-num-to-keep}'
398 credentials-id: '{ssh-credentials}'
404 - ssh-agent-credentials:
406 - '{ssh-credentials}'
410 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
414 - wipe-org-opendaylight-repo
415 - jacoco-nojava-workaround
416 - provide-maven-settings:
417 global-settings-file: '{odl-global-settings}'
418 settings-file: '{aaa-settings}'
421 maven-name: '{mvn33}'
423 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins'
424 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
425 settings: '{aaa-settings}'
426 global-settings: '{odl-global-settings}'
432 - email-notification:
433 email-prefix: '[aaa] [odlparent] [yangtools] [controller]'
446 artifactDaysToKeep: '1'
447 artifactNumToKeep: '1'
455 credentials-id: '{ssh-credentials}'
461 - ssh-agent-credentials:
463 - '{ssh-credentials}'
467 - gerrit-trigger-patch-sonar:
471 - wipe-org-opendaylight-repo
472 - jacoco-nojava-workaround
473 - provide-maven-settings:
474 global-settings-file: '{odl-global-settings}'
475 settings-file: '{aaa-settings}'
478 maven-name: '{mvn33}'
480 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dsonar'
481 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
482 settings: '{aaa-settings}'
483 global-settings: '{odl-global-settings}'
491 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
492 - email-notification:
493 email-prefix: '[aaa]'
497 name: 'aaa-clm-{stream}'
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}'
515 credentials-id: '{ssh-credentials}'
521 - ssh-agent-credentials:
523 - '{ssh-credentials}'
529 - wipe-org-opendaylight-repo
530 - provide-maven-settings:
531 global-settings-file: '{odl-global-settings}'
532 settings-file: '{aaa-settings}'
535 maven-name: '{mvn33}'
537 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'
538 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
539 settings: '{aaa-settings}'
540 global-settings: '{odl-global-settings}'
543 - shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
545 application-name: aaa
548 - email-notification:
549 email-prefix: '[aaa]'
552 name: 'aaa-validate-autorelease-{stream}'
553 disabled: '{obj:disable_autorelease}'
561 daysToKeep: '{build-days-to-keep}'
562 numToKeep: '{build-num-to-keep}'
563 artifactDaysToKeep: '{build-artifact-days-to-keep}'
564 artifactNumToKeep: '{build-artifact-num-to-keep}'
571 - autorelease-release-tag:
572 release-tag: 'validate'
573 - autorelease-release-branch:
574 release-branch: '{branch}'
575 - autorelease-release-datestamp:
580 url: 'https://git.opendaylight.org/gerrit/releng/autorelease'
589 - autorelease-build-timeout
590 - ssh-agent-credentials:
592 - '{ssh-credentials}'
596 server-name: 'OpenDaylight'
598 - patchset-created-event:
599 exclude-drafts: 'false'
600 exclude-trivial-rebase: 'false'
601 exclude-no-code-change: 'false'
602 - draft-published-event
603 - comment-added-contains-event:
604 comment-contains-value: 'recheck'
605 - comment-added-contains-event:
606 comment-contains-value: 'reverify'
607 - comment-added-contains-event:
608 comment-contains-value: 'revalidate'
610 - project-compare-type: 'ANT'
611 project-pattern: 'aaa'
613 - branch-compare-type: 'ANT'
614 branch-pattern: '**/{branch}'
617 - wipe-org-opendaylight-repo
618 - jacoco-nojava-workaround
619 - autorelease-checkout-gerrit-patch
620 - autorelease-generate-taglist
621 - autorelease-generate-release-patches
623 maven-version: '{mvn33}'
624 pom: validate-pom.xml
625 goals: 'clean install -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
628 settings: '{autorelease-settings}'
629 global-settings: '{odl-global-settings}'
632 maven-name: '{mvn33}'
634 goals: 'clean validate -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
635 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
636 settings: '{autorelease-settings}'
637 global-settings: '{odl-global-settings}'
638 automatic-archiving: false
639 post-step-run-condition: UNSTABLE
642 - shell: "./scripts/list-project-dependencies.sh"
643 - autorelease-sys-stats
648 - email-notification:
649 email-prefix: '[autorelease] [aaa]'