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 - 'iotdm-verify-{stream}'
10 - 'iotdm-merge-{stream}'
11 - 'iotdm-daily-{stream}'
12 - 'iotdm-distribution-{stream}'
13 - 'iotdm-integration-{stream}'
15 - 'iotdm-clm-{stream}'
18 # stream: release stream (eg. stable-lithium or beryllium)
19 # branch: git branch (eg. stable/lithium or master)
28 branch: 'stable/lithium'
36 # For the Job templates below replace instances of:
37 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
38 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
39 # MAVEN_GOALS with your maven goals to build
40 # MAVEN_OPTS with your maven options to build
43 name: 'iotdm-verify-{stream}'
45 # Job template for ODL verify jobs
47 # The purpose of this job template is to setup a ODL verify job
50 # stream: release stream (eg. stable-lithium or beryllium)
51 # branch: git branch (eg. stable/lithium or master)
68 daysToKeep: '{build-days-to-keep}'
69 numToKeep: '{build-num-to-keep}'
70 artifactDaysToKeep: '{build-artifact-days-to-keep}'
71 artifactNumToKeep: '{build-artifact-num-to-keep}'
81 credentials-id: '{ssh-credentials}'
82 refspec: '$GERRIT_REFSPEC'
83 choosing-strategy: 'gerrit'
87 - ssh-agent-credentials:
92 - gerrit-trigger-patch-submitted:
97 - wipe-org-opendaylight-repo
98 - jacoco-nojava-workaround
99 - provide-maven-settings:
100 global-settings-file: '{odl-global-settings}'
101 settings-file: '{yangtools-settings}'
103 maven-version: '{mvn33}'
105 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
107 - '-Xmx1024m -XX:MaxPermSize=256m'
108 settings: '{iotdm-settings}'
109 global-settings: '{odl-global-settings}'
113 - email-notification:
114 email-prefix: '[iotdm]'
118 name: 'iotdm-merge-{stream}'
120 # Job template for ODL merge jobs
122 # The purpose of this job template is to setup a ODL merge job
123 # and deploy artifacts to Nexus.
125 # Required Variables:
126 # stream: release stream (eg. stable-lithium or beryllium)
127 # branch: git branch (eg. stable/lithium or master)
134 daysToKeep: '{build-days-to-keep}'
135 numToKeep: '{build-num-to-keep}'
136 artifactDaysToKeep: '{build-artifact-days-to-keep}'
137 artifactNumToKeep: '{build-artifact-num-to-keep}'
144 - gerrit-trigger-scm:
145 credentials-id: '{ssh-credentials}'
147 choosing-strategy: 'default'
151 - ssh-agent-credentials:
153 - '{ssh-credentials}'
156 - gerrit-trigger-patch-merged:
161 - wipe-org-opendaylight-repo
162 - jacoco-nojava-workaround
163 - provide-maven-settings:
164 global-settings-file: '{odl-global-settings}'
165 settings-file: '{yangtools-settings}'
168 maven-name: '{mvn33}'
170 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge'
171 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
172 settings: '{iotdm-settings}'
173 global-settings: '{odl-global-settings}'
179 - email-notification:
180 email-prefix: '[iotdm]'
184 deploy-unstable: false
188 name: 'iotdm-daily-{stream}'
190 # Job template for daily builders
192 # The purpose of this job template is to setup a daily/nightly
193 # builder and pushes to Sonar analysis.
195 # Required Variables:
196 # stream: release stream (eg. stable-lithium or beryllium)
197 # branch: git branch (eg. stable/lithium or master)
204 daysToKeep: '{build-days-to-keep}'
205 numToKeep: '{build-num-to-keep}'
206 artifactDaysToKeep: '{build-artifact-days-to-keep}'
207 artifactNumToKeep: '{build-artifact-num-to-keep}'
215 credentials-id: '{ssh-credentials}'
221 - ssh-agent-credentials:
223 - '{ssh-credentials}'
229 - wipe-org-opendaylight-repo
230 - jacoco-nojava-workaround
231 - provide-maven-settings:
232 global-settings-file: '{odl-global-settings}'
233 settings-file: '{yangtools-settings}'
236 maven-name: '{mvn33}'
238 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
239 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
240 settings: '{iotdm-settings}'
241 global-settings: '{odl-global-settings}'
247 - email-notification:
248 email-prefix: '[iotdm]'
252 name: 'iotdm-distribution-{stream}'
254 # Required variables:
255 # stream: release stream (eg. stable-lithium or beryllium)
256 # branch: git branch (eg. stable/lithium or master)
263 daysToKeep: '{build-days-to-keep}'
264 numToKeep: '{build-num-to-keep}'
265 artifactDaysToKeep: '{build-artifact-days-to-keep}'
266 artifactNumToKeep: '{build-artifact-num-to-keep}'
270 project: 'integration'
274 credentials-id: '{ssh-credentials}'
280 - ssh-agent-credentials:
282 - '{ssh-credentials}'
286 jobs: '{project}-merge-{stream}'
290 - wipe-org-opendaylight-repo
291 - provide-maven-settings:
292 global-settings-file: '{odl-global-settings}'
293 settings-file: '{yangtools-settings}'
296 maven-name: '{mvn33}'
298 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
299 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
300 settings: '{integration-settings}'
301 global-settings: '{odl-global-settings}'
304 - email-notification:
305 email-prefix: '[{project}]'
309 deploy-unstable: false
312 name: 'iotdm-integration-{stream}'
315 # Job template for ODL integration verify jobs
317 # This is similar to a normal verify job, but it runs
318 # when a project that's a dependency of your project
319 # is successfully built.
321 # Required Variables:
322 # stream: release stream (eg. stable-lithium or beryllium)
323 # branch: git branch (eg. stable/lithium or master)
330 daysToKeep: '{build-days-to-keep}'
331 numToKeep: '{build-num-to-keep}'
332 artifactDaysToKeep: '{build-artifact-days-to-keep}'
333 artifactNumToKeep: '{build-artifact-num-to-keep}'
341 credentials-id: '{ssh-credentials}'
347 - ssh-agent-credentials:
349 - '{ssh-credentials}'
353 jobs: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream},aaa-merge-{stream}'
357 - wipe-org-opendaylight-repo
358 - jacoco-nojava-workaround
359 - provide-maven-settings:
360 global-settings-file: '{odl-global-settings}'
361 settings-file: '{yangtools-settings}'
364 maven-name: '{mvn33}'
366 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
367 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
368 settings: '{iotdm-settings}'
369 global-settings: '{odl-global-settings}'
375 - email-notification:
376 email-prefix: '[iotdm] [controller] [yangtools] [odlparent] [aaa]'
389 artifactDaysToKeep: '1'
390 artifactNumToKeep: '1'
398 credentials-id: '{ssh-credentials}'
404 - ssh-agent-credentials:
406 - '{ssh-credentials}'
410 - gerrit-trigger-patch-sonar:
414 - wipe-org-opendaylight-repo
415 - jacoco-nojava-workaround
416 - provide-maven-settings:
417 global-settings-file: '{odl-global-settings}'
418 settings-file: '{yangtools-settings}'
421 maven-name: '{mvn33}'
423 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
424 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
425 settings: '{iotdm-settings}'
426 global-settings: '{odl-global-settings}'
434 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
435 - email-notification:
436 email-prefix: '[iotdm]'
440 name: 'iotdm-clm-{stream}'
447 daysToKeep: '{build-days-to-keep}'
448 numToKeep: '{build-num-to-keep}'
449 artifactDaysToKeep: '{build-artifact-days-to-keep}'
450 artifactNumToKeep: '{build-artifact-num-to-keep}'
458 credentials-id: '{ssh-credentials}'
464 - ssh-agent-credentials:
466 - '{ssh-credentials}'
472 - wipe-org-opendaylight-repo
473 - provide-maven-settings:
474 global-settings-file: '{odl-global-settings}'
475 settings-file: '{yangtools-settings}'
478 maven-name: '{mvn33}'
480 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
481 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
482 settings: '{iotdm-settings}'
483 global-settings: '{odl-global-settings}'
487 application-name: iotdm
490 - email-notification:
491 email-prefix: '[iotdm]'