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 - 'topoprocessing-verify-{stream}'
10 - 'topoprocessing-merge-{stream}'
11 - 'topoprocessing-daily-{stream}'
12 - 'topoprocessing-distribution-{stream}'
13 - 'topoprocessing-integration-{stream}'
14 - 'topoprocessing-sonar'
15 - 'topoprocessing-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 project: 'topoprocessing'
36 # For the Job templates below replace instances of:
37 # PROJECT with your project name (eg. controller)
38 # MAVEN_GOALS with your maven goals to build
39 # MAVEN_OPTS with your maven options to build
42 name: 'topoprocessing-verify-{stream}'
44 # Job template for ODL verify jobs
46 # The purpose of this job template is to setup a ODL verify job
49 # stream: release stream (eg. stable-lithium or beryllium)
50 # branch: git branch (eg. stable/lithium or master)
67 daysToKeep: '{build-days-to-keep}'
68 numToKeep: '{build-num-to-keep}'
69 artifactDaysToKeep: '{build-artifact-days-to-keep}'
70 artifactNumToKeep: '{build-artifact-num-to-keep}'
80 credentials-id: '{ssh-credentials}'
81 refspec: '$GERRIT_REFSPEC'
82 choosing-strategy: 'gerrit'
86 - ssh-agent-credentials:
91 - gerrit-trigger-patch-submitted:
92 name: 'topoprocessing'
96 - wipe-org-opendaylight-repo
97 - jacoco-nojava-workaround
99 maven-version: '{mvn33}'
101 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
103 - '-Xmx1024m -XX:MaxPermSize=256m'
104 settings: '{topoprocessing-settings}'
105 global-settings: '{odl-global-settings}'
109 - email-notification:
110 email-prefix: '[topoprocessing]'
114 name: 'topoprocessing-merge-{stream}'
116 # Job template for ODL merge jobs
118 # The purpose of this job template is to setup a ODL merge job
119 # and deploy artifacts to Nexus.
121 # Required Variables:
122 # stream: release stream (eg. stable-lithium or beryllium)
123 # branch: git branch (eg. stable/lithium or master)
130 daysToKeep: '{build-days-to-keep}'
131 numToKeep: '{build-num-to-keep}'
132 artifactDaysToKeep: '{build-artifact-days-to-keep}'
133 artifactNumToKeep: '{build-artifact-num-to-keep}'
140 - gerrit-trigger-scm:
141 credentials-id: '{ssh-credentials}'
143 choosing-strategy: 'default'
147 - ssh-agent-credentials:
149 - '{ssh-credentials}'
152 - gerrit-trigger-patch-merged:
153 name: 'topoprocessing'
157 - wipe-org-opendaylight-repo
158 - jacoco-nojava-workaround
161 maven-name: '{mvn33}'
163 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge'
164 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
165 settings: '{topoprocessing-settings}'
166 global-settings: '{odl-global-settings}'
172 - email-notification:
173 email-prefix: '[topoprocessing]'
177 deploy-unstable: false
181 name: 'topoprocessing-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: release stream (eg. stable-lithium or beryllium)
190 # branch: git branch (eg. stable/lithium or master)
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
223 - jacoco-nojava-workaround
226 maven-name: '{mvn33}'
228 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
229 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
230 settings: '{topoprocessing-settings}'
231 global-settings: '{odl-global-settings}'
237 - email-notification:
238 email-prefix: '[topoprocessing]'
242 name: 'topoprocessing-distribution-{stream}'
244 # Required variables:
245 # stream: release stream (eg. stable-lithium or beryllium)
246 # branch: git branch (eg. stable/lithium or master)
253 daysToKeep: '{build-days-to-keep}'
254 numToKeep: '{build-num-to-keep}'
255 artifactDaysToKeep: '{build-artifact-days-to-keep}'
256 artifactNumToKeep: '{build-artifact-num-to-keep}'
260 project: 'integration'
264 credentials-id: '{ssh-credentials}'
270 - ssh-agent-credentials:
272 - '{ssh-credentials}'
276 jobs: '{project}-merge-{stream}'
280 - wipe-org-opendaylight-repo
283 maven-name: '{mvn33}'
285 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
286 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
287 settings: '{integration-settings}'
288 global-settings: '{odl-global-settings}'
291 - email-notification:
292 email-prefix: '[{project}]'
296 deploy-unstable: false
299 name: 'topoprocessing-integration-{stream}'
302 # Job template for ODL integration verify jobs
304 # This is similar to a normal verify job, but it runs
305 # when a project that's a dependency of your project
306 # is successfully built.
308 # Required Variables:
309 # stream: release stream (eg. stable-lithium or beryllium)
310 # branch: git branch (eg. stable/lithium or master)
317 daysToKeep: '{build-days-to-keep}'
318 numToKeep: '{build-num-to-keep}'
319 artifactDaysToKeep: '{build-artifact-days-to-keep}'
320 artifactNumToKeep: '{build-artifact-num-to-keep}'
328 credentials-id: '{ssh-credentials}'
334 - ssh-agent-credentials:
336 - '{ssh-credentials}'
340 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
344 - wipe-org-opendaylight-repo
345 - jacoco-nojava-workaround
348 maven-name: '{mvn33}'
350 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
351 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
352 settings: '{topoprocessing-settings}'
353 global-settings: '{odl-global-settings}'
359 - email-notification:
360 email-prefix: '[topoprocessing] [odlparent] [controller] [yangtools]'
364 name: 'topoprocessing-sonar'
373 artifactDaysToKeep: '1'
374 artifactNumToKeep: '1'
382 credentials-id: '{ssh-credentials}'
388 - ssh-agent-credentials:
390 - '{ssh-credentials}'
394 - gerrit-trigger-patch-sonar:
395 name: 'topoprocessing'
398 - wipe-org-opendaylight-repo
399 - jacoco-nojava-workaround
402 maven-name: '{mvn33}'
404 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
405 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
406 settings: '{topoprocessing-settings}'
407 global-settings: '{odl-global-settings}'
415 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
416 - email-notification:
417 email-prefix: '[topoprocessing]'
421 name: 'topoprocessing-clm-{stream}'
428 daysToKeep: '{build-days-to-keep}'
429 numToKeep: '{build-num-to-keep}'
430 artifactDaysToKeep: '{build-artifact-days-to-keep}'
431 artifactNumToKeep: '{build-artifact-num-to-keep}'
439 credentials-id: '{ssh-credentials}'
445 - ssh-agent-credentials:
447 - '{ssh-credentials}'
453 - wipe-org-opendaylight-repo
456 maven-name: '{mvn33}'
458 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
459 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
460 settings: '{topoprocessing-settings}'
461 global-settings: '{odl-global-settings}'
465 application-name: topoprocessing
468 - email-notification:
469 email-prefix: '[topoprocessing]'