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 - 'topoprocessing-verify-{stream}'
10 - 'topoprocessing-merge-{stream}'
11 - 'topoprocessing-daily-{stream}'
12 - 'topoprocessing-distribution-{stream}'
13 - 'topoprocessing-integration-{stream}'
14 - 'topoprocessing-sonar'
15 - 'topoprocessing-clm-{stream}'
16 - 'topoprocessing-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'
42 disable_autorelease: True
44 project: 'topoprocessing'
46 # For the Job templates below replace instances of:
47 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
48 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
49 # MAVEN_GOALS with your maven goals to build
50 # MAVEN_OPTS with your maven options to build
53 name: 'topoprocessing-verify-{stream}'
55 # Job template for ODL verify jobs
57 # The purpose of this job template is to setup a ODL verify job
60 # stream: release stream (eg. stable-lithium or beryllium)
61 # branch: git branch (eg. stable/lithium or master)
78 daysToKeep: '{build-days-to-keep}'
79 numToKeep: '{build-num-to-keep}'
80 artifactDaysToKeep: '{build-artifact-days-to-keep}'
81 artifactNumToKeep: '{build-artifact-num-to-keep}'
91 credentials-id: '{ssh-credentials}'
92 refspec: '$GERRIT_REFSPEC'
93 choosing-strategy: 'gerrit'
97 - ssh-agent-credentials:
102 - gerrit-trigger-patch-submitted:
103 name: 'topoprocessing'
107 - wipe-org-opendaylight-repo
108 - jacoco-nojava-workaround
109 - provide-maven-settings:
110 global-settings-file: '{odl-global-settings}'
111 settings-file: '{topoprocessing-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: '{topoprocessing-settings}'
119 global-settings: '{odl-global-settings}'
123 - email-notification:
124 email-prefix: '[topoprocessing]'
128 name: 'topoprocessing-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-trigger-scm:
155 credentials-id: '{ssh-credentials}'
157 choosing-strategy: 'default'
161 - ssh-agent-credentials:
163 - '{ssh-credentials}'
166 - gerrit-trigger-patch-merged:
167 name: 'topoprocessing'
171 - wipe-org-opendaylight-repo
172 - jacoco-nojava-workaround
173 - provide-maven-settings:
174 global-settings-file: '{odl-global-settings}'
175 settings-file: '{topoprocessing-settings}'
178 maven-name: '{mvn33}'
180 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dstream={stream}'
181 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
182 settings: '{topoprocessing-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: '{topoprocessing-settings}'
206 global-settings: '{odl-global-settings}'
208 maven-version: '{mvn33}'
210 goals: 'site:deploy -Dstream={stream}'
213 settings: '{topoprocessing-settings}'
214 global-settings: '{odl-global-settings}'
220 - email-notification:
221 email-prefix: '[topoprocessing]'
225 deploy-unstable: false
229 name: 'topoprocessing-daily-{stream}'
231 # Job template for daily builders
233 # The purpose of this job template is to setup a daily/nightly
234 # builder and pushes to Sonar analysis.
236 # Required Variables:
237 # stream: release stream (eg. stable-lithium or beryllium)
238 # branch: git branch (eg. stable/lithium or master)
245 daysToKeep: '{build-days-to-keep}'
246 numToKeep: '{build-num-to-keep}'
247 artifactDaysToKeep: '{build-artifact-days-to-keep}'
248 artifactNumToKeep: '{build-artifact-num-to-keep}'
256 credentials-id: '{ssh-credentials}'
262 - ssh-agent-credentials:
264 - '{ssh-credentials}'
270 - wipe-org-opendaylight-repo
271 - jacoco-nojava-workaround
272 - provide-maven-settings:
273 global-settings-file: '{odl-global-settings}'
274 settings-file: '{topoprocessing-settings}'
277 maven-name: '{mvn33}'
279 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
280 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
281 settings: '{topoprocessing-settings}'
282 global-settings: '{odl-global-settings}'
288 - email-notification:
289 email-prefix: '[topoprocessing]'
293 name: 'topoprocessing-distribution-{stream}'
295 # Required variables:
296 # stream: release stream (eg. stable-lithium or beryllium)
297 # branch: git branch (eg. stable/lithium or master)
304 daysToKeep: '{build-days-to-keep}'
305 numToKeep: '{build-num-to-keep}'
306 artifactDaysToKeep: '{build-artifact-days-to-keep}'
307 artifactNumToKeep: '{build-artifact-num-to-keep}'
311 project: 'integration/distribution'
315 credentials-id: '{ssh-credentials}'
321 - ssh-agent-credentials:
323 - '{ssh-credentials}'
327 jobs: '{project}-merge-{stream}'
331 - wipe-org-opendaylight-repo
332 - provide-maven-settings:
333 global-settings-file: '{odl-global-settings}'
334 settings-file: '{topoprocessing-settings}'
337 maven-name: '{mvn33}'
339 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
340 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
341 settings: '{integration-settings}'
342 global-settings: '{odl-global-settings}'
345 - email-notification:
346 email-prefix: '[{project}]'
350 deploy-unstable: false
353 name: 'topoprocessing-integration-{stream}'
356 # Job template for ODL integration verify jobs
358 # This is similar to a normal verify job, but it runs
359 # when a project that's a dependency of your project
360 # is successfully built.
362 # Required Variables:
363 # stream: release stream (eg. stable-lithium or beryllium)
364 # branch: git branch (eg. stable/lithium or master)
371 daysToKeep: '{build-days-to-keep}'
372 numToKeep: '{build-num-to-keep}'
373 artifactDaysToKeep: '{build-artifact-days-to-keep}'
374 artifactNumToKeep: '{build-artifact-num-to-keep}'
382 credentials-id: '{ssh-credentials}'
388 - ssh-agent-credentials:
390 - '{ssh-credentials}'
394 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
398 - wipe-org-opendaylight-repo
399 - jacoco-nojava-workaround
400 - provide-maven-settings:
401 global-settings-file: '{odl-global-settings}'
402 settings-file: '{topoprocessing-settings}'
405 maven-name: '{mvn33}'
407 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
408 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
409 settings: '{topoprocessing-settings}'
410 global-settings: '{odl-global-settings}'
416 - email-notification:
417 email-prefix: '[topoprocessing] [odlparent] [controller] [yangtools]'
421 name: 'topoprocessing-sonar'
430 artifactDaysToKeep: '1'
431 artifactNumToKeep: '1'
439 credentials-id: '{ssh-credentials}'
445 - ssh-agent-credentials:
447 - '{ssh-credentials}'
451 - gerrit-trigger-patch-sonar:
452 name: 'topoprocessing'
455 - wipe-org-opendaylight-repo
456 - jacoco-nojava-workaround
457 - provide-maven-settings:
458 global-settings-file: '{odl-global-settings}'
459 settings-file: '{topoprocessing-settings}'
462 maven-name: '{mvn33}'
464 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
465 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
466 settings: '{topoprocessing-settings}'
467 global-settings: '{odl-global-settings}'
475 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
476 - email-notification:
477 email-prefix: '[topoprocessing]'
481 name: 'topoprocessing-clm-{stream}'
488 daysToKeep: '{build-days-to-keep}'
489 numToKeep: '{build-num-to-keep}'
490 artifactDaysToKeep: '{build-artifact-days-to-keep}'
491 artifactNumToKeep: '{build-artifact-num-to-keep}'
499 credentials-id: '{ssh-credentials}'
505 - ssh-agent-credentials:
507 - '{ssh-credentials}'
513 - wipe-org-opendaylight-repo
514 - provide-maven-settings:
515 global-settings-file: '{odl-global-settings}'
516 settings-file: '{topoprocessing-settings}'
519 maven-name: '{mvn33}'
521 goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
522 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
523 settings: '{topoprocessing-settings}'
524 global-settings: '{odl-global-settings}'
528 application-name: topoprocessing
531 - email-notification:
532 email-prefix: '[topoprocessing]'
535 name: 'topoprocessing-validate-autorelease-{stream}'
536 disabled: '{obj:disable_autorelease}'
544 daysToKeep: '{build-days-to-keep}'
545 numToKeep: '{build-num-to-keep}'
546 artifactDaysToKeep: '{build-artifact-days-to-keep}'
547 artifactNumToKeep: '{build-artifact-num-to-keep}'
554 - autorelease-release-tag:
555 release-tag: 'validate'
556 - autorelease-release-branch:
557 release-branch: '{branch}'
558 - autorelease-release-datestamp:
563 url: 'https://git.opendaylight.org/gerrit/releng/autorelease'
572 - autorelease-build-timeout
573 - ssh-agent-credentials:
575 - '{ssh-credentials}'
578 - gerrit-trigger-patch-submitted:
579 name: 'topoprocessing'
583 - wipe-org-opendaylight-repo
584 - jacoco-nojava-workaround
585 - autorelease-checkout-gerrit-patch
586 - autorelease-generate-taglist
587 - autorelease-generate-release-patches
589 maven-version: '{mvn33}'
590 pom: validate-pom.xml
591 goals: 'clean install -T1.5C -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
594 settings: '{autorelease-settings}'
595 global-settings: '{odl-global-settings}'
598 maven-name: '{mvn33}'
600 goals: 'clean validate -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
601 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
602 settings: '{autorelease-settings}'
603 global-settings: '{odl-global-settings}'
604 automatic-archiving: false
605 post-step-run-condition: UNSTABLE
608 - shell: "./scripts/list-project-dependencies.sh"
609 - autorelease-sys-stats
614 - email-notification:
615 email-prefix: '[autorelease] [topoprocessing]'