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 - 'discovery-verify-{stream}'
10 - 'discovery-merge-{stream}'
11 - 'discovery-daily-{stream}'
12 - 'discovery-distribution-{stream}'
13 - 'discovery-integration-{stream}'
15 - 'discovery-clm-{stream}'
18 # stream: branch with - in place of / (eg. stable-helium)
19 # branch: branch (eg. stable/helium)
29 # For the Job templates below replace instances of:
30 # PROJECT with your project name (eg. controller)
31 # MAVEN_GOALS with your maven goals to build
32 # MAVEN_OPTS with your maven options to build
35 name: 'discovery-verify-{stream}'
37 # Job template for ODL verify jobs
39 # The purpose of this job template is to setup a ODL verify job
42 # stream: branch with - in place of / (eg. stable-helium)
43 # branch: branch (eg. stable/helium)
60 daysToKeep: '{build-days-to-keep}'
61 numToKeep: '{build-num-to-keep}'
62 artifactDaysToKeep: '{build-artifact-days-to-keep}'
63 artifactNumToKeep: '{build-artifact-num-to-keep}'
73 credentials-id: '{ssh-credentials}'
74 refspec: '$GERRIT_REFSPEC'
75 choosing-strategy: 'gerrit'
79 - ssh-agent-credentials:
84 - gerrit-trigger-patch-submitted:
89 - wipe-org-opendaylight-repo
91 maven-version: '{mvn33}'
93 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
95 - '-Xmx1024m -XX:MaxPermSize=256m'
96 settings: '{discovery-settings}'
97 global-settings: '{odl-global-settings}'
98 - jacoco-nojava-workaround
102 - email-notification:
103 email-prefix: '[discovery]'
107 name: 'discovery-merge-{stream}'
109 # Job template for ODL merge jobs
111 # The purpose of this job template is to setup a ODL merge job
112 # and deploy artifacts to Nexus.
114 # Required Variables:
115 # stream: branch with - in place of / (eg. stable-helium)
116 # branch: branch (eg. stable/helium)
123 daysToKeep: '{build-days-to-keep}'
124 numToKeep: '{build-num-to-keep}'
125 artifactDaysToKeep: '{build-artifact-days-to-keep}'
126 artifactNumToKeep: '{build-artifact-num-to-keep}'
133 - gerrit-trigger-scm:
134 credentials-id: '{ssh-credentials}'
136 choosing-strategy: 'default'
140 - ssh-agent-credentials:
142 - '{ssh-credentials}'
145 - gerrit-trigger-patch-merged:
150 - wipe-org-opendaylight-repo
153 maven-name: '{mvn33}'
155 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge'
156 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
157 settings: '{discovery-settings}'
158 global-settings: '{odl-global-settings}'
161 - jacoco-nojava-workaround
167 - email-notification:
168 email-prefix: '[discovery]'
172 deploy-unstable: false
176 name: 'discovery-daily-{stream}'
178 # Job template for daily builders
180 # The purpose of this job template is to setup a daily/nightly
181 # builder and pushes to Sonar analysis.
183 # Required Variables:
184 # stream: branch with - in place of / (eg. stable-helium)
185 # branch: branch (eg. stable/helium)
192 daysToKeep: '{build-days-to-keep}'
193 numToKeep: '{build-num-to-keep}'
194 artifactDaysToKeep: '{build-artifact-days-to-keep}'
195 artifactNumToKeep: '{build-artifact-num-to-keep}'
203 credentials-id: '{ssh-credentials}'
209 - ssh-agent-credentials:
211 - '{ssh-credentials}'
217 - wipe-org-opendaylight-repo
220 maven-name: '{mvn33}'
222 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
223 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
224 settings: '{discovery-settings}'
225 global-settings: '{odl-global-settings}'
228 - jacoco-nojava-workaround
234 - email-notification:
235 email-prefix: '[discovery]'
239 name: 'discovery-distribution-{stream}'
246 daysToKeep: '{build-days-to-keep}'
247 numToKeep: '{build-num-to-keep}'
248 artifactDaysToKeep: '{build-artifact-days-to-keep}'
249 artifactNumToKeep: '{build-artifact-num-to-keep}'
253 project: 'integration'
257 credentials-id: '{ssh-credentials}'
263 - ssh-agent-credentials:
265 - '{ssh-credentials}'
269 jobs: '{project}-merge-{stream}'
273 - wipe-org-opendaylight-repo
276 maven-name: '{mvn33}'
278 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
279 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
280 settings: '{integration-settings}'
281 global-settings: '{odl-global-settings}'
284 - email-notification:
285 email-prefix: '[{project}]'
289 deploy-unstable: false
292 name: 'discovery-integration-{stream}'
295 # Job template for ODL integration verify jobs
297 # This is similar to a normal verify job, but it runs
298 # when a project that's a dependency of your project
299 # is successfully built.
301 # Required Variables:
302 # stream: branch with - in place of / (eg. stable-helium)
303 # branch: branch (eg. stable/helium)
310 daysToKeep: '{build-days-to-keep}'
311 numToKeep: '{build-num-to-keep}'
312 artifactDaysToKeep: '{build-artifact-days-to-keep}'
313 artifactNumToKeep: '{build-artifact-num-to-keep}'
321 credentials-id: '{ssh-credentials}'
327 - ssh-agent-credentials:
329 - '{ssh-credentials}'
333 jobs: 'odlparent-merge-{stream}'
337 - wipe-org-opendaylight-repo
340 maven-name: '{mvn33}'
342 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
343 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
344 settings: '{discovery-settings}'
345 global-settings: '{odl-global-settings}'
348 - jacoco-nojava-workaround
354 - email-notification:
355 email-prefix: '[discovery] [odlparent]'
359 name: 'discovery-sonar'
368 artifactDaysToKeep: '1'
369 artifactNumToKeep: '1'
377 credentials-id: '{ssh-credentials}'
383 - ssh-agent-credentials:
385 - '{ssh-credentials}'
391 maven-name: '{mvn33}'
393 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
394 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
395 settings: '{discovery-settings}'
396 global-settings: '{odl-global-settings}'
399 - jacoco-nojava-workaround
407 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
408 - email-notification:
409 email-prefix: '[discovery]'
413 name: 'discovery-clm-{stream}'
420 daysToKeep: '{build-days-to-keep}'
421 numToKeep: '{build-num-to-keep}'
422 artifactDaysToKeep: '{build-artifact-days-to-keep}'
423 artifactNumToKeep: '{build-artifact-num-to-keep}'
431 credentials-id: '{ssh-credentials}'
437 - ssh-agent-credentials:
439 - '{ssh-credentials}'
445 - wipe-org-opendaylight-repo
448 maven-name: '{mvn33}'
450 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
451 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
452 settings: '{discovery-settings}'
453 global-settings: '{odl-global-settings}'
457 application-name: discovery
460 - email-notification:
461 email-prefix: '[discovery]'