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 - 'tcpmd5-verify-{stream}'
10 - 'tcpmd5-merge-{stream}'
11 - 'tcpmd5-daily-{stream}'
12 - 'tcpmd5-distribution-{stream}'
13 - 'tcpmd5-integration-{stream}'
15 - 'tcpmd5-clm-{stream}'
18 # stream: branch with - in place of / (eg. stable-helium)
19 # branch: branch (eg. stable/helium)
28 branch: 'stable/helium'
33 branch: 'stable/lithium'
41 # For the Job templates below replace instances of:
42 # PROJECT with your project name (eg. controller)
43 # MAVEN_GOALS with your maven goals to build
44 # MAVEN_OPTS with your maven options to build
47 name: 'tcpmd5-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: branch with - in place of / (eg. stable-helium)
55 # branch: branch (eg. stable/helium)
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
103 maven-version: '{mvn32}'
105 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate'
107 - '-Xmx1024m -XX:MaxPermSize=256m'
108 settings: '{tcpmd5-settings}'
109 global-settings: '{odl-global-settings}'
110 - jacoco-nojava-workaround
114 - email-notification:
115 email-prefix: '[tcpmd5]'
119 name: 'tcpmd5-merge-{stream}'
121 # Job template for ODL merge jobs
123 # The purpose of this job template is to setup a ODL merge job
124 # and deploy artifacts to Nexus.
126 # Required Variables:
127 # stream: branch with - in place of / (eg. stable-helium)
128 # branch: branch (eg. stable/helium)
135 daysToKeep: '{build-days-to-keep}'
136 numToKeep: '{build-num-to-keep}'
137 artifactDaysToKeep: '{build-artifact-days-to-keep}'
138 artifactNumToKeep: '{build-artifact-num-to-keep}'
145 - gerrit-trigger-scm:
146 credentials-id: '{ssh-credentials}'
148 choosing-strategy: 'default'
152 - ssh-agent-credentials:
154 - '{ssh-credentials}'
157 - gerrit-trigger-patch-merged:
162 - wipe-org-opendaylight-repo
165 maven-name: '{mvn32}'
167 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate source:jar javadoc:jar -Dmerge'
168 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
169 settings: '{tcpmd5-settings}'
170 global-settings: '{odl-global-settings}'
173 - jacoco-nojava-workaround
179 - email-notification:
180 email-prefix: '[tcpmd5]'
184 deploy-unstable: false
188 name: 'tcpmd5-daily-{stream}'
190 # Job template for daily builders
192 # The purpose of this job template is to setup a daily/nightly
193 # builder and pushes to Sonar analysis.
195 # Required Variables:
196 # stream: branch with - in place of / (eg. stable-helium)
197 # branch: branch (eg. stable/helium)
204 daysToKeep: '{build-days-to-keep}'
205 numToKeep: '{build-num-to-keep}'
206 artifactDaysToKeep: '{build-artifact-days-to-keep}'
207 artifactNumToKeep: '{build-artifact-num-to-keep}'
215 credentials-id: '{ssh-credentials}'
221 - ssh-agent-credentials:
223 - '{ssh-credentials}'
229 - wipe-org-opendaylight-repo
232 maven-name: '{mvn32}'
234 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate source:jar javadoc:jar'
235 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
236 settings: '{tcpmd5-settings}'
237 global-settings: '{odl-global-settings}'
240 - jacoco-nojava-workaround
246 - email-notification:
247 email-prefix: '[tcpmd5]'
251 name: 'tcpmd5-distribution-{stream}'
258 daysToKeep: '{build-days-to-keep}'
259 numToKeep: '{build-num-to-keep}'
260 artifactDaysToKeep: '{build-artifact-days-to-keep}'
261 artifactNumToKeep: '{build-artifact-num-to-keep}'
265 project: 'integration'
269 credentials-id: '{ssh-credentials}'
275 - ssh-agent-credentials:
277 - '{ssh-credentials}'
281 jobs: '{project}-merge-{stream}'
285 - wipe-org-opendaylight-repo
288 maven-name: '{mvn32}'
290 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install source:jar javadoc:jar'
291 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
292 settings: '{integration-settings}'
293 global-settings: '{odl-global-settings}'
296 - email-notification:
297 email-prefix: '[{project}]'
301 deploy-unstable: false
304 name: 'tcpmd5-integration-{stream}'
307 # Job template for ODL integration verify jobs
309 # This is similar to a normal verify job, but it runs
310 # when a project that's a dependency of your project
311 # is successfully built.
313 # Required Variables:
314 # stream: branch with - in place of / (eg. stable-helium)
315 # branch: branch (eg. stable/helium)
322 daysToKeep: '{build-days-to-keep}'
323 numToKeep: '{build-num-to-keep}'
324 artifactDaysToKeep: '{build-artifact-days-to-keep}'
325 artifactNumToKeep: '{build-artifact-num-to-keep}'
333 credentials-id: '{ssh-credentials}'
339 - ssh-agent-credentials:
341 - '{ssh-credentials}'
345 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
349 - wipe-org-opendaylight-repo
352 maven-name: '{mvn32}'
354 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate source:jar javadoc:jar'
355 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
356 settings: '{tcpmd5-settings}'
357 global-settings: '{odl-global-settings}'
360 - jacoco-nojava-workaround
366 - email-notification:
367 email-prefix: '[tcpmd5] [odlparent] [yangtools] [controller]'
380 artifactDaysToKeep: '1'
381 artifactNumToKeep: '1'
389 credentials-id: '{ssh-credentials}'
395 - ssh-agent-credentials:
397 - '{ssh-credentials}'
403 maven-name: '{mvn32}'
405 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate -Dsonar'
406 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
407 settings: '{tcpmd5-settings}'
408 global-settings: '{odl-global-settings}'
411 - jacoco-nojava-workaround
419 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
420 - email-notification:
421 email-prefix: '[tcpmd5]'
425 name: 'tcpmd5-clm-{stream}'
432 daysToKeep: '{build-days-to-keep}'
433 numToKeep: '{build-num-to-keep}'
434 artifactDaysToKeep: '{build-artifact-days-to-keep}'
435 artifactNumToKeep: '{build-artifact-num-to-keep}'
443 credentials-id: '{ssh-credentials}'
449 - ssh-agent-credentials:
451 - '{ssh-credentials}'
457 - wipe-org-opendaylight-repo
460 maven-name: '{mvn32}'
462 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
463 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
464 settings: '{tcpmd5-settings}'
465 global-settings: '{odl-global-settings}'
469 application-name: tcpmd5
472 - email-notification:
473 email-prefix: '[tcpmd5]'