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'
33 # For the Job templates below replace instances of:
34 # PROJECT with your project name (eg. controller)
35 # MAVEN_GOALS with your maven goals to build
36 # MAVEN_OPTS with your maven options to build
39 name: 'sfc-verify-{stream}'
41 # Job template for ODL verify jobs
43 # The purpose of this job template is to setup a ODL verify job
46 # stream: branch with - in place of / (eg. stable-helium)
47 # branch: branch (eg. stable/helium)
64 daysToKeep: '{build-days-to-keep}'
65 numToKeep: '{build-num-to-keep}'
66 artifactDaysToKeep: '{build-artifact-days-to-keep}'
67 artifactNumToKeep: '{build-artifact-num-to-keep}'
77 credentials-id: '{ssh-credentials}'
78 refspec: '$GERRIT_REFSPEC'
79 choosing-strategy: 'gerrit'
83 - ssh-agent-credentials:
88 - gerrit-trigger-patch-submitted:
93 - wipe-org-opendaylight-repo
95 maven-version: '{mvn32}'
97 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
99 - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
100 settings: '{sfc-settings}'
101 global-settings: '{odl-global-settings}'
102 - jacoco-nojava-workaround
106 - email-notification:
107 email-prefix: '[sfc]'
111 name: 'sfc-merge-{stream}'
113 # Job template for ODL merge jobs
115 # The purpose of this job template is to setup a ODL merge job
116 # and deploy artifacts to Nexus.
118 # Required Variables:
119 # stream: branch with - in place of / (eg. stable-helium)
120 # branch: branch (eg. stable/helium)
127 daysToKeep: '{build-days-to-keep}'
128 numToKeep: '{build-num-to-keep}'
129 artifactDaysToKeep: '{build-artifact-days-to-keep}'
130 artifactNumToKeep: '{build-artifact-num-to-keep}'
137 - gerrit-trigger-scm:
138 credentials-id: '{ssh-credentials}'
140 choosing-strategy: 'default'
144 - ssh-agent-credentials:
146 - '{ssh-credentials}'
149 - gerrit-trigger-patch-merged:
154 - wipe-org-opendaylight-repo
157 maven-name: '{mvn32}'
159 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
160 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
161 settings: '{sfc-settings}'
162 global-settings: '{odl-global-settings}'
165 - jacoco-nojava-workaround
172 - email-notification:
173 email-prefix: '[sfc]'
177 deploy-unstable: false
181 name: 'sfc-daily-{stream}'
183 # Job template for daily builders
185 # The purpose of this job template is to setup a daily/nightly
186 # builder and pushes to Sonar analysis.
188 # Required Variables:
189 # stream: branch with - in place of / (eg. stable-helium)
190 # branch: branch (eg. stable/helium)
197 daysToKeep: '{build-days-to-keep}'
198 numToKeep: '{build-num-to-keep}'
199 artifactDaysToKeep: '{build-artifact-days-to-keep}'
200 artifactNumToKeep: '{build-artifact-num-to-keep}'
208 credentials-id: '{ssh-credentials}'
214 - ssh-agent-credentials:
216 - '{ssh-credentials}'
222 - wipe-org-opendaylight-repo
225 maven-name: '{mvn32}'
227 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
228 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
229 settings: '{sfc-settings}'
230 global-settings: '{odl-global-settings}'
233 - jacoco-nojava-workaround
239 - email-notification:
240 email-prefix: '[sfc]'
244 name: 'sfc-integration-{stream}'
247 # Job template for ODL merge jobs
249 # The purpose of this job template is to setup a ODL merge job
250 # and deploy artifacts to Nexus.
252 # Required Variables:
253 # stream: branch with - in place of / (eg. stable-helium)
254 # branch: branch (eg. stable/helium)
261 daysToKeep: '{build-days-to-keep}'
262 numToKeep: '{build-num-to-keep}'
263 artifactDaysToKeep: '{build-artifact-days-to-keep}'
264 artifactNumToKeep: '{build-artifact-num-to-keep}'
272 credentials-id: '{ssh-credentials}'
278 - ssh-agent-credentials:
280 - '{ssh-credentials}'
284 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},lispflowmapping-merge-{stream}'
288 - wipe-org-opendaylight-repo
291 maven-name: '{mvn32}'
293 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
294 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
295 settings: '{sfc-settings}'
296 global-settings: '{odl-global-settings}'
299 - jacoco-nojava-workaround
305 - email-notification:
306 email-prefix: '[sfc] [odlparent] [yangtools] [controller] [openflowplugin] [ovsdb] [lispflowmapping]'
319 artifactDaysToKeep: '1'
320 artifactNumToKeep: '1'
328 credentials-id: '{ssh-credentials}'
334 - ssh-agent-credentials:
336 - '{ssh-credentials}'
342 maven-name: '{mvn32}'
344 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
345 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
346 settings: '{sfc-settings}'
347 global-settings: '{odl-global-settings}'
350 - jacoco-nojava-workaround
358 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
359 - email-notification:
360 email-prefix: '[sfc]'
371 daysToKeep: '{build-days-to-keep}'
372 numToKeep: '{build-num-to-keep}'
373 artifactDaysToKeep: '{build-artifact-days-to-keep}'
374 artifactNumToKeep: '{build-artifact-num-to-keep}'
382 credentials-id: '{ssh-credentials}'
388 - ssh-agent-credentials:
390 - '{ssh-credentials}'
396 - wipe-org-opendaylight-repo
399 maven-name: '{mvn32}'
401 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
402 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
403 settings: '{sfc-settings}'
404 global-settings: '{odl-global-settings}'
408 application-name: sfc
411 - email-notification:
412 email-prefix: '[sfc]'