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 - 'lacp-verify-{stream}'
10 - 'lacp-merge-{stream}'
11 - 'lacp-daily-{stream}'
12 - 'lacp-distribution-{stream}'
13 - 'lacp-integration-{stream}'
18 # stream: release stream (eg. stable-lithium or beryllium)
19 # branch: git branch (eg. stable/lithium or master)
28 branch: 'stable/lithium'
35 # For the Job templates below replace instances of:
36 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
37 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
38 # MAVEN_GOALS with your maven goals to build
39 # MAVEN_OPTS with your maven options to build
42 name: 'lacp-verify-{stream}'
44 # Job template for ODL verify jobs
46 # The purpose of this job template is to setup a ODL verify job
49 # stream: release stream (eg. stable-lithium or beryllium)
50 # branch: git branch (eg. stable/lithium or master)
67 daysToKeep: '{build-days-to-keep}'
68 numToKeep: '{build-num-to-keep}'
69 artifactDaysToKeep: '{build-artifact-days-to-keep}'
70 artifactNumToKeep: '{build-artifact-num-to-keep}'
80 credentials-id: '{ssh-credentials}'
81 refspec: '$GERRIT_REFSPEC'
82 choosing-strategy: 'gerrit'
86 - ssh-agent-credentials:
91 - gerrit-trigger-patch-submitted:
96 - wipe-org-opendaylight-repo
97 - jacoco-nojava-workaround
98 - provide-maven-settings:
99 global-settings-file: '{odl-global-settings}'
100 settings-file: '{lacp-settings}'
102 maven-version: '{mvn33}'
104 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
106 - '-Xmx1024m -XX:MaxPermSize=256m'
107 settings: '{lacp-settings}'
108 global-settings: '{odl-global-settings}'
112 - email-notification:
113 email-prefix: '[lacp]'
117 name: 'lacp-merge-{stream}'
119 # Job template for ODL merge jobs
121 # The purpose of this job template is to setup a ODL merge job
122 # and deploy artifacts to Nexus.
124 # Required Variables:
125 # stream: release stream (eg. stable-lithium or beryllium)
126 # branch: git branch (eg. stable/lithium or master)
133 daysToKeep: '{build-days-to-keep}'
134 numToKeep: '{build-num-to-keep}'
135 artifactDaysToKeep: '{build-artifact-days-to-keep}'
136 artifactNumToKeep: '{build-artifact-num-to-keep}'
143 - gerrit-trigger-scm:
144 credentials-id: '{ssh-credentials}'
146 choosing-strategy: 'default'
150 - ssh-agent-credentials:
152 - '{ssh-credentials}'
155 - gerrit-trigger-patch-merged:
160 - wipe-org-opendaylight-repo
161 - jacoco-nojava-workaround
162 - provide-maven-settings:
163 global-settings-file: '{odl-global-settings}'
164 settings-file: '{lacp-settings}'
167 maven-name: '{mvn33}'
169 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dstream={stream}'
170 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
171 settings: '{lacp-settings}'
172 global-settings: '{odl-global-settings}'
173 post-step-run-condition: UNSTABLE
177 condition-kind: file-exists
178 condition-filename: deploy-site.xml
179 condition-basedir: workspace
181 # The strategy here is intentional to run Maven site:deploy twice
182 # once using regular pom.xml to produce a staged-site which is
183 # then used by deploy-site.xml to push to Nexus. This is a
184 # workaround to Maven Site's default linking code which creates
185 # incorrect URLs for sites due to auto-detection assuming your
186 # project is configured in a certain way which ODL is not.
189 maven-version: '{mvn33}'
191 goals: 'site:deploy -Dstream={stream}'
194 settings: '{lacp-settings}'
195 global-settings: '{odl-global-settings}'
197 maven-version: '{mvn33}'
199 goals: 'site:deploy -Dstream={stream}'
202 settings: '{lacp-settings}'
203 global-settings: '{odl-global-settings}'
209 - email-notification:
210 email-prefix: '[lacp]'
214 deploy-unstable: false
218 name: 'lacp-daily-{stream}'
220 # Job template for daily builders
222 # The purpose of this job template is to setup a daily/nightly
223 # builder and pushes to Sonar analysis.
225 # Required Variables:
226 # stream: release stream (eg. stable-lithium or beryllium)
227 # branch: git branch (eg. stable/lithium or master)
234 daysToKeep: '{build-days-to-keep}'
235 numToKeep: '{build-num-to-keep}'
236 artifactDaysToKeep: '{build-artifact-days-to-keep}'
237 artifactNumToKeep: '{build-artifact-num-to-keep}'
245 credentials-id: '{ssh-credentials}'
251 - ssh-agent-credentials:
253 - '{ssh-credentials}'
259 - wipe-org-opendaylight-repo
260 - jacoco-nojava-workaround
261 - provide-maven-settings:
262 global-settings-file: '{odl-global-settings}'
263 settings-file: '{lacp-settings}'
266 maven-name: '{mvn33}'
268 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
269 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
270 settings: '{lacp-settings}'
271 global-settings: '{odl-global-settings}'
277 - email-notification:
278 email-prefix: '[lacp]'
282 name: 'lacp-distribution-{stream}'
284 # Required variables:
285 # stream: release stream (eg. stable-lithium or beryllium)
286 # branch: git branch (eg. stable/lithium or master)
293 daysToKeep: '{build-days-to-keep}'
294 numToKeep: '{build-num-to-keep}'
295 artifactDaysToKeep: '{build-artifact-days-to-keep}'
296 artifactNumToKeep: '{build-artifact-num-to-keep}'
300 project: 'integration/distribution'
304 credentials-id: '{ssh-credentials}'
310 - ssh-agent-credentials:
312 - '{ssh-credentials}'
316 jobs: '{project}-merge-{stream}'
320 - wipe-org-opendaylight-repo
321 - provide-maven-settings:
322 global-settings-file: '{odl-global-settings}'
323 settings-file: '{lacp-settings}'
326 maven-name: '{mvn33}'
328 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
329 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
330 settings: '{integration-settings}'
331 global-settings: '{odl-global-settings}'
334 - email-notification:
335 email-prefix: '[{project}]'
339 deploy-unstable: false
342 name: 'lacp-integration-{stream}'
345 # Job template for ODL integration verify jobs
347 # This is similar to a normal verify job, but it runs
348 # when a project that's a dependency of your project
349 # is successfully built.
351 # Required Variables:
352 # stream: release stream (eg. stable-lithium or beryllium)
353 # branch: git branch (eg. stable/lithium or master)
360 daysToKeep: '{build-days-to-keep}'
361 numToKeep: '{build-num-to-keep}'
362 artifactDaysToKeep: '{build-artifact-days-to-keep}'
363 artifactNumToKeep: '{build-artifact-num-to-keep}'
371 credentials-id: '{ssh-credentials}'
377 - ssh-agent-credentials:
379 - '{ssh-credentials}'
383 jobs: 'yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream},openflowplugin-merge-{stream},odlparent-merge-{stream}'
387 - wipe-org-opendaylight-repo
388 - jacoco-nojava-workaround
389 - provide-maven-settings:
390 global-settings-file: '{odl-global-settings}'
391 settings-file: '{lacp-settings}'
394 maven-name: '{mvn33}'
396 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
397 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
398 settings: '{lacp-settings}'
399 global-settings: '{odl-global-settings}'
405 - email-notification:
406 email-prefix: '[lacp] [yangtools] [controller] [openflowjava] [openflowplugin] [odlparent]'
419 artifactDaysToKeep: '1'
420 artifactNumToKeep: '1'
428 credentials-id: '{ssh-credentials}'
434 - ssh-agent-credentials:
436 - '{ssh-credentials}'
440 - gerrit-trigger-patch-sonar:
444 - wipe-org-opendaylight-repo
445 - jacoco-nojava-workaround
446 - provide-maven-settings:
447 global-settings-file: '{odl-global-settings}'
448 settings-file: '{lacp-settings}'
451 maven-name: '{mvn33}'
453 goals: 'clean install javadoc:aggregate -DrepoBuild -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
454 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
455 settings: '{lacp-settings}'
456 global-settings: '{odl-global-settings}'
464 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
465 - email-notification:
466 email-prefix: '[lacp]'
470 name: 'lacp-clm-{stream}'
477 daysToKeep: '{build-days-to-keep}'
478 numToKeep: '{build-num-to-keep}'
479 artifactDaysToKeep: '{build-artifact-days-to-keep}'
480 artifactNumToKeep: '{build-artifact-num-to-keep}'
488 credentials-id: '{ssh-credentials}'
494 - ssh-agent-credentials:
496 - '{ssh-credentials}'
502 - wipe-org-opendaylight-repo
503 - provide-maven-settings:
504 global-settings-file: '{odl-global-settings}'
505 settings-file: '{lacp-settings}'
508 maven-name: '{mvn33}'
510 goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
511 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
512 settings: '{lacp-settings}'
513 global-settings: '{odl-global-settings}'
517 application-name: lacp
520 - email-notification:
521 email-prefix: '[lacp]'