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 - 'neutron-verify-{stream}'
10 - 'neutron-merge-{stream}'
11 - 'neutron-daily-{stream}'
12 - 'neutron-distribution-{stream}'
13 - 'neutron-integration-{stream}'
15 - 'neutron-clm-{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: 'neutron-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: '{mvn33}'
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: '{neutron-settings}'
104 global-settings: '{odl-global-settings}'
105 - jacoco-nojava-workaround
109 - email-notification:
110 email-prefix: '[neutron]'
114 name: 'neutron-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: '{mvn33}'
162 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge'
163 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
164 settings: '{neutron-settings}'
165 global-settings: '{odl-global-settings}'
168 - jacoco-nojava-workaround
174 - email-notification:
175 email-prefix: '[neutron]'
179 deploy-unstable: false
183 name: 'neutron-daily-{stream}'
185 # Job template for daily builders
187 # The purpose of this job template is to setup a daily/nightly
188 # builder and pushes to Sonar analysis.
190 # Required Variables:
191 # stream: branch with - in place of / (eg. stable-helium)
192 # branch: branch (eg. stable/helium)
199 daysToKeep: '{build-days-to-keep}'
200 numToKeep: '{build-num-to-keep}'
201 artifactDaysToKeep: '{build-artifact-days-to-keep}'
202 artifactNumToKeep: '{build-artifact-num-to-keep}'
210 credentials-id: '{ssh-credentials}'
216 - ssh-agent-credentials:
218 - '{ssh-credentials}'
224 - wipe-org-opendaylight-repo
227 maven-name: '{mvn33}'
229 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
230 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
231 settings: '{neutron-settings}'
232 global-settings: '{odl-global-settings}'
235 - jacoco-nojava-workaround
241 - email-notification:
242 email-prefix: '[neutron]'
246 name: 'neutron-distribution-{stream}'
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: 'neutron-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: branch with - in place of / (eg. stable-helium)
310 # branch: branch (eg. stable/helium)
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},aaa-merge-{stream}'
344 - wipe-org-opendaylight-repo
347 maven-name: '{mvn33}'
349 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
350 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
351 settings: '{neutron-settings}'
352 global-settings: '{odl-global-settings}'
355 - jacoco-nojava-workaround
361 - email-notification:
362 email-prefix: '[neutron] [odlparent] [aaa]'
366 name: 'neutron-sonar'
375 artifactDaysToKeep: '1'
376 artifactNumToKeep: '1'
384 credentials-id: '{ssh-credentials}'
390 - ssh-agent-credentials:
392 - '{ssh-credentials}'
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: '{neutron-settings}'
403 global-settings: '{odl-global-settings}'
406 - jacoco-nojava-workaround
414 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
415 - email-notification:
416 email-prefix: '[neutron]'
420 name: 'neutron-clm-{stream}'
427 daysToKeep: '{build-days-to-keep}'
428 numToKeep: '{build-num-to-keep}'
429 artifactDaysToKeep: '{build-artifact-days-to-keep}'
430 artifactNumToKeep: '{build-artifact-num-to-keep}'
438 credentials-id: '{ssh-credentials}'
444 - ssh-agent-credentials:
446 - '{ssh-credentials}'
452 - wipe-org-opendaylight-repo
455 maven-name: '{mvn33}'
457 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
458 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
459 settings: '{neutron-settings}'
460 global-settings: '{odl-global-settings}'
464 application-name: neutron
467 - email-notification:
468 email-prefix: '[neutron]'