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 - 'neutron-verify-{stream}'
10 - 'neutron-merge-{stream}'
11 - 'neutron-daily-{stream}'
12 - 'neutron-distribution-{stream}'
13 - 'neutron-integration-{stream}'
15 - 'neutron-clm-{stream}'
16 - 'neutron-validate-autorelease-{stream}'
19 # stream: release stream (eg. stable-lithium or beryllium)
20 # branch: git branch (eg. stable/lithium or master)
27 disable_autorelease: True
33 disable_autorelease: False
35 branch: 'stable/lithium'
40 disable_autorelease: True
44 # For the Job templates below replace instances of:
45 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
46 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
47 # MAVEN_GOALS with your maven goals to build
48 # MAVEN_OPTS with your maven options to build
51 name: 'neutron-verify-{stream}'
53 # Job template for ODL verify jobs
55 # The purpose of this job template is to setup a ODL verify job
58 # stream: release stream (eg. stable-lithium or beryllium)
59 # branch: git branch (eg. stable/lithium or master)
76 daysToKeep: '{build-days-to-keep}'
77 numToKeep: '{build-num-to-keep}'
78 artifactDaysToKeep: '{build-artifact-days-to-keep}'
79 artifactNumToKeep: '{build-artifact-num-to-keep}'
86 - gerrit-refspec-parameter:
87 refspec: 'refs/heads/{branch}'
91 credentials-id: '{ssh-credentials}'
92 refspec: '$GERRIT_REFSPEC'
93 choosing-strategy: 'gerrit'
97 - ssh-agent-credentials:
102 - gerrit-trigger-patch-submitted:
107 - wipe-org-opendaylight-repo
108 - jacoco-nojava-workaround
109 - provide-maven-settings:
110 global-settings-file: '{odl-global-settings}'
111 settings-file: '{neutron-settings}'
113 maven-version: '{mvn33}'
115 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
117 - '-Xmx1024m -XX:MaxPermSize=256m'
118 settings: '{neutron-settings}'
119 global-settings: '{odl-global-settings}'
123 - email-notification:
124 email-prefix: '[neutron]'
128 name: 'neutron-merge-{stream}'
130 # Job template for ODL merge jobs
132 # The purpose of this job template is to setup a ODL merge job
133 # and deploy artifacts to Nexus.
135 # Required Variables:
136 # stream: release stream (eg. stable-lithium or beryllium)
137 # branch: git branch (eg. stable/lithium or master)
144 daysToKeep: '{build-days-to-keep}'
145 numToKeep: '{build-num-to-keep}'
146 artifactDaysToKeep: '{build-artifact-days-to-keep}'
147 artifactNumToKeep: '{build-artifact-num-to-keep}'
154 - gerrit-refspec-parameter:
155 refspec: 'refs/heads/{branch}'
158 - gerrit-trigger-scm:
159 credentials-id: '{ssh-credentials}'
161 choosing-strategy: 'default'
165 - ssh-agent-credentials:
167 - '{ssh-credentials}'
170 - gerrit-trigger-patch-merged:
175 - wipe-org-opendaylight-repo
176 - jacoco-nojava-workaround
177 - provide-maven-settings:
178 global-settings-file: '{odl-global-settings}'
179 settings-file: '{neutron-settings}'
182 maven-name: '{mvn33}'
184 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dstream={stream}'
185 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
186 settings: '{neutron-settings}'
187 global-settings: '{odl-global-settings}'
188 post-step-run-condition: UNSTABLE
192 condition-kind: file-exists
193 condition-filename: deploy-site.xml
194 condition-basedir: workspace
196 # The strategy here is intentional to run Maven site:deploy twice
197 # once using regular pom.xml to produce a staged-site which is
198 # then used by deploy-site.xml to push to Nexus. This is a
199 # workaround to Maven Site's default linking code which creates
200 # incorrect URLs for sites due to auto-detection assuming your
201 # project is configured in a certain way which ODL is not.
204 maven-version: '{mvn33}'
206 goals: 'site:deploy -Dstream={stream}'
209 settings: '{neutron-settings}'
210 global-settings: '{odl-global-settings}'
212 maven-version: '{mvn33}'
214 goals: 'site:deploy -Dstream={stream}'
217 settings: '{neutron-settings}'
218 global-settings: '{odl-global-settings}'
224 - email-notification:
225 email-prefix: '[neutron]'
229 deploy-unstable: false
233 name: 'neutron-daily-{stream}'
235 # Job template for daily builders
237 # The purpose of this job template is to setup a daily/nightly
238 # builder and pushes to Sonar analysis.
240 # Required Variables:
241 # stream: release stream (eg. stable-lithium or beryllium)
242 # branch: git branch (eg. stable/lithium or master)
249 daysToKeep: '{build-days-to-keep}'
250 numToKeep: '{build-num-to-keep}'
251 artifactDaysToKeep: '{build-artifact-days-to-keep}'
252 artifactNumToKeep: '{build-artifact-num-to-keep}'
260 credentials-id: '{ssh-credentials}'
266 - ssh-agent-credentials:
268 - '{ssh-credentials}'
274 - wipe-org-opendaylight-repo
275 - jacoco-nojava-workaround
276 - provide-maven-settings:
277 global-settings-file: '{odl-global-settings}'
278 settings-file: '{neutron-settings}'
281 maven-name: '{mvn33}'
283 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
284 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
285 settings: '{neutron-settings}'
286 global-settings: '{odl-global-settings}'
292 - email-notification:
293 email-prefix: '[neutron]'
297 name: 'neutron-distribution-{stream}'
299 # Required variables:
300 # stream: release stream (eg. stable-lithium or beryllium)
301 # branch: git branch (eg. stable/lithium or master)
308 daysToKeep: '{build-days-to-keep}'
309 numToKeep: '{build-num-to-keep}'
310 artifactDaysToKeep: '{build-artifact-days-to-keep}'
311 artifactNumToKeep: '{build-artifact-num-to-keep}'
315 project: 'integration/distribution'
319 credentials-id: '{ssh-credentials}'
325 - ssh-agent-credentials:
327 - '{ssh-credentials}'
331 jobs: '{project}-merge-{stream}'
335 - wipe-org-opendaylight-repo
336 - provide-maven-settings:
337 global-settings-file: '{odl-global-settings}'
338 settings-file: '{neutron-settings}'
341 maven-name: '{mvn33}'
343 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
344 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
345 settings: '{integration-settings}'
346 global-settings: '{odl-global-settings}'
349 - email-notification:
350 email-prefix: '[{project}]'
354 deploy-unstable: false
357 name: 'neutron-integration-{stream}'
360 # Job template for ODL integration verify jobs
362 # This is similar to a normal verify job, but it runs
363 # when a project that's a dependency of your project
364 # is successfully built.
366 # Required Variables:
367 # stream: release stream (eg. stable-lithium or beryllium)
368 # branch: git branch (eg. stable/lithium or master)
375 daysToKeep: '{build-days-to-keep}'
376 numToKeep: '{build-num-to-keep}'
377 artifactDaysToKeep: '{build-artifact-days-to-keep}'
378 artifactNumToKeep: '{build-artifact-num-to-keep}'
386 credentials-id: '{ssh-credentials}'
392 - ssh-agent-credentials:
394 - '{ssh-credentials}'
398 jobs: 'odlparent-merge-{stream},aaa-merge-{stream}'
402 - wipe-org-opendaylight-repo
403 - jacoco-nojava-workaround
404 - provide-maven-settings:
405 global-settings-file: '{odl-global-settings}'
406 settings-file: '{neutron-settings}'
409 maven-name: '{mvn33}'
411 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
412 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
413 settings: '{neutron-settings}'
414 global-settings: '{odl-global-settings}'
420 - email-notification:
421 email-prefix: '[neutron] [odlparent] [aaa]'
425 name: 'neutron-sonar'
434 artifactDaysToKeep: '1'
435 artifactNumToKeep: '1'
443 credentials-id: '{ssh-credentials}'
449 - ssh-agent-credentials:
451 - '{ssh-credentials}'
455 - gerrit-trigger-patch-sonar:
459 - wipe-org-opendaylight-repo
460 - jacoco-nojava-workaround
461 - provide-maven-settings:
462 global-settings-file: '{odl-global-settings}'
463 settings-file: '{neutron-settings}'
466 maven-name: '{mvn33}'
468 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
469 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
470 settings: '{neutron-settings}'
471 global-settings: '{odl-global-settings}'
479 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
480 - email-notification:
481 email-prefix: '[neutron]'
485 name: 'neutron-clm-{stream}'
492 daysToKeep: '{build-days-to-keep}'
493 numToKeep: '{build-num-to-keep}'
494 artifactDaysToKeep: '{build-artifact-days-to-keep}'
495 artifactNumToKeep: '{build-artifact-num-to-keep}'
503 credentials-id: '{ssh-credentials}'
509 - ssh-agent-credentials:
511 - '{ssh-credentials}'
517 - wipe-org-opendaylight-repo
518 - provide-maven-settings:
519 global-settings-file: '{odl-global-settings}'
520 settings-file: '{neutron-settings}'
523 maven-name: '{mvn33}'
525 goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
526 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
527 settings: '{neutron-settings}'
528 global-settings: '{odl-global-settings}'
532 application-name: neutron
535 - email-notification:
536 email-prefix: '[neutron]'
539 name: 'neutron-validate-autorelease-{stream}'
540 disabled: '{obj:disable_autorelease}'
548 daysToKeep: '{build-days-to-keep}'
549 numToKeep: '{build-num-to-keep}'
550 artifactDaysToKeep: '{build-artifact-days-to-keep}'
551 artifactNumToKeep: '{build-artifact-num-to-keep}'
558 - autorelease-release-tag:
559 release-tag: 'validate'
560 - autorelease-release-branch:
561 release-branch: '{branch}'
562 - autorelease-release-datestamp:
567 url: 'https://git.opendaylight.org/gerrit/releng/autorelease'
576 - autorelease-build-timeout
577 - ssh-agent-credentials:
579 - '{ssh-credentials}'
583 server-name: 'OpenDaylight'
585 - patchset-created-event:
586 exclude-drafts: 'false'
587 exclude-trivial-rebase: 'false'
588 exclude-no-code-change: 'false'
589 - draft-published-event
590 - comment-added-contains-event:
591 comment-contains-value: 'recheck'
592 - comment-added-contains-event:
593 comment-contains-value: 'reverify'
594 - comment-added-contains-event:
595 comment-contains-value: 'revalidate'
597 - project-compare-type: 'ANT'
598 project-pattern: 'neutron'
600 - branch-compare-type: 'ANT'
601 branch-pattern: '**/{branch}'
604 - wipe-org-opendaylight-repo
605 - jacoco-nojava-workaround
606 - autorelease-checkout-gerrit-patch
607 - autorelease-generate-taglist
608 - autorelease-generate-release-patches
610 maven-version: '{mvn33}'
611 pom: validate-pom.xml
612 goals: 'clean install -T1.5C -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
615 settings: '{autorelease-settings}'
616 global-settings: '{odl-global-settings}'
619 maven-name: '{mvn33}'
621 goals: 'clean validate -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
622 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
623 settings: '{autorelease-settings}'
624 global-settings: '{odl-global-settings}'
625 automatic-archiving: false
626 post-step-run-condition: UNSTABLE
629 - shell: "./scripts/list-project-dependencies.sh"
630 - autorelease-sys-stats
635 - email-notification:
636 email-prefix: '[autorelease] [neutron]'