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 - 'faas-verify-{stream}'
10 - 'faas-merge-{stream}'
11 - 'faas-periodic-{stream}'
12 - 'faas-distribution-{stream}'
13 - 'faas-integration-{stream}'
16 - 'faas-validate-autorelease-{stream}'
19 # stream: release stream (eg. stable-lithium or beryllium)
20 # branch: git branch (eg. stable/lithium or master)
28 disable_autorelease: False
30 branch: 'stable/beryllium'
35 disable_autorelease: False
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: 'faas-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: '{faas-settings}'
108 maven-version: '{mvn33}'
110 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dstream={stream}'
112 - '-Xmx1024m -XX:MaxPermSize=256m'
113 settings: '{faas-settings}'
114 global-settings: '{odl-global-settings}'
118 - email-notification:
119 email-prefix: '[faas]'
123 name: 'faas-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}'
166 - gerrit-trigger-patch-merged:
171 - wipe-org-opendaylight-repo
172 - jacoco-nojava-workaround
173 - provide-maven-settings:
174 global-settings-file: '{odl-global-settings}'
175 settings-file: '{faas-settings}'
178 maven-name: '{mvn33}'
180 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dmerge -Dstream={stream}'
181 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
182 settings: '{faas-settings}'
183 global-settings: '{odl-global-settings}'
184 post-step-run-condition: UNSTABLE
188 condition-kind: file-exists
189 condition-filename: deploy-site.xml
190 condition-basedir: workspace
192 # The strategy here is intentional to run Maven site:deploy twice
193 # once using regular pom.xml to produce a staged-site which is
194 # then used by deploy-site.xml to push to Nexus. This is a
195 # workaround to Maven Site's default linking code which creates
196 # incorrect URLs for sites due to auto-detection assuming your
197 # project is configured in a certain way which ODL is not.
200 maven-version: '{mvn33}'
202 goals: 'site:deploy -Dstream={stream}'
205 settings: '{faas-settings}'
206 global-settings: '{odl-global-settings}'
208 maven-version: '{mvn33}'
210 goals: 'site:deploy -Dstream={stream}'
213 settings: '{faas-settings}'
214 global-settings: '{odl-global-settings}'
221 artifacts: '**/target/surefire-reports/*-output.txt, '
222 - email-notification:
223 email-prefix: '[faas]'
227 deploy-unstable: false
231 name: 'faas-periodic-{stream}'
233 # Job template for periodic builders
235 # The purpose of this job template is to setup a periodic
238 # Required Variables:
239 # stream: release stream (eg. stable-lithium or beryllium)
240 # branch: git branch (eg. stable/lithium or master)
247 daysToKeep: '{build-days-to-keep}'
248 numToKeep: '{build-num-to-keep}'
249 artifactDaysToKeep: '{build-artifact-days-to-keep}'
250 artifactNumToKeep: '{build-artifact-num-to-keep}'
258 credentials-id: '{ssh-credentials}'
264 - ssh-agent-credentials:
266 - '{ssh-credentials}'
272 - wipe-org-opendaylight-repo
273 - jacoco-nojava-workaround
274 - provide-maven-settings:
275 global-settings-file: '{odl-global-settings}'
276 settings-file: '{faas-settings}'
279 maven-name: '{mvn33}'
281 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins'
282 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
283 settings: '{faas-settings}'
284 global-settings: '{odl-global-settings}'
290 - email-notification:
291 email-prefix: '[faas]'
295 name: 'faas-distribution-{stream}'
297 # Required variables:
298 # stream: release stream (eg. stable-lithium or beryllium)
299 # branch: git branch (eg. stable/lithium or master)
306 daysToKeep: '{build-days-to-keep}'
307 numToKeep: '{build-num-to-keep}'
308 artifactDaysToKeep: '{build-artifact-days-to-keep}'
309 artifactNumToKeep: '{build-artifact-num-to-keep}'
313 project: 'integration/distribution'
317 credentials-id: '{ssh-credentials}'
323 - ssh-agent-credentials:
325 - '{ssh-credentials}'
329 jobs: '{project}-merge-{stream}'
333 - wipe-org-opendaylight-repo
334 - provide-maven-settings:
335 global-settings-file: '{odl-global-settings}'
336 settings-file: '{faas-settings}'
339 maven-name: '{mvn33}'
341 goals: 'clean install -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
342 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
343 settings: '{integration-settings}'
344 global-settings: '{odl-global-settings}'
347 - email-notification:
348 email-prefix: '[{project}]'
352 deploy-unstable: false
355 name: 'faas-integration-{stream}'
356 # Temporarily disable this job until Rackspace networking issues are
361 # Job template for ODL integration verify jobs
363 # This is similar to a normal verify job, but it runs
364 # when a project that's a dependency of your project
365 # is successfully built.
367 # Required Variables:
368 # stream: release stream (eg. stable-lithium or beryllium)
369 # branch: git branch (eg. stable/lithium or master)
376 daysToKeep: '{build-days-to-keep}'
377 numToKeep: '{build-num-to-keep}'
378 artifactDaysToKeep: '{build-artifact-days-to-keep}'
379 artifactNumToKeep: '{build-artifact-num-to-keep}'
387 credentials-id: '{ssh-credentials}'
393 - ssh-agent-credentials:
395 - '{ssh-credentials}'
399 jobs: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream}'
403 - wipe-org-opendaylight-repo
404 - jacoco-nojava-workaround
405 - provide-maven-settings:
406 global-settings-file: '{odl-global-settings}'
407 settings-file: '{faas-settings}'
410 maven-name: '{mvn33}'
412 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins'
413 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
414 settings: '{faas-settings}'
415 global-settings: '{odl-global-settings}'
421 - email-notification:
422 email-prefix: '[faas] [controller] [yangtools] [odlparent]'
435 artifactDaysToKeep: '1'
436 artifactNumToKeep: '1'
444 credentials-id: '{ssh-credentials}'
450 - ssh-agent-credentials:
452 - '{ssh-credentials}'
456 - gerrit-trigger-patch-sonar:
460 - wipe-org-opendaylight-repo
461 - jacoco-nojava-workaround
462 - provide-maven-settings:
463 global-settings-file: '{odl-global-settings}'
464 settings-file: '{faas-settings}'
467 maven-name: '{mvn33}'
469 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Djenkins -Dsonar'
470 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
471 settings: '{faas-settings}'
472 global-settings: '{odl-global-settings}'
480 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
481 - email-notification:
482 email-prefix: '[faas]'
486 name: 'faas-clm-{stream}'
493 daysToKeep: '{build-days-to-keep}'
494 numToKeep: '{build-num-to-keep}'
495 artifactDaysToKeep: '{build-artifact-days-to-keep}'
496 artifactNumToKeep: '{build-artifact-num-to-keep}'
504 credentials-id: '{ssh-credentials}'
510 - ssh-agent-credentials:
512 - '{ssh-credentials}'
518 - wipe-org-opendaylight-repo
519 - provide-maven-settings:
520 global-settings-file: '{odl-global-settings}'
521 settings-file: '{faas-settings}'
524 maven-name: '{mvn33}'
526 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'
527 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
528 settings: '{faas-settings}'
529 global-settings: '{odl-global-settings}'
532 - shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
534 application-name: faas
537 - email-notification:
538 email-prefix: '[faas]'
541 name: 'faas-validate-autorelease-{stream}'
542 disabled: '{obj:disable_autorelease}'
550 daysToKeep: '{build-days-to-keep}'
551 numToKeep: '{build-num-to-keep}'
552 artifactDaysToKeep: '{build-artifact-days-to-keep}'
553 artifactNumToKeep: '{build-artifact-num-to-keep}'
560 - autorelease-release-tag:
561 release-tag: 'validate'
562 - autorelease-release-branch:
563 release-branch: '{branch}'
564 - autorelease-release-datestamp:
569 url: 'https://git.opendaylight.org/gerrit/releng/autorelease'
578 - autorelease-build-timeout
579 - ssh-agent-credentials:
581 - '{ssh-credentials}'
585 server-name: 'OpenDaylight'
587 - patchset-created-event:
588 exclude-drafts: 'false'
589 exclude-trivial-rebase: 'false'
590 exclude-no-code-change: 'false'
591 - draft-published-event
592 - comment-added-contains-event:
593 comment-contains-value: 'recheck'
594 - comment-added-contains-event:
595 comment-contains-value: 'reverify'
596 - comment-added-contains-event:
597 comment-contains-value: 'revalidate'
599 - project-compare-type: 'ANT'
600 project-pattern: 'faas'
602 - branch-compare-type: 'ANT'
603 branch-pattern: '**/{branch}'
606 - wipe-org-opendaylight-repo
607 - jacoco-nojava-workaround
608 - autorelease-checkout-gerrit-patch
609 - autorelease-generate-taglist
610 - autorelease-generate-release-patches
612 maven-version: '{mvn33}'
613 pom: validate-pom.xml
614 goals: 'clean install -T1.5C -Djenkins -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
617 settings: '{autorelease-settings}'
618 global-settings: '{odl-global-settings}'
621 maven-name: '{mvn33}'
623 goals: 'clean validate -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
624 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
625 settings: '{autorelease-settings}'
626 global-settings: '{odl-global-settings}'
627 automatic-archiving: false
628 post-step-run-condition: UNSTABLE
631 - shell: "./scripts/list-project-dependencies.sh"
632 - autorelease-sys-stats
637 - email-notification:
638 email-prefix: '[autorelease] [faas]'