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-integration-{stream}'
17 # stream: branch with - in place of / (eg. stable-helium)
18 # branch: branch (eg. stable/helium)
26 branch: 'stable/helium'
31 branch: 'stable/lithium'
38 # For the Job templates below replace instances of:
39 # PROJECT with your project name (eg. controller)
40 # MAVEN_GOALS with your maven goals to build
41 # MAVEN_OPTS with your maven options to build
44 name: 'sfc-verify-{stream}'
46 # Job template for ODL verify jobs
48 # The purpose of this job template is to setup a ODL verify job
51 # stream: branch with - in place of / (eg. stable-helium)
52 # branch: branch (eg. stable/helium)
69 daysToKeep: '{build-days-to-keep}'
70 numToKeep: '{build-num-to-keep}'
71 artifactDaysToKeep: '{build-artifact-days-to-keep}'
72 artifactNumToKeep: '{build-artifact-num-to-keep}'
82 credentials-id: '{ssh-credentials}'
83 refspec: '$GERRIT_REFSPEC'
84 choosing-strategy: 'gerrit'
88 - ssh-agent-credentials:
93 - gerrit-trigger-patch-submitted:
98 - wipe-org-opendaylight-repo
100 maven-version: '{mvn32}'
102 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
104 - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
105 settings: '{sfc-settings}'
106 global-settings: '{odl-global-settings}'
107 - jacoco-nojava-workaround
111 - email-notification:
112 email-prefix: '[sfc]'
116 name: 'sfc-merge-{stream}'
118 # Job template for ODL merge jobs
120 # The purpose of this job template is to setup a ODL merge job
121 # and deploy artifacts to Nexus.
123 # Required Variables:
124 # stream: branch with - in place of / (eg. stable-helium)
125 # branch: branch (eg. stable/helium)
132 daysToKeep: '{build-days-to-keep}'
133 numToKeep: '{build-num-to-keep}'
134 artifactDaysToKeep: '{build-artifact-days-to-keep}'
135 artifactNumToKeep: '{build-artifact-num-to-keep}'
142 - gerrit-trigger-scm:
143 credentials-id: '{ssh-credentials}'
145 choosing-strategy: 'default'
149 - ssh-agent-credentials:
151 - '{ssh-credentials}'
154 - gerrit-trigger-patch-merged:
159 - wipe-org-opendaylight-repo
162 maven-name: '{mvn32}'
164 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
165 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
166 settings: '{sfc-settings}'
167 global-settings: '{odl-global-settings}'
170 - 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: '{mvn32}'
232 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
233 maven-opts: '-Xmx1024m -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-integration-{stream}'
252 # Job template for ODL integration verify jobs
254 # This is similar to a normal verify job, but it runs
255 # when a project that's a dependency of your project
256 # is successfully built.
258 # Required Variables:
259 # stream: branch with - in place of / (eg. stable-helium)
260 # branch: branch (eg. stable/helium)
267 daysToKeep: '{build-days-to-keep}'
268 numToKeep: '{build-num-to-keep}'
269 artifactDaysToKeep: '{build-artifact-days-to-keep}'
270 artifactNumToKeep: '{build-artifact-num-to-keep}'
278 credentials-id: '{ssh-credentials}'
284 - ssh-agent-credentials:
286 - '{ssh-credentials}'
290 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},lispflowmapping-merge-{stream}'
294 - wipe-org-opendaylight-repo
297 maven-name: '{mvn32}'
299 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
300 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
301 settings: '{sfc-settings}'
302 global-settings: '{odl-global-settings}'
305 - jacoco-nojava-workaround
311 - email-notification:
312 email-prefix: '[sfc] [odlparent] [yangtools] [controller] [openflowplugin] [ovsdb] [lispflowmapping]'
325 artifactDaysToKeep: '1'
326 artifactNumToKeep: '1'
334 credentials-id: '{ssh-credentials}'
340 - ssh-agent-credentials:
342 - '{ssh-credentials}'
348 maven-name: '{mvn32}'
350 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
351 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
352 settings: '{sfc-settings}'
353 global-settings: '{odl-global-settings}'
356 - jacoco-nojava-workaround
364 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
365 - email-notification:
366 email-prefix: '[sfc]'
377 daysToKeep: '{build-days-to-keep}'
378 numToKeep: '{build-num-to-keep}'
379 artifactDaysToKeep: '{build-artifact-days-to-keep}'
380 artifactNumToKeep: '{build-artifact-num-to-keep}'
388 credentials-id: '{ssh-credentials}'
394 - ssh-agent-credentials:
396 - '{ssh-credentials}'
402 - wipe-org-opendaylight-repo
405 maven-name: '{mvn32}'
407 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
408 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
409 settings: '{sfc-settings}'
410 global-settings: '{odl-global-settings}'
414 application-name: sfc
417 - email-notification:
418 email-prefix: '[sfc]'