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: branch with - in place of / (eg. stable-helium)
19 # branch: branch (eg. stable/helium)
27 branch: 'stable/helium'
32 branch: 'stable/lithium'
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: branch with - in place of / (eg. stable-helium)
53 # branch: branch (eg. stable/helium)
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
101 maven-version: '{mvn33}'
103 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
105 - '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
106 settings: '{sfc-settings}'
107 global-settings: '{odl-global-settings}'
108 - jacoco-nojava-workaround
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: branch with - in place of / (eg. stable-helium)
126 # branch: branch (eg. stable/helium)
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
163 maven-name: '{mvn33}'
165 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge'
166 maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
167 settings: '{sfc-settings}'
168 global-settings: '{odl-global-settings}'
171 - jacoco-nojava-workaround
177 - email-notification:
178 email-prefix: '[sfc]'
182 deploy-unstable: false
186 name: 'sfc-daily-{stream}'
188 # Job template for daily builders
190 # The purpose of this job template is to setup a daily/nightly
191 # builder and pushes to Sonar analysis.
193 # Required Variables:
194 # stream: branch with - in place of / (eg. stable-helium)
195 # branch: branch (eg. stable/helium)
202 daysToKeep: '{build-days-to-keep}'
203 numToKeep: '{build-num-to-keep}'
204 artifactDaysToKeep: '{build-artifact-days-to-keep}'
205 artifactNumToKeep: '{build-artifact-num-to-keep}'
213 credentials-id: '{ssh-credentials}'
219 - ssh-agent-credentials:
221 - '{ssh-credentials}'
227 - wipe-org-opendaylight-repo
230 maven-name: '{mvn33}'
232 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
233 maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
234 settings: '{sfc-settings}'
235 global-settings: '{odl-global-settings}'
238 - jacoco-nojava-workaround
244 - email-notification:
245 email-prefix: '[sfc]'
249 name: 'sfc-distribution-{stream}'
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: branch with - in place of / (eg. stable-helium)
313 # branch: branch (eg. stable/helium)
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
350 maven-name: '{mvn33}'
352 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
353 maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
354 settings: '{sfc-settings}'
355 global-settings: '{odl-global-settings}'
358 - jacoco-nojava-workaround
364 - email-notification:
365 email-prefix: '[sfc] [odlparent] [yangtools] [controller] [openflowplugin] [ovsdb] [lispflowmapping]'
378 artifactDaysToKeep: '1'
379 artifactNumToKeep: '1'
387 credentials-id: '{ssh-credentials}'
393 - ssh-agent-credentials:
395 - '{ssh-credentials}'
401 maven-name: '{mvn33}'
403 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
404 maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
405 settings: '{sfc-settings}'
406 global-settings: '{odl-global-settings}'
409 - jacoco-nojava-workaround
417 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
418 - email-notification:
419 email-prefix: '[sfc]'
423 name: 'sfc-clm-{stream}'
430 daysToKeep: '{build-days-to-keep}'
431 numToKeep: '{build-num-to-keep}'
432 artifactDaysToKeep: '{build-artifact-days-to-keep}'
433 artifactNumToKeep: '{build-artifact-num-to-keep}'
441 credentials-id: '{ssh-credentials}'
447 - ssh-agent-credentials:
449 - '{ssh-credentials}'
455 - wipe-org-opendaylight-repo
458 maven-name: '{mvn33}'
460 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
461 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
462 settings: '{sfc-settings}'
463 global-settings: '{odl-global-settings}'
467 application-name: sfc
470 - email-notification:
471 email-prefix: '[sfc]'