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:
83 user: '{ssh-credentials}'
86 - gerrit-trigger-patch-submitted:
91 - wipe-org-opendaylight-repo
93 maven-version: '{mvn32}'
95 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
97 - '-Xmx1024m -XX:MaxPermSize=256m'
98 settings: '{odlparent-settings}'
99 global-settings: '{odl-global-settings}'
100 - jacoco-nojava-workaround
104 - email-notification:
105 email-prefix: '[odlparent]'
109 name: 'odlparent-merge-{stream}'
111 # Job template for ODL merge jobs
113 # The purpose of this job template is to setup a ODL merge job
114 # and deploy artifacts to Nexus.
116 # Required Variables:
117 # stream: branch with - in place of / (eg. stable-helium)
118 # branch: branch (eg. stable/helium)
125 daysToKeep: '{build-days-to-keep}'
126 numToKeep: '{build-num-to-keep}'
127 artifactDaysToKeep: '{build-artifact-days-to-keep}'
128 artifactNumToKeep: '{build-artifact-num-to-keep}'
135 - gerrit-trigger-scm:
136 credentials-id: '{ssh-credentials}'
138 choosing-strategy: 'default'
142 - ssh-agent-credentials:
143 user: '{ssh-credentials}'
146 - gerrit-trigger-patch-merged:
151 - wipe-org-opendaylight-repo
154 maven-name: '{mvn32}'
156 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
157 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
158 settings: '{odlparent-settings}'
159 global-settings: '{odl-global-settings}'
162 - jacoco-nojava-workaround
169 - email-notification:
170 email-prefix: '[odlparent]'
174 deploy-unstable: false
178 name: 'odlparent-daily-{stream}'
180 # Job template for daily builders
182 # The purpose of this job template is to setup a daily/nightly
183 # builder and pushes to Sonar analysis.
185 # Required Variables:
186 # stream: branch with - in place of / (eg. stable-helium)
187 # branch: branch (eg. stable/helium)
194 daysToKeep: '{build-days-to-keep}'
195 numToKeep: '{build-num-to-keep}'
196 artifactDaysToKeep: '{build-artifact-days-to-keep}'
197 artifactNumToKeep: '{build-artifact-num-to-keep}'
205 credentials-id: '{ssh-credentials}'
211 - ssh-agent-credentials:
212 user: '{ssh-credentials}'
218 - wipe-org-opendaylight-repo
221 maven-name: '{mvn32}'
223 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
224 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
225 settings: '{odlparent-settings}'
226 global-settings: '{odl-global-settings}'
229 - jacoco-nojava-workaround
235 - email-notification:
236 email-prefix: '[odlparent]'
240 name: 'odlparent-integration-{stream}'
243 # Job template for ODL merge jobs
245 # The purpose of this job template is to setup a ODL merge job
246 # and deploy artifacts to Nexus.
248 # Required Variables:
249 # stream: branch with - in place of / (eg. stable-helium)
250 # branch: branch (eg. stable/helium)
257 daysToKeep: '{build-days-to-keep}'
258 numToKeep: '{build-num-to-keep}'
259 artifactDaysToKeep: '{build-artifact-days-to-keep}'
260 artifactNumToKeep: '{build-artifact-num-to-keep}'
268 credentials-id: '{ssh-credentials}'
274 - ssh-agent-credentials:
275 user: '{ssh-credentials}'
279 jobs: 'odlparent-merge-{stream}'
283 - wipe-org-opendaylight-repo
286 maven-name: '{mvn32}'
288 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
289 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
290 settings: '{odlparent-settings}'
291 global-settings: '{odl-global-settings}'
294 - jacoco-nojava-workaround
300 - email-notification:
301 email-prefix: '[odlparent] [odlparent]'
305 name: 'odlparent-sonar'
314 artifactDaysToKeep: '1'
315 artifactNumToKeep: '1'
323 credentials-id: '{ssh-credentials}'
329 - ssh-agent-credentials:
330 user: '{ssh-credentials}'
336 maven-name: '{mvn32}'
338 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
339 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
340 settings: '{odlparent-settings}'
341 global-settings: '{odl-global-settings}'
344 - jacoco-nojava-workaround
352 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
353 - email-notification:
354 email-prefix: '[odlparent]'
358 name: 'odlparent-clm'
365 daysToKeep: '{build-days-to-keep}'
366 numToKeep: '{build-num-to-keep}'
367 artifactDaysToKeep: '{build-artifact-days-to-keep}'
368 artifactNumToKeep: '{build-artifact-num-to-keep}'
376 credentials-id: '{ssh-credentials}'
382 - ssh-agent-credentials:
383 user: '{ssh-credentials}'
389 - wipe-org-opendaylight-repo
392 maven-name: '{mvn32}'
394 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
395 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
396 settings: '{odlparent-settings}'
397 global-settings: '{odl-global-settings}'
401 application-name: odlparent
404 - email-notification:
405 email-prefix: '[odlparent]'