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 - 'tsdr-verify-{stream}'
10 - 'tsdr-merge-{stream}'
11 - 'tsdr-daily-{stream}'
12 - 'tsdr-distribution-{stream}'
13 - 'tsdr-integration-{stream}'
18 # stream: branch with - in place of / (eg. stable-helium)
19 # branch: branch (eg. stable/helium)
27 branch: 'stable/lithium'
34 # For the Job templates below replace instances of:
35 # PROJECT with your project name (eg. controller)
36 # MAVEN_GOALS with your maven goals to build
37 # MAVEN_OPTS with your maven options to build
40 name: 'tsdr-verify-{stream}'
42 # Job template for ODL verify jobs
44 # The purpose of this job template is to setup a ODL verify job
47 # stream: branch with - in place of / (eg. stable-helium)
48 # branch: branch (eg. stable/helium)
65 daysToKeep: '{build-days-to-keep}'
66 numToKeep: '{build-num-to-keep}'
67 artifactDaysToKeep: '{build-artifact-days-to-keep}'
68 artifactNumToKeep: '{build-artifact-num-to-keep}'
78 credentials-id: '{ssh-credentials}'
79 refspec: '$GERRIT_REFSPEC'
80 choosing-strategy: 'gerrit'
84 - ssh-agent-credentials:
89 - gerrit-trigger-patch-submitted:
94 - wipe-org-opendaylight-repo
96 maven-version: '{mvn32}'
98 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
100 - '-Xmx1024m -XX:MaxPermSize=256m'
101 settings: '{tsdr-settings}'
102 global-settings: '{odl-global-settings}'
103 - jacoco-nojava-workaround
107 - email-notification:
108 email-prefix: '[tsdr]'
112 name: 'tsdr-merge-{stream}'
114 # Job template for ODL merge jobs
116 # The purpose of this job template is to setup a ODL merge job
117 # and deploy artifacts to Nexus.
119 # Required Variables:
120 # stream: branch with - in place of / (eg. stable-helium)
121 # branch: branch (eg. stable/helium)
128 daysToKeep: '{build-days-to-keep}'
129 numToKeep: '{build-num-to-keep}'
130 artifactDaysToKeep: '{build-artifact-days-to-keep}'
131 artifactNumToKeep: '{build-artifact-num-to-keep}'
138 - gerrit-trigger-scm:
139 credentials-id: '{ssh-credentials}'
141 choosing-strategy: 'default'
145 - ssh-agent-credentials:
147 - '{ssh-credentials}'
150 - gerrit-trigger-patch-merged:
155 - wipe-org-opendaylight-repo
158 maven-name: '{mvn32}'
160 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
161 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
162 settings: '{tsdr-settings}'
163 global-settings: '{odl-global-settings}'
166 - jacoco-nojava-workaround
173 - email-notification:
174 email-prefix: '[tsdr]'
178 deploy-unstable: false
182 name: 'tsdr-daily-{stream}'
184 # Job template for daily builders
186 # The purpose of this job template is to setup a daily/nightly
187 # builder and pushes to Sonar analysis.
189 # Required Variables:
190 # stream: branch with - in place of / (eg. stable-helium)
191 # branch: branch (eg. stable/helium)
198 daysToKeep: '{build-days-to-keep}'
199 numToKeep: '{build-num-to-keep}'
200 artifactDaysToKeep: '{build-artifact-days-to-keep}'
201 artifactNumToKeep: '{build-artifact-num-to-keep}'
209 credentials-id: '{ssh-credentials}'
215 - ssh-agent-credentials:
217 - '{ssh-credentials}'
223 - wipe-org-opendaylight-repo
226 maven-name: '{mvn32}'
228 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
229 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
230 settings: '{tsdr-settings}'
231 global-settings: '{odl-global-settings}'
234 - jacoco-nojava-workaround
240 - email-notification:
241 email-prefix: '[tsdr]'
245 name: 'tsdr-distribution-{stream}'
252 daysToKeep: '{build-days-to-keep}'
253 numToKeep: '{build-num-to-keep}'
254 artifactDaysToKeep: '{build-artifact-days-to-keep}'
255 artifactNumToKeep: '{build-artifact-num-to-keep}'
259 project: 'integration'
263 credentials-id: '{ssh-credentials}'
269 - ssh-agent-credentials:
271 - '{ssh-credentials}'
275 jobs: '{project}-merge-{stream}'
279 - wipe-org-opendaylight-repo
282 maven-name: '{mvn32}'
284 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install source:jar javadoc:jar'
285 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
286 settings: '{integration-settings}'
287 global-settings: '{odl-global-settings}'
290 - email-notification:
291 email-prefix: '[{project}]'
295 deploy-unstable: false
298 name: 'tsdr-integration-{stream}'
301 # Job template for ODL integration verify jobs
303 # This is similar to a normal verify job, but it runs
304 # when a project that's a dependency of your project
305 # is successfully built.
307 # Required Variables:
308 # stream: branch with - in place of / (eg. stable-helium)
309 # branch: branch (eg. stable/helium)
316 daysToKeep: '{build-days-to-keep}'
317 numToKeep: '{build-num-to-keep}'
318 artifactDaysToKeep: '{build-artifact-days-to-keep}'
319 artifactNumToKeep: '{build-artifact-num-to-keep}'
327 credentials-id: '{ssh-credentials}'
333 - ssh-agent-credentials:
335 - '{ssh-credentials}'
339 jobs: 'odlparent-merge-{stream}'
343 - wipe-org-opendaylight-repo
346 maven-name: '{mvn32}'
348 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
349 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
350 settings: '{tsdr-settings}'
351 global-settings: '{odl-global-settings}'
354 - jacoco-nojava-workaround
360 - email-notification:
361 email-prefix: '[tsdr] [odlparent]'
374 artifactDaysToKeep: '1'
375 artifactNumToKeep: '1'
383 credentials-id: '{ssh-credentials}'
389 - ssh-agent-credentials:
391 - '{ssh-credentials}'
397 maven-name: '{mvn32}'
399 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
400 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
401 settings: '{tsdr-settings}'
402 global-settings: '{odl-global-settings}'
405 - jacoco-nojava-workaround
413 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
414 - email-notification:
415 email-prefix: '[tsdr]'
426 daysToKeep: '{build-days-to-keep}'
427 numToKeep: '{build-num-to-keep}'
428 artifactDaysToKeep: '{build-artifact-days-to-keep}'
429 artifactNumToKeep: '{build-artifact-num-to-keep}'
437 credentials-id: '{ssh-credentials}'
443 - ssh-agent-credentials:
445 - '{ssh-credentials}'
451 - wipe-org-opendaylight-repo
454 maven-name: '{mvn32}'
456 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
457 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
458 settings: '{tsdr-settings}'
459 global-settings: '{odl-global-settings}'
463 application-name: tsdr
466 - email-notification:
467 email-prefix: '[tsdr]'