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: '{mvn32}'
103 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
105 - '-Xmx1024m -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: '{mvn32}'
165 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
166 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
167 settings: '{sfc-settings}'
168 global-settings: '{odl-global-settings}'
171 - jacoco-nojava-workaround
178 - email-notification:
179 email-prefix: '[sfc]'
183 deploy-unstable: false
187 name: 'sfc-daily-{stream}'
189 # Job template for daily builders
191 # The purpose of this job template is to setup a daily/nightly
192 # builder and pushes to Sonar analysis.
194 # Required Variables:
195 # stream: branch with - in place of / (eg. stable-helium)
196 # branch: branch (eg. stable/helium)
203 daysToKeep: '{build-days-to-keep}'
204 numToKeep: '{build-num-to-keep}'
205 artifactDaysToKeep: '{build-artifact-days-to-keep}'
206 artifactNumToKeep: '{build-artifact-num-to-keep}'
214 credentials-id: '{ssh-credentials}'
220 - ssh-agent-credentials:
222 - '{ssh-credentials}'
228 - wipe-org-opendaylight-repo
231 maven-name: '{mvn32}'
233 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
234 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
235 settings: '{sfc-settings}'
236 global-settings: '{odl-global-settings}'
239 - jacoco-nojava-workaround
245 - email-notification:
246 email-prefix: '[sfc]'
250 name: 'sfc-distribution-{stream}'
257 daysToKeep: '{build-days-to-keep}'
258 numToKeep: '{build-num-to-keep}'
259 artifactDaysToKeep: '{build-artifact-days-to-keep}'
260 artifactNumToKeep: '{build-artifact-num-to-keep}'
264 project: 'integration'
268 credentials-id: '{ssh-credentials}'
274 - ssh-agent-credentials:
276 - '{ssh-credentials}'
280 jobs: '{project}-merge-{stream}'
284 - wipe-org-opendaylight-repo
287 maven-name: '{mvn32}'
289 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install source:jar javadoc:jar'
290 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
291 settings: '{integration-settings}'
292 global-settings: '{odl-global-settings}'
295 - email-notification:
296 email-prefix: '[{project}]'
300 deploy-unstable: false
303 name: 'sfc-integration-{stream}'
306 # Job template for ODL integration verify jobs
308 # This is similar to a normal verify job, but it runs
309 # when a project that's a dependency of your project
310 # is successfully built.
312 # Required Variables:
313 # stream: branch with - in place of / (eg. stable-helium)
314 # branch: branch (eg. stable/helium)
321 daysToKeep: '{build-days-to-keep}'
322 numToKeep: '{build-num-to-keep}'
323 artifactDaysToKeep: '{build-artifact-days-to-keep}'
324 artifactNumToKeep: '{build-artifact-num-to-keep}'
332 credentials-id: '{ssh-credentials}'
338 - ssh-agent-credentials:
340 - '{ssh-credentials}'
344 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},lispflowmapping-merge-{stream}'
348 - wipe-org-opendaylight-repo
351 maven-name: '{mvn32}'
353 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
354 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
355 settings: '{sfc-settings}'
356 global-settings: '{odl-global-settings}'
359 - jacoco-nojava-workaround
365 - email-notification:
366 email-prefix: '[sfc] [odlparent] [yangtools] [controller] [openflowplugin] [ovsdb] [lispflowmapping]'
379 artifactDaysToKeep: '1'
380 artifactNumToKeep: '1'
388 credentials-id: '{ssh-credentials}'
394 - ssh-agent-credentials:
396 - '{ssh-credentials}'
402 maven-name: '{mvn32}'
404 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
405 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
406 settings: '{sfc-settings}'
407 global-settings: '{odl-global-settings}'
410 - jacoco-nojava-workaround
418 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
419 - email-notification:
420 email-prefix: '[sfc]'
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: '{mvn32}'
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]'