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 - 'didm-verify-{stream}'
10 - 'didm-merge-{stream}'
11 - 'didm-daily-{stream}'
12 - 'didm-distribution-{stream}'
13 - 'didm-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_SHORTNAME with your project name (eg. circuitsw)
36 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
37 # MAVEN_GOALS with your maven goals to build
38 # MAVEN_OPTS with your maven options to build
41 name: 'didm-verify-{stream}'
43 # Job template for ODL verify jobs
45 # The purpose of this job template is to setup a ODL verify job
48 # stream: release stream (eg. stable-lithium or beryllium)
49 # branch: git branch (eg. stable/lithium or master)
66 daysToKeep: '{build-days-to-keep}'
67 numToKeep: '{build-num-to-keep}'
68 artifactDaysToKeep: '{build-artifact-days-to-keep}'
69 artifactNumToKeep: '{build-artifact-num-to-keep}'
79 credentials-id: '{ssh-credentials}'
80 refspec: '$GERRIT_REFSPEC'
81 choosing-strategy: 'gerrit'
85 - ssh-agent-credentials:
90 - gerrit-trigger-patch-submitted:
95 - wipe-org-opendaylight-repo
96 - jacoco-nojava-workaround
97 - provide-maven-settings:
98 global-settings-file: '{odl-global-settings}'
99 settings-file: '{didm-settings}'
101 maven-version: '{mvn33}'
103 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
105 - '-Xmx1024m -XX:MaxPermSize=256m'
106 settings: '{didm-settings}'
107 global-settings: '{odl-global-settings}'
111 - email-notification:
112 email-prefix: '[didm]'
116 name: 'didm-merge-{stream}'
118 # Job template for ODL merge jobs
120 # The purpose of this job template is to setup a ODL merge job
121 # and deploy artifacts to Nexus.
123 # Required Variables:
124 # stream: release stream (eg. stable-lithium or beryllium)
125 # branch: git branch (eg. stable/lithium or master)
132 daysToKeep: '{build-days-to-keep}'
133 numToKeep: '{build-num-to-keep}'
134 artifactDaysToKeep: '{build-artifact-days-to-keep}'
135 artifactNumToKeep: '{build-artifact-num-to-keep}'
142 - gerrit-trigger-scm:
143 credentials-id: '{ssh-credentials}'
145 choosing-strategy: 'default'
149 - ssh-agent-credentials:
151 - '{ssh-credentials}'
154 - gerrit-trigger-patch-merged:
159 - wipe-org-opendaylight-repo
160 - jacoco-nojava-workaround
161 - provide-maven-settings:
162 global-settings-file: '{odl-global-settings}'
163 settings-file: '{didm-settings}'
166 maven-name: '{mvn33}'
168 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dstream={stream}'
169 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
170 settings: '{didm-settings}'
171 global-settings: '{odl-global-settings}'
172 post-step-run-condition: UNSTABLE
176 condition-kind: file-exists
177 condition-filename: deploy-site.xml
178 condition-basedir: workspace
180 # The strategy here is intentional to run Maven site:deploy twice
181 # once using regular pom.xml to produce a staged-site which is
182 # then used by deploy-site.xml to push to Nexus. This is a
183 # workaround to Maven Site's default linking code which creates
184 # incorrect URLs for sites due to auto-detection assuming your
185 # project is configured in a certain way which ODL is not.
188 maven-version: '{mvn33}'
190 goals: 'site:deploy -Dstream={stream}'
193 settings: '{didm-settings}'
194 global-settings: '{odl-global-settings}'
196 maven-version: '{mvn33}'
198 goals: 'site:deploy -Dstream={stream}'
201 settings: '{didm-settings}'
202 global-settings: '{odl-global-settings}'
208 - email-notification:
209 email-prefix: '[didm]'
213 deploy-unstable: false
217 name: 'didm-daily-{stream}'
219 # Job template for daily builders
221 # The purpose of this job template is to setup a daily/nightly
222 # builder and pushes to Sonar analysis.
224 # Required Variables:
225 # stream: release stream (eg. stable-lithium or beryllium)
226 # branch: git branch (eg. stable/lithium or master)
233 daysToKeep: '{build-days-to-keep}'
234 numToKeep: '{build-num-to-keep}'
235 artifactDaysToKeep: '{build-artifact-days-to-keep}'
236 artifactNumToKeep: '{build-artifact-num-to-keep}'
244 credentials-id: '{ssh-credentials}'
250 - ssh-agent-credentials:
252 - '{ssh-credentials}'
258 - wipe-org-opendaylight-repo
259 - jacoco-nojava-workaround
260 - provide-maven-settings:
261 global-settings-file: '{odl-global-settings}'
262 settings-file: '{didm-settings}'
265 maven-name: '{mvn33}'
267 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
268 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
269 settings: '{didm-settings}'
270 global-settings: '{odl-global-settings}'
276 - email-notification:
277 email-prefix: '[didm]'
281 name: 'didm-distribution-{stream}'
283 # Required variables:
284 # stream: release stream (eg. stable-lithium or beryllium)
285 # branch: git branch (eg. stable/lithium or master)
292 daysToKeep: '{build-days-to-keep}'
293 numToKeep: '{build-num-to-keep}'
294 artifactDaysToKeep: '{build-artifact-days-to-keep}'
295 artifactNumToKeep: '{build-artifact-num-to-keep}'
299 project: 'integration/distribution'
303 credentials-id: '{ssh-credentials}'
309 - ssh-agent-credentials:
311 - '{ssh-credentials}'
315 jobs: '{project}-merge-{stream}'
319 - wipe-org-opendaylight-repo
320 - provide-maven-settings:
321 global-settings-file: '{odl-global-settings}'
322 settings-file: '{didm-settings}'
325 maven-name: '{mvn33}'
327 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
328 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
329 settings: '{integration-settings}'
330 global-settings: '{odl-global-settings}'
333 - email-notification:
334 email-prefix: '[{project}]'
338 deploy-unstable: false
341 name: 'didm-integration-{stream}'
344 # Job template for ODL integration verify jobs
346 # This is similar to a normal verify job, but it runs
347 # when a project that's a dependency of your project
348 # is successfully built.
350 # Required Variables:
351 # stream: release stream (eg. stable-lithium or beryllium)
352 # branch: git branch (eg. stable/lithium or master)
359 daysToKeep: '{build-days-to-keep}'
360 numToKeep: '{build-num-to-keep}'
361 artifactDaysToKeep: '{build-artifact-days-to-keep}'
362 artifactNumToKeep: '{build-artifact-num-to-keep}'
370 credentials-id: '{ssh-credentials}'
376 - ssh-agent-credentials:
378 - '{ssh-credentials}'
382 jobs: 'odlparent-merge-{stream}'
386 - wipe-org-opendaylight-repo
387 - jacoco-nojava-workaround
388 - provide-maven-settings:
389 global-settings-file: '{odl-global-settings}'
390 settings-file: '{didm-settings}'
393 maven-name: '{mvn33}'
395 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
396 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
397 settings: '{didm-settings}'
398 global-settings: '{odl-global-settings}'
404 - email-notification:
405 email-prefix: '[didm] [odlparent]'
418 artifactDaysToKeep: '1'
419 artifactNumToKeep: '1'
427 credentials-id: '{ssh-credentials}'
433 - ssh-agent-credentials:
435 - '{ssh-credentials}'
439 - gerrit-trigger-patch-sonar:
443 - wipe-org-opendaylight-repo
444 - jacoco-nojava-workaround
445 - provide-maven-settings:
446 global-settings-file: '{odl-global-settings}'
447 settings-file: '{didm-settings}'
450 maven-name: '{mvn33}'
452 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
453 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
454 settings: '{didm-settings}'
455 global-settings: '{odl-global-settings}'
463 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
464 - email-notification:
465 email-prefix: '[didm]'
469 name: 'didm-clm-{stream}'
476 daysToKeep: '{build-days-to-keep}'
477 numToKeep: '{build-num-to-keep}'
478 artifactDaysToKeep: '{build-artifact-days-to-keep}'
479 artifactNumToKeep: '{build-artifact-num-to-keep}'
487 credentials-id: '{ssh-credentials}'
493 - ssh-agent-credentials:
495 - '{ssh-credentials}'
501 - wipe-org-opendaylight-repo
502 - provide-maven-settings:
503 global-settings-file: '{odl-global-settings}'
504 settings-file: '{didm-settings}'
507 maven-name: '{mvn33}'
509 goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
510 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
511 settings: '{didm-settings}'
512 global-settings: '{odl-global-settings}'
516 application-name: didm
519 - email-notification:
520 email-prefix: '[didm]'