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 - 'persistence-verify-{stream}'
10 - 'persistence-merge-{stream}'
11 - 'persistence-daily-{stream}'
12 - 'persistence-distribution-{stream}'
13 - 'persistence-integration-{stream}'
18 # stream: branch with - in place of / (eg. stable-helium)
19 # branch: branch (eg. stable/helium)
28 branch: 'stable/lithium'
34 project: 'persistence'
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: 'persistence-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
98 maven-version: '{mvn32}'
100 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
102 - '-Xmx1024m -XX:MaxPermSize=256m'
103 settings: '{persistence-settings}'
104 global-settings: '{odl-global-settings}'
105 - jacoco-nojava-workaround
109 - email-notification:
110 email-prefix: '[persistence]'
114 name: 'persistence-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
160 maven-name: '{mvn32}'
162 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
163 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
164 settings: '{persistence-settings}'
165 global-settings: '{odl-global-settings}'
168 - jacoco-nojava-workaround
175 - email-notification:
176 email-prefix: '[persistence]'
180 deploy-unstable: false
184 name: 'persistence-daily-{stream}'
186 # Job template for daily builders
188 # The purpose of this job template is to setup a daily/nightly
189 # builder and pushes to Sonar analysis.
191 # Required Variables:
192 # stream: branch with - in place of / (eg. stable-helium)
193 # branch: branch (eg. stable/helium)
200 daysToKeep: '{build-days-to-keep}'
201 numToKeep: '{build-num-to-keep}'
202 artifactDaysToKeep: '{build-artifact-days-to-keep}'
203 artifactNumToKeep: '{build-artifact-num-to-keep}'
211 credentials-id: '{ssh-credentials}'
217 - ssh-agent-credentials:
219 - '{ssh-credentials}'
225 - wipe-org-opendaylight-repo
228 maven-name: '{mvn32}'
230 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
231 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
232 settings: '{persistence-settings}'
233 global-settings: '{odl-global-settings}'
236 - jacoco-nojava-workaround
242 - email-notification:
243 email-prefix: '[persistence]'
247 name: 'persistence-distribution-{stream}'
254 daysToKeep: '{build-days-to-keep}'
255 numToKeep: '{build-num-to-keep}'
256 artifactDaysToKeep: '{build-artifact-days-to-keep}'
257 artifactNumToKeep: '{build-artifact-num-to-keep}'
261 project: 'integration'
265 credentials-id: '{ssh-credentials}'
271 - ssh-agent-credentials:
273 - '{ssh-credentials}'
277 jobs: '{project}-merge-{stream}'
281 - wipe-org-opendaylight-repo
284 maven-name: '{mvn32}'
286 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install source:jar javadoc:jar'
287 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
288 settings: '{integration-settings}'
289 global-settings: '{odl-global-settings}'
292 - email-notification:
293 email-prefix: '[{project}]'
297 deploy-unstable: false
300 name: 'persistence-integration-{stream}'
303 # Job template for ODL integration verify jobs
305 # This is similar to a normal verify job, but it runs
306 # when a project that's a dependency of your project
307 # is successfully built.
309 # Required Variables:
310 # stream: branch with - in place of / (eg. stable-helium)
311 # branch: branch (eg. stable/helium)
318 daysToKeep: '{build-days-to-keep}'
319 numToKeep: '{build-num-to-keep}'
320 artifactDaysToKeep: '{build-artifact-days-to-keep}'
321 artifactNumToKeep: '{build-artifact-num-to-keep}'
329 credentials-id: '{ssh-credentials}'
335 - ssh-agent-credentials:
337 - '{ssh-credentials}'
341 jobs: 'odlparent-merge-{stream}'
345 - wipe-org-opendaylight-repo
348 maven-name: '{mvn32}'
350 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
351 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
352 settings: '{persistence-settings}'
353 global-settings: '{odl-global-settings}'
356 - jacoco-nojava-workaround
362 - email-notification:
363 email-prefix: '[persistence] [odlparent]'
367 name: 'persistence-sonar'
376 artifactDaysToKeep: '1'
377 artifactNumToKeep: '1'
385 credentials-id: '{ssh-credentials}'
391 - ssh-agent-credentials:
393 - '{ssh-credentials}'
399 maven-name: '{mvn32}'
401 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
402 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
403 settings: '{persistence-settings}'
404 global-settings: '{odl-global-settings}'
407 - jacoco-nojava-workaround
415 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
416 - email-notification:
417 email-prefix: '[persistence]'
421 name: 'persistence-clm'
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: '{mvn32}'
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: '{persistence-settings}'
461 global-settings: '{odl-global-settings}'
465 application-name: persistence
468 - email-notification:
469 email-prefix: '[persistence]'