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 - 'sfc-verify-{stream}'
10 - 'sfc-merge-{stream}'
11 - 'sfc-daily-{stream}'
12 - 'sfc-distribution-{stream}'
13 - 'sfc-integration-{stream}'
18 # stream: release stream (eg. stable-lithium or beryllium)
19 # branch: git branch (eg. stable/lithium or master)
27 branch: 'stable/lithium'
32 branch: 'stable/helium'
39 # For the Job templates below replace instances of:
40 # PROJECT with your project name (eg. controller)
41 # MAVEN_GOALS with your maven goals to build
42 # MAVEN_OPTS with your maven options to build
45 name: 'sfc-verify-{stream}'
47 # Job template for ODL verify jobs
49 # The purpose of this job template is to setup a ODL verify job
52 # stream: release stream (eg. stable-lithium or beryllium)
53 # branch: git branch (eg. stable/lithium or master)
70 daysToKeep: '{build-days-to-keep}'
71 numToKeep: '{build-num-to-keep}'
72 artifactDaysToKeep: '{build-artifact-days-to-keep}'
73 artifactNumToKeep: '{build-artifact-num-to-keep}'
83 credentials-id: '{ssh-credentials}'
84 refspec: '$GERRIT_REFSPEC'
85 choosing-strategy: 'gerrit'
89 - ssh-agent-credentials:
94 - gerrit-trigger-patch-submitted:
99 - wipe-org-opendaylight-repo
100 - jacoco-nojava-workaround
102 maven-version: '{mvn33}'
104 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
106 - '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
107 settings: '{sfc-settings}'
108 global-settings: '{odl-global-settings}'
112 - email-notification:
113 email-prefix: '[sfc]'
117 name: 'sfc-merge-{stream}'
119 # Job template for ODL merge jobs
121 # The purpose of this job template is to setup a ODL merge job
122 # and deploy artifacts to Nexus.
124 # Required Variables:
125 # stream: release stream (eg. stable-lithium or beryllium)
126 # branch: git branch (eg. stable/lithium or master)
133 daysToKeep: '{build-days-to-keep}'
134 numToKeep: '{build-num-to-keep}'
135 artifactDaysToKeep: '{build-artifact-days-to-keep}'
136 artifactNumToKeep: '{build-artifact-num-to-keep}'
143 - gerrit-trigger-scm:
144 credentials-id: '{ssh-credentials}'
146 choosing-strategy: 'default'
150 - ssh-agent-credentials:
152 - '{ssh-credentials}'
155 - gerrit-trigger-patch-merged:
160 - wipe-org-opendaylight-repo
161 - jacoco-nojava-workaround
164 maven-name: '{mvn33}'
166 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge'
167 maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
168 settings: '{sfc-settings}'
169 global-settings: '{odl-global-settings}'
175 - email-notification:
176 email-prefix: '[sfc]'
180 deploy-unstable: false
184 name: 'sfc-daily-{stream}'
186 # Job template for daily builders
188 # The purpose of this job template is to setup a daily/nightly
189 # builder and pushes to Sonar analysis.
191 # Required Variables:
192 # stream: release stream (eg. stable-lithium or beryllium)
193 # branch: git branch (eg. stable/lithium or master)
200 daysToKeep: '{build-days-to-keep}'
201 numToKeep: '{build-num-to-keep}'
202 artifactDaysToKeep: '{build-artifact-days-to-keep}'
203 artifactNumToKeep: '{build-artifact-num-to-keep}'
211 credentials-id: '{ssh-credentials}'
217 - ssh-agent-credentials:
219 - '{ssh-credentials}'
225 - wipe-org-opendaylight-repo
226 - jacoco-nojava-workaround
229 maven-name: '{mvn33}'
231 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
232 maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
233 settings: '{sfc-settings}'
234 global-settings: '{odl-global-settings}'
240 - email-notification:
241 email-prefix: '[sfc]'
245 name: 'sfc-distribution-{stream}'
247 # Required variables:
248 # stream: release stream (eg. stable-lithium or beryllium)
249 # branch: git branch (eg. stable/lithium or master)
256 daysToKeep: '{build-days-to-keep}'
257 numToKeep: '{build-num-to-keep}'
258 artifactDaysToKeep: '{build-artifact-days-to-keep}'
259 artifactNumToKeep: '{build-artifact-num-to-keep}'
263 project: 'integration'
267 credentials-id: '{ssh-credentials}'
273 - ssh-agent-credentials:
275 - '{ssh-credentials}'
279 jobs: '{project}-merge-{stream}'
283 - wipe-org-opendaylight-repo
286 maven-name: '{mvn33}'
288 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
289 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
290 settings: '{integration-settings}'
291 global-settings: '{odl-global-settings}'
294 - email-notification:
295 email-prefix: '[{project}]'
299 deploy-unstable: false
302 name: 'sfc-integration-{stream}'
305 # Job template for ODL integration verify jobs
307 # This is similar to a normal verify job, but it runs
308 # when a project that's a dependency of your project
309 # is successfully built.
311 # Required Variables:
312 # stream: release stream (eg. stable-lithium or beryllium)
313 # branch: git branch (eg. stable/lithium or master)
320 daysToKeep: '{build-days-to-keep}'
321 numToKeep: '{build-num-to-keep}'
322 artifactDaysToKeep: '{build-artifact-days-to-keep}'
323 artifactNumToKeep: '{build-artifact-num-to-keep}'
331 credentials-id: '{ssh-credentials}'
337 - ssh-agent-credentials:
339 - '{ssh-credentials}'
343 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},lispflowmapping-merge-{stream}'
347 - wipe-org-opendaylight-repo
348 - jacoco-nojava-workaround
351 maven-name: '{mvn33}'
353 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
354 maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
355 settings: '{sfc-settings}'
356 global-settings: '{odl-global-settings}'
362 - email-notification:
363 email-prefix: '[sfc] [odlparent] [yangtools] [controller] [openflowplugin] [ovsdb] [lispflowmapping]'
376 artifactDaysToKeep: '1'
377 artifactNumToKeep: '1'
385 credentials-id: '{ssh-credentials}'
391 - ssh-agent-credentials:
393 - '{ssh-credentials}'
397 - gerrit-trigger-patch-sonar:
401 - wipe-org-opendaylight-repo
402 - jacoco-nojava-workaround
405 maven-name: '{mvn33}'
407 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
408 maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
409 settings: '{sfc-settings}'
410 global-settings: '{odl-global-settings}'
418 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
419 - email-notification:
420 email-prefix: '[sfc]'
424 name: 'sfc-clm-{stream}'
431 daysToKeep: '{build-days-to-keep}'
432 numToKeep: '{build-num-to-keep}'
433 artifactDaysToKeep: '{build-artifact-days-to-keep}'
434 artifactNumToKeep: '{build-artifact-num-to-keep}'
442 credentials-id: '{ssh-credentials}'
448 - ssh-agent-credentials:
450 - '{ssh-credentials}'
456 - wipe-org-opendaylight-repo
459 maven-name: '{mvn33}'
461 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
462 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
463 settings: '{sfc-settings}'
464 global-settings: '{odl-global-settings}'
468 application-name: sfc
471 - email-notification:
472 email-prefix: '[sfc]'