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: release stream (eg. stable-lithium or beryllium)
19 # branch: git branch (eg. stable/lithium or master)
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: release stream (eg. stable-lithium or beryllium)
48 # branch: git branch (eg. stable/lithium or master)
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
95 - jacoco-nojava-workaround
97 maven-version: '{mvn33}'
99 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
101 - '-Xmx1024m -XX:MaxPermSize=256m'
102 settings: '{tsdr-settings}'
103 global-settings: '{odl-global-settings}'
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: release stream (eg. stable-lithium or beryllium)
121 # branch: git branch (eg. stable/lithium or master)
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
156 - jacoco-nojava-workaround
159 maven-name: '{mvn33}'
161 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge'
162 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
163 settings: '{tsdr-settings}'
164 global-settings: '{odl-global-settings}'
170 - email-notification:
171 email-prefix: '[tsdr]'
175 deploy-unstable: false
179 name: 'tsdr-daily-{stream}'
181 # Job template for daily builders
183 # The purpose of this job template is to setup a daily/nightly
184 # builder and pushes to Sonar analysis.
186 # Required Variables:
187 # stream: release stream (eg. stable-lithium or beryllium)
188 # branch: git branch (eg. stable/lithium or master)
195 daysToKeep: '{build-days-to-keep}'
196 numToKeep: '{build-num-to-keep}'
197 artifactDaysToKeep: '{build-artifact-days-to-keep}'
198 artifactNumToKeep: '{build-artifact-num-to-keep}'
206 credentials-id: '{ssh-credentials}'
212 - ssh-agent-credentials:
214 - '{ssh-credentials}'
220 - wipe-org-opendaylight-repo
221 - jacoco-nojava-workaround
224 maven-name: '{mvn33}'
226 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
227 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
228 settings: '{tsdr-settings}'
229 global-settings: '{odl-global-settings}'
235 - email-notification:
236 email-prefix: '[tsdr]'
240 name: 'tsdr-distribution-{stream}'
242 # Required variables:
243 # stream: release stream (eg. stable-lithium or beryllium)
244 # branch: git branch (eg. stable/lithium or master)
251 daysToKeep: '{build-days-to-keep}'
252 numToKeep: '{build-num-to-keep}'
253 artifactDaysToKeep: '{build-artifact-days-to-keep}'
254 artifactNumToKeep: '{build-artifact-num-to-keep}'
258 project: 'integration'
262 credentials-id: '{ssh-credentials}'
268 - ssh-agent-credentials:
270 - '{ssh-credentials}'
274 jobs: '{project}-merge-{stream}'
278 - wipe-org-opendaylight-repo
281 maven-name: '{mvn33}'
283 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
284 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
285 settings: '{integration-settings}'
286 global-settings: '{odl-global-settings}'
289 - email-notification:
290 email-prefix: '[{project}]'
294 deploy-unstable: false
297 name: 'tsdr-integration-{stream}'
300 # Job template for ODL integration verify jobs
302 # This is similar to a normal verify job, but it runs
303 # when a project that's a dependency of your project
304 # is successfully built.
306 # Required Variables:
307 # stream: release stream (eg. stable-lithium or beryllium)
308 # branch: git branch (eg. stable/lithium or master)
315 daysToKeep: '{build-days-to-keep}'
316 numToKeep: '{build-num-to-keep}'
317 artifactDaysToKeep: '{build-artifact-days-to-keep}'
318 artifactNumToKeep: '{build-artifact-num-to-keep}'
326 credentials-id: '{ssh-credentials}'
332 - ssh-agent-credentials:
334 - '{ssh-credentials}'
338 jobs: 'odlparent-merge-{stream}'
342 - wipe-org-opendaylight-repo
343 - jacoco-nojava-workaround
346 maven-name: '{mvn33}'
348 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
349 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
350 settings: '{tsdr-settings}'
351 global-settings: '{odl-global-settings}'
357 - email-notification:
358 email-prefix: '[tsdr] [odlparent]'
371 artifactDaysToKeep: '1'
372 artifactNumToKeep: '1'
380 credentials-id: '{ssh-credentials}'
386 - ssh-agent-credentials:
388 - '{ssh-credentials}'
392 - gerrit-trigger-patch-sonar:
396 - wipe-org-opendaylight-repo
397 - jacoco-nojava-workaround
400 maven-name: '{mvn33}'
402 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
403 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
404 settings: '{tsdr-settings}'
405 global-settings: '{odl-global-settings}'
413 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
414 - email-notification:
415 email-prefix: '[tsdr]'
419 name: 'tsdr-clm-{stream}'
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: '{mvn33}'
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]'