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: release stream (eg. stable-lithium or beryllium)
19 # branch: git branch (eg. stable/lithium or master)
28 branch: 'stable/lithium'
34 branch: 'stable/helium'
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: 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
104 maven-version: '{mvn33}'
106 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate'
108 - '-Xmx1024m -XX:MaxPermSize=256m'
109 settings: '{tcpmd5-settings}'
110 global-settings: '{odl-global-settings}'
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: release stream (eg. stable-lithium or beryllium)
128 # branch: git branch (eg. stable/lithium or master)
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
163 - jacoco-nojava-workaround
166 maven-name: '{mvn33}'
168 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate -Dmerge'
169 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
170 settings: '{tcpmd5-settings}'
171 global-settings: '{odl-global-settings}'
177 - email-notification:
178 email-prefix: '[tcpmd5]'
182 deploy-unstable: false
186 name: 'tcpmd5-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: release stream (eg. stable-lithium or beryllium)
195 # branch: git branch (eg. stable/lithium or master)
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
228 - jacoco-nojava-workaround
231 maven-name: '{mvn33}'
233 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate'
234 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
235 settings: '{tcpmd5-settings}'
236 global-settings: '{odl-global-settings}'
242 - email-notification:
243 email-prefix: '[tcpmd5]'
247 name: 'tcpmd5-distribution-{stream}'
249 # Required variables:
250 # stream: release stream (eg. stable-lithium or beryllium)
251 # branch: git branch (eg. stable/lithium or master)
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: '{mvn33}'
290 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
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: release stream (eg. stable-lithium or beryllium)
315 # branch: git branch (eg. stable/lithium or master)
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
350 - jacoco-nojava-workaround
353 maven-name: '{mvn33}'
355 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate'
356 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
357 settings: '{tcpmd5-settings}'
358 global-settings: '{odl-global-settings}'
364 - email-notification:
365 email-prefix: '[tcpmd5] [odlparent] [yangtools] [controller]'
378 artifactDaysToKeep: '1'
379 artifactNumToKeep: '1'
387 credentials-id: '{ssh-credentials}'
393 - ssh-agent-credentials:
395 - '{ssh-credentials}'
399 - gerrit-trigger-patch-sonar:
403 - wipe-org-opendaylight-repo
404 - jacoco-nojava-workaround
407 maven-name: '{mvn33}'
409 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate -Dsonar'
410 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
411 settings: '{tcpmd5-settings}'
412 global-settings: '{odl-global-settings}'
420 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
421 - email-notification:
422 email-prefix: '[tcpmd5]'
426 name: 'tcpmd5-clm-{stream}'
433 daysToKeep: '{build-days-to-keep}'
434 numToKeep: '{build-num-to-keep}'
435 artifactDaysToKeep: '{build-artifact-days-to-keep}'
436 artifactNumToKeep: '{build-artifact-num-to-keep}'
444 credentials-id: '{ssh-credentials}'
450 - ssh-agent-credentials:
452 - '{ssh-credentials}'
458 - wipe-org-opendaylight-repo
461 maven-name: '{mvn33}'
463 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
464 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
465 settings: '{tcpmd5-settings}'
466 global-settings: '{odl-global-settings}'
470 application-name: tcpmd5
473 - email-notification:
474 email-prefix: '[tcpmd5]'