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)
28 branch: 'stable/lithium'
33 branch: 'stable/helium'
40 # For the Job templates below replace instances of:
41 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
42 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
43 # MAVEN_GOALS with your maven goals to build
44 # MAVEN_OPTS with your maven options to build
47 name: 'sfc-verify-{stream}'
49 # Job template for ODL verify jobs
51 # The purpose of this job template is to setup a ODL verify job
54 # stream: release stream (eg. stable-lithium or beryllium)
55 # branch: git branch (eg. stable/lithium or master)
72 daysToKeep: '{build-days-to-keep}'
73 numToKeep: '{build-num-to-keep}'
74 artifactDaysToKeep: '{build-artifact-days-to-keep}'
75 artifactNumToKeep: '{build-artifact-num-to-keep}'
85 credentials-id: '{ssh-credentials}'
86 refspec: '$GERRIT_REFSPEC'
87 choosing-strategy: 'gerrit'
91 - ssh-agent-credentials:
96 - gerrit-trigger-patch-submitted:
101 - wipe-org-opendaylight-repo
102 - jacoco-nojava-workaround
103 - provide-maven-settings:
104 global-settings-file: '{odl-global-settings}'
105 settings-file: '{sfc-settings}'
107 maven-version: '{mvn33}'
109 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
111 - '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
112 settings: '{sfc-settings}'
113 global-settings: '{odl-global-settings}'
117 - email-notification:
118 email-prefix: '[sfc]'
122 name: 'sfc-merge-{stream}'
124 # Job template for ODL merge jobs
126 # The purpose of this job template is to setup a ODL merge job
127 # and deploy artifacts to Nexus.
129 # Required Variables:
130 # stream: release stream (eg. stable-lithium or beryllium)
131 # branch: git branch (eg. stable/lithium or master)
138 daysToKeep: '{build-days-to-keep}'
139 numToKeep: '{build-num-to-keep}'
140 artifactDaysToKeep: '{build-artifact-days-to-keep}'
141 artifactNumToKeep: '{build-artifact-num-to-keep}'
148 - gerrit-trigger-scm:
149 credentials-id: '{ssh-credentials}'
151 choosing-strategy: 'default'
155 - ssh-agent-credentials:
157 - '{ssh-credentials}'
160 - gerrit-trigger-patch-merged:
165 - wipe-org-opendaylight-repo
166 - jacoco-nojava-workaround
167 - provide-maven-settings:
168 global-settings-file: '{odl-global-settings}'
169 settings-file: '{sfc-settings}'
172 maven-name: '{mvn33}'
174 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dstream={stream}'
175 maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
176 settings: '{sfc-settings}'
177 global-settings: '{odl-global-settings}'
178 post-step-run-condition: UNSTABLE
182 condition-kind: file-exists
183 condition-filename: deploy-site.xml
184 condition-basedir: workspace
186 # The strategy here is intentional to run Maven site:deploy twice
187 # once using regular pom.xml to produce a staged-site which is
188 # then used by deploy-site.xml to push to Nexus. This is a
189 # workaround to Maven Site's default linking code which creates
190 # incorrect URLs for sites due to auto-detection assuming your
191 # project is configured in a certain way which ODL is not.
194 maven-version: '{mvn33}'
196 goals: 'site:deploy -Dstream={stream}'
199 settings: '{sfc-settings}'
200 global-settings: '{odl-global-settings}'
202 maven-version: '{mvn33}'
204 goals: 'site:deploy -Dstream={stream}'
207 settings: '{sfc-settings}'
208 global-settings: '{odl-global-settings}'
214 - email-notification:
215 email-prefix: '[sfc]'
219 deploy-unstable: false
223 name: 'sfc-daily-{stream}'
225 # Job template for daily builders
227 # The purpose of this job template is to setup a daily/nightly
228 # builder and pushes to Sonar analysis.
230 # Required Variables:
231 # stream: release stream (eg. stable-lithium or beryllium)
232 # branch: git branch (eg. stable/lithium or master)
239 daysToKeep: '{build-days-to-keep}'
240 numToKeep: '{build-num-to-keep}'
241 artifactDaysToKeep: '{build-artifact-days-to-keep}'
242 artifactNumToKeep: '{build-artifact-num-to-keep}'
250 credentials-id: '{ssh-credentials}'
256 - ssh-agent-credentials:
258 - '{ssh-credentials}'
264 - wipe-org-opendaylight-repo
265 - jacoco-nojava-workaround
266 - provide-maven-settings:
267 global-settings-file: '{odl-global-settings}'
268 settings-file: '{sfc-settings}'
271 maven-name: '{mvn33}'
273 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
274 maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
275 settings: '{sfc-settings}'
276 global-settings: '{odl-global-settings}'
282 - email-notification:
283 email-prefix: '[sfc]'
287 name: 'sfc-distribution-{stream}'
289 # Required variables:
290 # stream: release stream (eg. stable-lithium or beryllium)
291 # branch: git branch (eg. stable/lithium or master)
298 daysToKeep: '{build-days-to-keep}'
299 numToKeep: '{build-num-to-keep}'
300 artifactDaysToKeep: '{build-artifact-days-to-keep}'
301 artifactNumToKeep: '{build-artifact-num-to-keep}'
305 project: 'integration/distribution'
309 credentials-id: '{ssh-credentials}'
315 - ssh-agent-credentials:
317 - '{ssh-credentials}'
321 jobs: '{project}-merge-{stream}'
325 - wipe-org-opendaylight-repo
326 - provide-maven-settings:
327 global-settings-file: '{odl-global-settings}'
328 settings-file: '{sfc-settings}'
331 maven-name: '{mvn33}'
333 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
334 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
335 settings: '{integration-settings}'
336 global-settings: '{odl-global-settings}'
339 - email-notification:
340 email-prefix: '[{project}]'
344 deploy-unstable: false
347 name: 'sfc-integration-{stream}'
350 # Job template for ODL integration verify jobs
352 # This is similar to a normal verify job, but it runs
353 # when a project that's a dependency of your project
354 # is successfully built.
356 # Required Variables:
357 # stream: release stream (eg. stable-lithium or beryllium)
358 # branch: git branch (eg. stable/lithium or master)
365 daysToKeep: '{build-days-to-keep}'
366 numToKeep: '{build-num-to-keep}'
367 artifactDaysToKeep: '{build-artifact-days-to-keep}'
368 artifactNumToKeep: '{build-artifact-num-to-keep}'
376 credentials-id: '{ssh-credentials}'
382 - ssh-agent-credentials:
384 - '{ssh-credentials}'
388 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},lispflowmapping-merge-{stream}'
392 - wipe-org-opendaylight-repo
393 - jacoco-nojava-workaround
394 - provide-maven-settings:
395 global-settings-file: '{odl-global-settings}'
396 settings-file: '{sfc-settings}'
399 maven-name: '{mvn33}'
401 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
402 maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
403 settings: '{sfc-settings}'
404 global-settings: '{odl-global-settings}'
410 - email-notification:
411 email-prefix: '[sfc] [odlparent] [yangtools] [controller] [openflowplugin] [ovsdb] [lispflowmapping]'
424 artifactDaysToKeep: '1'
425 artifactNumToKeep: '1'
433 credentials-id: '{ssh-credentials}'
439 - ssh-agent-credentials:
441 - '{ssh-credentials}'
445 - gerrit-trigger-patch-sonar:
449 - wipe-org-opendaylight-repo
450 - jacoco-nojava-workaround
451 - provide-maven-settings:
452 global-settings-file: '{odl-global-settings}'
453 settings-file: '{sfc-settings}'
456 maven-name: '{mvn33}'
458 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
459 maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
460 settings: '{sfc-settings}'
461 global-settings: '{odl-global-settings}'
469 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
470 - email-notification:
471 email-prefix: '[sfc]'
475 name: 'sfc-clm-{stream}'
482 daysToKeep: '{build-days-to-keep}'
483 numToKeep: '{build-num-to-keep}'
484 artifactDaysToKeep: '{build-artifact-days-to-keep}'
485 artifactNumToKeep: '{build-artifact-num-to-keep}'
493 credentials-id: '{ssh-credentials}'
499 - ssh-agent-credentials:
501 - '{ssh-credentials}'
507 - wipe-org-opendaylight-repo
508 - provide-maven-settings:
509 global-settings-file: '{odl-global-settings}'
510 settings-file: '{sfc-settings}'
513 maven-name: '{mvn33}'
515 goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
516 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
517 settings: '{sfc-settings}'
518 global-settings: '{odl-global-settings}'
522 application-name: sfc
525 - email-notification:
526 email-prefix: '[sfc]'