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
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: 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
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: branch with - in place of / (eg. stable-helium)
193 # branch: branch (eg. stable/helium)
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}'
252 daysToKeep: '{build-days-to-keep}'
253 numToKeep: '{build-num-to-keep}'
254 artifactDaysToKeep: '{build-artifact-days-to-keep}'
255 artifactNumToKeep: '{build-artifact-num-to-keep}'
259 project: 'integration'
263 credentials-id: '{ssh-credentials}'
269 - ssh-agent-credentials:
271 - '{ssh-credentials}'
275 jobs: '{project}-merge-{stream}'
279 - wipe-org-opendaylight-repo
282 maven-name: '{mvn33}'
284 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
285 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
286 settings: '{integration-settings}'
287 global-settings: '{odl-global-settings}'
290 - email-notification:
291 email-prefix: '[{project}]'
295 deploy-unstable: false
298 name: 'sfc-integration-{stream}'
301 # Job template for ODL integration verify jobs
303 # This is similar to a normal verify job, but it runs
304 # when a project that's a dependency of your project
305 # is successfully built.
307 # Required Variables:
308 # stream: branch with - in place of / (eg. stable-helium)
309 # branch: branch (eg. stable/helium)
316 daysToKeep: '{build-days-to-keep}'
317 numToKeep: '{build-num-to-keep}'
318 artifactDaysToKeep: '{build-artifact-days-to-keep}'
319 artifactNumToKeep: '{build-artifact-num-to-keep}'
327 credentials-id: '{ssh-credentials}'
333 - ssh-agent-credentials:
335 - '{ssh-credentials}'
339 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},lispflowmapping-merge-{stream}'
343 - wipe-org-opendaylight-repo
344 - jacoco-nojava-workaround
347 maven-name: '{mvn33}'
349 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
350 maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
351 settings: '{sfc-settings}'
352 global-settings: '{odl-global-settings}'
358 - email-notification:
359 email-prefix: '[sfc] [odlparent] [yangtools] [controller] [openflowplugin] [ovsdb] [lispflowmapping]'
372 artifactDaysToKeep: '1'
373 artifactNumToKeep: '1'
381 credentials-id: '{ssh-credentials}'
387 - ssh-agent-credentials:
389 - '{ssh-credentials}'
395 - wipe-org-opendaylight-repo
396 - jacoco-nojava-workaround
399 maven-name: '{mvn33}'
401 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
402 maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
403 settings: '{sfc-settings}'
404 global-settings: '{odl-global-settings}'
412 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
413 - email-notification:
414 email-prefix: '[sfc]'
418 name: 'sfc-clm-{stream}'
425 daysToKeep: '{build-days-to-keep}'
426 numToKeep: '{build-num-to-keep}'
427 artifactDaysToKeep: '{build-artifact-days-to-keep}'
428 artifactNumToKeep: '{build-artifact-num-to-keep}'
436 credentials-id: '{ssh-credentials}'
442 - ssh-agent-credentials:
444 - '{ssh-credentials}'
450 - wipe-org-opendaylight-repo
453 maven-name: '{mvn33}'
455 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
456 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
457 settings: '{sfc-settings}'
458 global-settings: '{odl-global-settings}'
462 application-name: sfc
465 - email-notification:
466 email-prefix: '[sfc]'