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 - 'usc-verify-{stream}'
10 - 'usc-merge-{stream}'
11 - 'usc-daily-{stream}'
12 - 'usc-distribution-{stream}'
13 - 'usc-integration-{stream}'
18 # stream: branch with - in place of / (eg. stable-helium)
19 # branch: branch (eg. stable/helium)
28 branch: 'stable/lithium'
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: 'usc-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: branch with - in place of / (eg. stable-helium)
50 # branch: branch (eg. stable/helium)
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:
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: '{usc-settings}'
105 global-settings: '{odl-global-settings}'
109 - email-notification:
110 email-prefix: '[usc]'
114 name: 'usc-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: branch with - in place of / (eg. stable-helium)
123 # branch: branch (eg. stable/helium)
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:
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: '{usc-settings}'
166 global-settings: '{odl-global-settings}'
172 - email-notification:
173 email-prefix: '[usc]'
177 deploy-unstable: false
181 name: 'usc-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
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: '{usc-settings}'
231 global-settings: '{odl-global-settings}'
237 - email-notification:
238 email-prefix: '[usc]'
242 name: 'usc-distribution-{stream}'
249 daysToKeep: '{build-days-to-keep}'
250 numToKeep: '{build-num-to-keep}'
251 artifactDaysToKeep: '{build-artifact-days-to-keep}'
252 artifactNumToKeep: '{build-artifact-num-to-keep}'
256 project: 'integration'
260 credentials-id: '{ssh-credentials}'
266 - ssh-agent-credentials:
268 - '{ssh-credentials}'
272 jobs: '{project}-merge-{stream}'
276 - wipe-org-opendaylight-repo
279 maven-name: '{mvn33}'
281 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
282 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
283 settings: '{integration-settings}'
284 global-settings: '{odl-global-settings}'
287 - email-notification:
288 email-prefix: '[{project}]'
292 deploy-unstable: false
295 name: 'usc-integration-{stream}'
298 # Job template for ODL integration verify jobs
300 # This is similar to a normal verify job, but it runs
301 # when a project that's a dependency of your project
302 # is successfully built.
304 # Required Variables:
305 # stream: branch with - in place of / (eg. stable-helium)
306 # branch: branch (eg. stable/helium)
313 daysToKeep: '{build-days-to-keep}'
314 numToKeep: '{build-num-to-keep}'
315 artifactDaysToKeep: '{build-artifact-days-to-keep}'
316 artifactNumToKeep: '{build-artifact-num-to-keep}'
324 credentials-id: '{ssh-credentials}'
330 - ssh-agent-credentials:
332 - '{ssh-credentials}'
336 jobs: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream}'
340 - wipe-org-opendaylight-repo
341 - jacoco-nojava-workaround
344 maven-name: '{mvn33}'
346 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
347 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
348 settings: '{usc-settings}'
349 global-settings: '{odl-global-settings}'
355 - email-notification:
356 email-prefix: '[usc] [controller] [yangtools] [odlparent]'
369 artifactDaysToKeep: '1'
370 artifactNumToKeep: '1'
378 credentials-id: '{ssh-credentials}'
384 - ssh-agent-credentials:
386 - '{ssh-credentials}'
390 - gerrit-trigger-patch-sonar:
394 - wipe-org-opendaylight-repo
395 - jacoco-nojava-workaround
398 maven-name: '{mvn33}'
400 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
401 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
402 settings: '{usc-settings}'
403 global-settings: '{odl-global-settings}'
411 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
412 - email-notification:
413 email-prefix: '[usc]'
417 name: 'usc-clm-{stream}'
424 daysToKeep: '{build-days-to-keep}'
425 numToKeep: '{build-num-to-keep}'
426 artifactDaysToKeep: '{build-artifact-days-to-keep}'
427 artifactNumToKeep: '{build-artifact-num-to-keep}'
435 credentials-id: '{ssh-credentials}'
441 - ssh-agent-credentials:
443 - '{ssh-credentials}'
449 - wipe-org-opendaylight-repo
452 maven-name: '{mvn33}'
454 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
455 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
456 settings: '{usc-settings}'
457 global-settings: '{odl-global-settings}'
461 application-name: usc
464 - email-notification:
465 email-prefix: '[usc]'