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
90 - jacoco-nojava-workaround
92 maven-version: '{mvn33}'
94 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
96 - '-Xmx1024m -XX:MaxPermSize=256m'
97 settings: '{discovery-settings}'
98 global-settings: '{odl-global-settings}'
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
151 - jacoco-nojava-workaround
154 maven-name: '{mvn33}'
156 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge'
157 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
158 settings: '{discovery-settings}'
159 global-settings: '{odl-global-settings}'
165 - email-notification:
166 email-prefix: '[discovery]'
170 deploy-unstable: false
174 name: 'discovery-daily-{stream}'
176 # Job template for daily builders
178 # The purpose of this job template is to setup a daily/nightly
179 # builder and pushes to Sonar analysis.
181 # Required Variables:
182 # stream: branch with - in place of / (eg. stable-helium)
183 # branch: branch (eg. stable/helium)
190 daysToKeep: '{build-days-to-keep}'
191 numToKeep: '{build-num-to-keep}'
192 artifactDaysToKeep: '{build-artifact-days-to-keep}'
193 artifactNumToKeep: '{build-artifact-num-to-keep}'
201 credentials-id: '{ssh-credentials}'
207 - ssh-agent-credentials:
209 - '{ssh-credentials}'
215 - wipe-org-opendaylight-repo
216 - jacoco-nojava-workaround
219 maven-name: '{mvn33}'
221 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
222 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
223 settings: '{discovery-settings}'
224 global-settings: '{odl-global-settings}'
230 - email-notification:
231 email-prefix: '[discovery]'
235 name: 'discovery-distribution-{stream}'
242 daysToKeep: '{build-days-to-keep}'
243 numToKeep: '{build-num-to-keep}'
244 artifactDaysToKeep: '{build-artifact-days-to-keep}'
245 artifactNumToKeep: '{build-artifact-num-to-keep}'
249 project: 'integration'
253 credentials-id: '{ssh-credentials}'
259 - ssh-agent-credentials:
261 - '{ssh-credentials}'
265 jobs: '{project}-merge-{stream}'
269 - wipe-org-opendaylight-repo
272 maven-name: '{mvn33}'
274 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
275 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
276 settings: '{integration-settings}'
277 global-settings: '{odl-global-settings}'
280 - email-notification:
281 email-prefix: '[{project}]'
285 deploy-unstable: false
288 name: 'discovery-integration-{stream}'
291 # Job template for ODL integration verify jobs
293 # This is similar to a normal verify job, but it runs
294 # when a project that's a dependency of your project
295 # is successfully built.
297 # Required Variables:
298 # stream: branch with - in place of / (eg. stable-helium)
299 # branch: branch (eg. stable/helium)
306 daysToKeep: '{build-days-to-keep}'
307 numToKeep: '{build-num-to-keep}'
308 artifactDaysToKeep: '{build-artifact-days-to-keep}'
309 artifactNumToKeep: '{build-artifact-num-to-keep}'
317 credentials-id: '{ssh-credentials}'
323 - ssh-agent-credentials:
325 - '{ssh-credentials}'
329 jobs: 'odlparent-merge-{stream}'
333 - wipe-org-opendaylight-repo
334 - jacoco-nojava-workaround
337 maven-name: '{mvn33}'
339 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
340 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
341 settings: '{discovery-settings}'
342 global-settings: '{odl-global-settings}'
348 - email-notification:
349 email-prefix: '[discovery] [odlparent]'
353 name: 'discovery-sonar'
362 artifactDaysToKeep: '1'
363 artifactNumToKeep: '1'
371 credentials-id: '{ssh-credentials}'
377 - ssh-agent-credentials:
379 - '{ssh-credentials}'
385 - wipe-org-opendaylight-repo
386 - jacoco-nojava-workaround
389 maven-name: '{mvn33}'
391 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
392 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
393 settings: '{discovery-settings}'
394 global-settings: '{odl-global-settings}'
402 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
403 - email-notification:
404 email-prefix: '[discovery]'
408 name: 'discovery-clm-{stream}'
415 daysToKeep: '{build-days-to-keep}'
416 numToKeep: '{build-num-to-keep}'
417 artifactDaysToKeep: '{build-artifact-days-to-keep}'
418 artifactNumToKeep: '{build-artifact-num-to-keep}'
426 credentials-id: '{ssh-credentials}'
432 - ssh-agent-credentials:
434 - '{ssh-credentials}'
440 - wipe-org-opendaylight-repo
443 maven-name: '{mvn33}'
445 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
446 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
447 settings: '{discovery-settings}'
448 global-settings: '{odl-global-settings}'
452 application-name: discovery
455 - email-notification:
456 email-prefix: '[discovery]'