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 - 'odlparent-verify-{stream}'
10 - 'odlparent-merge-{stream}'
11 - 'odlparent-daily-{stream}'
12 - 'odlparent-integration-{stream}'
17 # stream: branch with - in place of / (eg. stable-helium)
18 # branch: branch (eg. stable/helium)
23 branch: 'stable/helium'
25 branch: 'stable/lithium'
30 # For the Job templates below replace instances of:
31 # PROJECT with your project name (eg. controller)
32 # MAVEN_GOALS with your maven goals to build
33 # MAVEN_OPTS with your maven options to build
36 name: 'odlparent-verify-{stream}'
38 # Job template for ODL verify jobs
40 # The purpose of this job template is to setup a ODL verify job
43 # stream: branch with - in place of / (eg. stable-helium)
44 # branch: branch (eg. stable/helium)
63 daysToKeep: '{build-days-to-keep}'
64 numToKeep: '{build-num-to-keep}'
65 artifactDaysToKeep: '{build-artifact-days-to-keep}'
66 artifactNumToKeep: '{build-artifact-num-to-keep}'
76 credentials-id: '{ssh-credentials}'
77 refspec: '$GERRIT_REFSPEC'
78 choosing-strategy: 'gerrit'
82 - ssh-agent-credentials:
87 - gerrit-trigger-patch-submitted:
92 - wipe-org-opendaylight-repo
94 maven-version: '{mvn32}'
96 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
98 - '-Xmx1024m -XX:MaxPermSize=256m'
99 settings: '{odlparent-settings}'
100 global-settings: '{odl-global-settings}'
101 - jacoco-nojava-workaround
105 - email-notification:
106 email-prefix: '[odlparent]'
110 name: 'odlparent-merge-{stream}'
112 # Job template for ODL merge jobs
114 # The purpose of this job template is to setup a ODL merge job
115 # and deploy artifacts to Nexus.
117 # Required Variables:
118 # stream: branch with - in place of / (eg. stable-helium)
119 # branch: branch (eg. stable/helium)
126 daysToKeep: '{build-days-to-keep}'
127 numToKeep: '{build-num-to-keep}'
128 artifactDaysToKeep: '{build-artifact-days-to-keep}'
129 artifactNumToKeep: '{build-artifact-num-to-keep}'
136 - gerrit-trigger-scm:
137 credentials-id: '{ssh-credentials}'
139 choosing-strategy: 'default'
143 - ssh-agent-credentials:
145 - '{ssh-credentials}'
148 - gerrit-trigger-patch-merged:
153 - wipe-org-opendaylight-repo
156 maven-name: '{mvn32}'
158 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
159 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
160 settings: '{odlparent-settings}'
161 global-settings: '{odl-global-settings}'
164 - jacoco-nojava-workaround
171 - email-notification:
172 email-prefix: '[odlparent]'
176 deploy-unstable: false
180 name: 'odlparent-daily-{stream}'
182 # Job template for daily builders
184 # The purpose of this job template is to setup a daily/nightly
185 # builder and pushes to Sonar analysis.
187 # Required Variables:
188 # stream: branch with - in place of / (eg. stable-helium)
189 # branch: branch (eg. stable/helium)
196 daysToKeep: '{build-days-to-keep}'
197 numToKeep: '{build-num-to-keep}'
198 artifactDaysToKeep: '{build-artifact-days-to-keep}'
199 artifactNumToKeep: '{build-artifact-num-to-keep}'
207 credentials-id: '{ssh-credentials}'
213 - ssh-agent-credentials:
215 - '{ssh-credentials}'
221 - wipe-org-opendaylight-repo
224 maven-name: '{mvn32}'
226 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
227 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
228 settings: '{odlparent-settings}'
229 global-settings: '{odl-global-settings}'
232 - jacoco-nojava-workaround
238 - email-notification:
239 email-prefix: '[odlparent]'
243 name: 'odlparent-integration-{stream}'
246 # Job template for ODL merge jobs
248 # The purpose of this job template is to setup a ODL merge job
249 # and deploy artifacts to Nexus.
251 # Required Variables:
252 # stream: branch with - in place of / (eg. stable-helium)
253 # branch: branch (eg. stable/helium)
260 daysToKeep: '{build-days-to-keep}'
261 numToKeep: '{build-num-to-keep}'
262 artifactDaysToKeep: '{build-artifact-days-to-keep}'
263 artifactNumToKeep: '{build-artifact-num-to-keep}'
271 credentials-id: '{ssh-credentials}'
277 - ssh-agent-credentials:
279 - '{ssh-credentials}'
283 jobs: 'odlparent-merge-{stream}'
287 - wipe-org-opendaylight-repo
290 maven-name: '{mvn32}'
292 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
293 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
294 settings: '{odlparent-settings}'
295 global-settings: '{odl-global-settings}'
298 - jacoco-nojava-workaround
304 - email-notification:
305 email-prefix: '[odlparent] [odlparent]'
309 name: 'odlparent-sonar'
318 artifactDaysToKeep: '1'
319 artifactNumToKeep: '1'
327 credentials-id: '{ssh-credentials}'
333 - ssh-agent-credentials:
335 - '{ssh-credentials}'
341 maven-name: '{mvn32}'
343 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
344 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
345 settings: '{odlparent-settings}'
346 global-settings: '{odl-global-settings}'
349 - jacoco-nojava-workaround
357 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
358 - email-notification:
359 email-prefix: '[odlparent]'
363 name: 'odlparent-clm'
370 daysToKeep: '{build-days-to-keep}'
371 numToKeep: '{build-num-to-keep}'
372 artifactDaysToKeep: '{build-artifact-days-to-keep}'
373 artifactNumToKeep: '{build-artifact-num-to-keep}'
381 credentials-id: '{ssh-credentials}'
387 - ssh-agent-credentials:
389 - '{ssh-credentials}'
395 - wipe-org-opendaylight-repo
398 maven-name: '{mvn32}'
400 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
401 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
402 settings: '{odlparent-settings}'
403 global-settings: '{odl-global-settings}'
407 application-name: odlparent
410 - email-notification:
411 email-prefix: '[odlparent]'