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_SHORTNAME with your project name (eg. circuitsw)
41 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
42 # MAVEN_GOALS with your maven goals to build
43 # MAVEN_OPTS with your maven options to build
46 name: 'sfc-verify-{stream}'
48 # Job template for ODL verify jobs
50 # The purpose of this job template is to setup a ODL verify job
53 # stream: release stream (eg. stable-lithium or beryllium)
54 # branch: git branch (eg. stable/lithium or master)
71 daysToKeep: '{build-days-to-keep}'
72 numToKeep: '{build-num-to-keep}'
73 artifactDaysToKeep: '{build-artifact-days-to-keep}'
74 artifactNumToKeep: '{build-artifact-num-to-keep}'
84 credentials-id: '{ssh-credentials}'
85 refspec: '$GERRIT_REFSPEC'
86 choosing-strategy: 'gerrit'
90 - ssh-agent-credentials:
95 - gerrit-trigger-patch-submitted:
100 - wipe-org-opendaylight-repo
101 - jacoco-nojava-workaround
102 - provide-maven-settings:
103 global-settings-file: '{odl-global-settings}'
104 settings-file: '{sfc-settings}'
106 maven-version: '{mvn33}'
108 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
110 - '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
111 settings: '{sfc-settings}'
112 global-settings: '{odl-global-settings}'
116 - email-notification:
117 email-prefix: '[sfc]'
121 name: 'sfc-merge-{stream}'
123 # Job template for ODL merge jobs
125 # The purpose of this job template is to setup a ODL merge job
126 # and deploy artifacts to Nexus.
128 # Required Variables:
129 # stream: release stream (eg. stable-lithium or beryllium)
130 # branch: git branch (eg. stable/lithium or master)
137 daysToKeep: '{build-days-to-keep}'
138 numToKeep: '{build-num-to-keep}'
139 artifactDaysToKeep: '{build-artifact-days-to-keep}'
140 artifactNumToKeep: '{build-artifact-num-to-keep}'
147 - gerrit-trigger-scm:
148 credentials-id: '{ssh-credentials}'
150 choosing-strategy: 'default'
154 - ssh-agent-credentials:
156 - '{ssh-credentials}'
159 - gerrit-trigger-patch-merged:
164 - wipe-org-opendaylight-repo
165 - jacoco-nojava-workaround
166 - provide-maven-settings:
167 global-settings-file: '{odl-global-settings}'
168 settings-file: '{sfc-settings}'
171 maven-name: '{mvn33}'
173 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge'
174 maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
175 settings: '{sfc-settings}'
176 global-settings: '{odl-global-settings}'
182 - email-notification:
183 email-prefix: '[sfc]'
187 deploy-unstable: false
191 name: 'sfc-daily-{stream}'
193 # Job template for daily builders
195 # The purpose of this job template is to setup a daily/nightly
196 # builder and pushes to Sonar analysis.
198 # Required Variables:
199 # stream: release stream (eg. stable-lithium or beryllium)
200 # branch: git branch (eg. stable/lithium or master)
207 daysToKeep: '{build-days-to-keep}'
208 numToKeep: '{build-num-to-keep}'
209 artifactDaysToKeep: '{build-artifact-days-to-keep}'
210 artifactNumToKeep: '{build-artifact-num-to-keep}'
218 credentials-id: '{ssh-credentials}'
224 - ssh-agent-credentials:
226 - '{ssh-credentials}'
232 - wipe-org-opendaylight-repo
233 - jacoco-nojava-workaround
234 - provide-maven-settings:
235 global-settings-file: '{odl-global-settings}'
236 settings-file: '{sfc-settings}'
239 maven-name: '{mvn33}'
241 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
242 maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
243 settings: '{sfc-settings}'
244 global-settings: '{odl-global-settings}'
250 - email-notification:
251 email-prefix: '[sfc]'
255 name: 'sfc-distribution-{stream}'
257 # Required variables:
258 # stream: release stream (eg. stable-lithium or beryllium)
259 # branch: git branch (eg. stable/lithium or master)
266 daysToKeep: '{build-days-to-keep}'
267 numToKeep: '{build-num-to-keep}'
268 artifactDaysToKeep: '{build-artifact-days-to-keep}'
269 artifactNumToKeep: '{build-artifact-num-to-keep}'
273 project: 'integration'
277 credentials-id: '{ssh-credentials}'
283 - ssh-agent-credentials:
285 - '{ssh-credentials}'
289 jobs: '{project}-merge-{stream}'
293 - wipe-org-opendaylight-repo
294 - provide-maven-settings:
295 global-settings-file: '{odl-global-settings}'
296 settings-file: '{sfc-settings}'
299 maven-name: '{mvn33}'
301 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
302 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
303 settings: '{integration-settings}'
304 global-settings: '{odl-global-settings}'
307 - email-notification:
308 email-prefix: '[{project}]'
312 deploy-unstable: false
315 name: 'sfc-integration-{stream}'
318 # Job template for ODL integration verify jobs
320 # This is similar to a normal verify job, but it runs
321 # when a project that's a dependency of your project
322 # is successfully built.
324 # Required Variables:
325 # stream: release stream (eg. stable-lithium or beryllium)
326 # branch: git branch (eg. stable/lithium or master)
333 daysToKeep: '{build-days-to-keep}'
334 numToKeep: '{build-num-to-keep}'
335 artifactDaysToKeep: '{build-artifact-days-to-keep}'
336 artifactNumToKeep: '{build-artifact-num-to-keep}'
344 credentials-id: '{ssh-credentials}'
350 - ssh-agent-credentials:
352 - '{ssh-credentials}'
356 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},lispflowmapping-merge-{stream}'
360 - wipe-org-opendaylight-repo
361 - jacoco-nojava-workaround
362 - provide-maven-settings:
363 global-settings-file: '{odl-global-settings}'
364 settings-file: '{sfc-settings}'
367 maven-name: '{mvn33}'
369 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
370 maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
371 settings: '{sfc-settings}'
372 global-settings: '{odl-global-settings}'
378 - email-notification:
379 email-prefix: '[sfc] [odlparent] [yangtools] [controller] [openflowplugin] [ovsdb] [lispflowmapping]'
392 artifactDaysToKeep: '1'
393 artifactNumToKeep: '1'
401 credentials-id: '{ssh-credentials}'
407 - ssh-agent-credentials:
409 - '{ssh-credentials}'
413 - gerrit-trigger-patch-sonar:
417 - wipe-org-opendaylight-repo
418 - jacoco-nojava-workaround
419 - provide-maven-settings:
420 global-settings-file: '{odl-global-settings}'
421 settings-file: '{sfc-settings}'
424 maven-name: '{mvn33}'
426 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
427 maven-opts: '-Xmx2048m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
428 settings: '{sfc-settings}'
429 global-settings: '{odl-global-settings}'
437 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
438 - email-notification:
439 email-prefix: '[sfc]'
443 name: 'sfc-clm-{stream}'
450 daysToKeep: '{build-days-to-keep}'
451 numToKeep: '{build-num-to-keep}'
452 artifactDaysToKeep: '{build-artifact-days-to-keep}'
453 artifactNumToKeep: '{build-artifact-num-to-keep}'
461 credentials-id: '{ssh-credentials}'
467 - ssh-agent-credentials:
469 - '{ssh-credentials}'
475 - wipe-org-opendaylight-repo
476 - provide-maven-settings:
477 global-settings-file: '{odl-global-settings}'
478 settings-file: '{sfc-settings}'
481 maven-name: '{mvn33}'
483 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
484 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
485 settings: '{sfc-settings}'
486 global-settings: '{odl-global-settings}'
490 application-name: sfc
493 - email-notification:
494 email-prefix: '[sfc]'