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
30 branch: 'stable/lithium'
35 disable_autorelease: True
37 project: 'topoprocessing'
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: 'topoprocessing-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}'
84 credentials-id: '{ssh-credentials}'
85 refspec: '$GERRIT_REFSPEC'
86 choosing-strategy: 'gerrit'
90 - ssh-agent-credentials:
95 - gerrit-trigger-patch-submitted:
96 name: 'topoprocessing'
100 - wipe-org-opendaylight-repo
101 - jacoco-nojava-workaround
102 - provide-maven-settings:
103 global-settings-file: '{odl-global-settings}'
104 settings-file: '{topoprocessing-settings}'
106 maven-version: '{mvn33}'
108 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
110 - '-Xmx1024m -XX:MaxPermSize=256m'
111 settings: '{topoprocessing-settings}'
112 global-settings: '{odl-global-settings}'
116 - email-notification:
117 email-prefix: '[topoprocessing]'
121 name: 'topoprocessing-merge-{stream}'
123 # Job template for ODL merge jobs
125 # The purpose of this job template is to setup a ODL merge job
126 # and deploy artifacts to Nexus.
128 # Required Variables:
129 # stream: release stream (eg. stable-lithium or beryllium)
130 # branch: git branch (eg. stable/lithium or master)
137 daysToKeep: '{build-days-to-keep}'
138 numToKeep: '{build-num-to-keep}'
139 artifactDaysToKeep: '{build-artifact-days-to-keep}'
140 artifactNumToKeep: '{build-artifact-num-to-keep}'
147 - gerrit-trigger-scm:
148 credentials-id: '{ssh-credentials}'
150 choosing-strategy: 'default'
154 - ssh-agent-credentials:
156 - '{ssh-credentials}'
159 - gerrit-trigger-patch-merged:
160 name: 'topoprocessing'
164 - wipe-org-opendaylight-repo
165 - jacoco-nojava-workaround
166 - provide-maven-settings:
167 global-settings-file: '{odl-global-settings}'
168 settings-file: '{topoprocessing-settings}'
171 maven-name: '{mvn33}'
173 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dstream={stream}'
174 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
175 settings: '{topoprocessing-settings}'
176 global-settings: '{odl-global-settings}'
177 post-step-run-condition: UNSTABLE
181 condition-kind: file-exists
182 condition-filename: deploy-site.xml
183 condition-basedir: workspace
185 # The strategy here is intentional to run Maven site:deploy twice
186 # once using regular pom.xml to produce a staged-site which is
187 # then used by deploy-site.xml to push to Nexus. This is a
188 # workaround to Maven Site's default linking code which creates
189 # incorrect URLs for sites due to auto-detection assuming your
190 # project is configured in a certain way which ODL is not.
193 maven-version: '{mvn33}'
195 goals: 'site:deploy -Dstream={stream}'
198 settings: '{topoprocessing-settings}'
199 global-settings: '{odl-global-settings}'
201 maven-version: '{mvn33}'
203 goals: 'site:deploy -Dstream={stream}'
206 settings: '{topoprocessing-settings}'
207 global-settings: '{odl-global-settings}'
213 - email-notification:
214 email-prefix: '[topoprocessing]'
218 deploy-unstable: false
222 name: 'topoprocessing-daily-{stream}'
224 # Job template for daily builders
226 # The purpose of this job template is to setup a daily/nightly
227 # builder and pushes to Sonar analysis.
229 # Required Variables:
230 # stream: release stream (eg. stable-lithium or beryllium)
231 # branch: git branch (eg. stable/lithium or master)
238 daysToKeep: '{build-days-to-keep}'
239 numToKeep: '{build-num-to-keep}'
240 artifactDaysToKeep: '{build-artifact-days-to-keep}'
241 artifactNumToKeep: '{build-artifact-num-to-keep}'
249 credentials-id: '{ssh-credentials}'
255 - ssh-agent-credentials:
257 - '{ssh-credentials}'
263 - wipe-org-opendaylight-repo
264 - jacoco-nojava-workaround
265 - provide-maven-settings:
266 global-settings-file: '{odl-global-settings}'
267 settings-file: '{topoprocessing-settings}'
270 maven-name: '{mvn33}'
272 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
273 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
274 settings: '{topoprocessing-settings}'
275 global-settings: '{odl-global-settings}'
281 - email-notification:
282 email-prefix: '[topoprocessing]'
286 name: 'topoprocessing-distribution-{stream}'
288 # Required variables:
289 # stream: release stream (eg. stable-lithium or beryllium)
290 # branch: git branch (eg. stable/lithium or master)
297 daysToKeep: '{build-days-to-keep}'
298 numToKeep: '{build-num-to-keep}'
299 artifactDaysToKeep: '{build-artifact-days-to-keep}'
300 artifactNumToKeep: '{build-artifact-num-to-keep}'
304 project: 'integration/distribution'
308 credentials-id: '{ssh-credentials}'
314 - ssh-agent-credentials:
316 - '{ssh-credentials}'
320 jobs: '{project}-merge-{stream}'
324 - wipe-org-opendaylight-repo
325 - provide-maven-settings:
326 global-settings-file: '{odl-global-settings}'
327 settings-file: '{topoprocessing-settings}'
330 maven-name: '{mvn33}'
332 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
333 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
334 settings: '{integration-settings}'
335 global-settings: '{odl-global-settings}'
338 - email-notification:
339 email-prefix: '[{project}]'
343 deploy-unstable: false
346 name: 'topoprocessing-integration-{stream}'
349 # Job template for ODL integration verify jobs
351 # This is similar to a normal verify job, but it runs
352 # when a project that's a dependency of your project
353 # is successfully built.
355 # Required Variables:
356 # stream: release stream (eg. stable-lithium or beryllium)
357 # branch: git branch (eg. stable/lithium or master)
364 daysToKeep: '{build-days-to-keep}'
365 numToKeep: '{build-num-to-keep}'
366 artifactDaysToKeep: '{build-artifact-days-to-keep}'
367 artifactNumToKeep: '{build-artifact-num-to-keep}'
375 credentials-id: '{ssh-credentials}'
381 - ssh-agent-credentials:
383 - '{ssh-credentials}'
387 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
391 - wipe-org-opendaylight-repo
392 - jacoco-nojava-workaround
393 - provide-maven-settings:
394 global-settings-file: '{odl-global-settings}'
395 settings-file: '{topoprocessing-settings}'
398 maven-name: '{mvn33}'
400 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
401 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
402 settings: '{topoprocessing-settings}'
403 global-settings: '{odl-global-settings}'
409 - email-notification:
410 email-prefix: '[topoprocessing] [odlparent] [controller] [yangtools]'
414 name: 'topoprocessing-sonar'
423 artifactDaysToKeep: '1'
424 artifactNumToKeep: '1'
432 credentials-id: '{ssh-credentials}'
438 - ssh-agent-credentials:
440 - '{ssh-credentials}'
444 - gerrit-trigger-patch-sonar:
445 name: 'topoprocessing'
448 - wipe-org-opendaylight-repo
449 - jacoco-nojava-workaround
450 - provide-maven-settings:
451 global-settings-file: '{odl-global-settings}'
452 settings-file: '{topoprocessing-settings}'
455 maven-name: '{mvn33}'
457 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
458 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
459 settings: '{topoprocessing-settings}'
460 global-settings: '{odl-global-settings}'
468 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
469 - email-notification:
470 email-prefix: '[topoprocessing]'
474 name: 'topoprocessing-clm-{stream}'
481 daysToKeep: '{build-days-to-keep}'
482 numToKeep: '{build-num-to-keep}'
483 artifactDaysToKeep: '{build-artifact-days-to-keep}'
484 artifactNumToKeep: '{build-artifact-num-to-keep}'
492 credentials-id: '{ssh-credentials}'
498 - ssh-agent-credentials:
500 - '{ssh-credentials}'
506 - wipe-org-opendaylight-repo
507 - provide-maven-settings:
508 global-settings-file: '{odl-global-settings}'
509 settings-file: '{topoprocessing-settings}'
512 maven-name: '{mvn33}'
514 goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
515 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
516 settings: '{topoprocessing-settings}'
517 global-settings: '{odl-global-settings}'
521 application-name: topoprocessing
524 - email-notification:
525 email-prefix: '[topoprocessing]'
528 name: 'topoprocessing-validate-autorelease-{stream}'
529 disabled: '{obj:disable_autorelease}'
537 daysToKeep: '{build-days-to-keep}'
538 numToKeep: '{build-num-to-keep}'
539 artifactDaysToKeep: '{build-artifact-days-to-keep}'
540 artifactNumToKeep: '{build-artifact-num-to-keep}'
547 - autorelease-release-tag:
548 release-tag: 'validate'
549 - autorelease-release-branch:
550 release-branch: '{branch}'
551 - autorelease-release-datestamp:
556 url: 'https://git.opendaylight.org/gerrit/releng/autorelease'
565 - autorelease-build-timeout
566 - ssh-agent-credentials:
568 - '{ssh-credentials}'
571 - gerrit-trigger-patch-submitted:
572 name: 'topoprocessing'
576 - wipe-org-opendaylight-repo
577 - jacoco-nojava-workaround
578 - autorelease-checkout-gerrit-patch
579 - autorelease-generate-taglist
580 - autorelease-generate-release-patches
582 maven-version: '{mvn33}'
583 pom: validate-pom.xml
584 goals: 'clean install -T1.5C -DskipTests -Dcheckstyle.skip=true -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
587 settings: '{autorelease-settings}'
588 global-settings: '{odl-global-settings}'
591 maven-name: '{mvn33}'
593 goals: 'clean validate -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
594 maven-opts: '-Xmx8g -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
595 settings: '{autorelease-settings}'
596 global-settings: '{odl-global-settings}'
597 automatic-archiving: false
598 post-step-run-condition: UNSTABLE
601 - shell: "./scripts/list-project-dependencies.sh"
602 - autorelease-sys-stats
607 - email-notification:
608 email-prefix: '[autorelease] [topoprocessing]'