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 - 'ovsdb-verify-{stream}'
10 - 'ovsdb-merge-{stream}'
11 - 'ovsdb-daily-{stream}'
12 - 'ovsdb-distribution-{stream}'
13 - 'ovsdb-integration-{stream}'
14 - 'ovsdb-clm-{stream}'
17 # stream: release stream (eg. stable-lithium or beryllium)
18 # branch: git branch (eg. stable/lithium or master)
20 - neutron-yang-migration:
21 branch: 'topic/master/neutron-yang-migration'
26 branch: 'topic/routermanager'
36 branch: 'stable/lithium'
41 branch: 'stable/helium'
48 # For the Job templates below replace instances of:
49 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
50 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
51 # MAVEN_GOALS with your maven goals to build
52 # MAVEN_OPTS with your maven options to build
55 name: 'ovsdb-verify-{stream}'
57 # Job template for ODL verify jobs
59 # The purpose of this job template is to setup a ODL verify job
62 # stream: release stream (eg. stable-lithium or beryllium)
63 # branch: git branch (eg. stable/lithium or master)
80 daysToKeep: '{build-days-to-keep}'
81 numToKeep: '{build-num-to-keep}'
82 artifactDaysToKeep: '{build-artifact-days-to-keep}'
83 artifactNumToKeep: '{build-artifact-num-to-keep}'
93 credentials-id: '{ssh-credentials}'
94 refspec: '$GERRIT_REFSPEC'
95 choosing-strategy: 'gerrit'
99 - ssh-agent-credentials:
101 - '{ssh-credentials}'
104 - gerrit-trigger-patch-submitted:
109 - wipe-org-opendaylight-repo
110 - jacoco-nojava-workaround
111 - provide-maven-settings:
112 global-settings-file: '{odl-global-settings}'
113 settings-file: '{ovsdb-settings}'
115 maven-version: '{mvn33}'
117 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
119 - '-Xmx1024m -XX:MaxPermSize=256m'
120 settings: '{ovsdb-settings}'
121 global-settings: '{odl-global-settings}'
125 - email-notification:
126 email-prefix: '[ovsdb]'
130 name: 'ovsdb-merge-{stream}'
132 # Job template for ODL merge jobs
134 # The purpose of this job template is to setup a ODL merge job
135 # and deploy artifacts to Nexus.
137 # Required Variables:
138 # stream: release stream (eg. stable-lithium or beryllium)
139 # branch: git branch (eg. stable/lithium or master)
146 daysToKeep: '{build-days-to-keep}'
147 numToKeep: '{build-num-to-keep}'
148 artifactDaysToKeep: '{build-artifact-days-to-keep}'
149 artifactNumToKeep: '{build-artifact-num-to-keep}'
156 - gerrit-trigger-scm:
157 credentials-id: '{ssh-credentials}'
159 choosing-strategy: 'default'
163 - ssh-agent-credentials:
165 - '{ssh-credentials}'
168 - gerrit-trigger-patch-merged:
173 - wipe-org-opendaylight-repo
174 - jacoco-nojava-workaround
175 - provide-maven-settings:
176 global-settings-file: '{odl-global-settings}'
177 settings-file: '{ovsdb-settings}'
180 maven-name: '{mvn33}'
182 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dstream={stream}'
183 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
184 settings: '{ovsdb-settings}'
185 global-settings: '{odl-global-settings}'
186 post-step-run-condition: UNSTABLE
190 condition-kind: file-exists
191 condition-filename: deploy-site.xml
192 condition-basedir: workspace
194 # The strategy here is intentional to run Maven site:deploy twice
195 # once using regular pom.xml to produce a staged-site which is
196 # then used by deploy-site.xml to push to Nexus. This is a
197 # workaround to Maven Site's default linking code which creates
198 # incorrect URLs for sites due to auto-detection assuming your
199 # project is configured in a certain way which ODL is not.
202 maven-version: '{mvn33}'
204 goals: 'site:deploy -Dstream={stream}'
207 settings: '{ovsdb-settings}'
208 global-settings: '{odl-global-settings}'
210 maven-version: '{mvn33}'
212 goals: 'site:deploy -Dstream={stream}'
215 settings: '{ovsdb-settings}'
216 global-settings: '{odl-global-settings}'
222 - email-notification:
223 email-prefix: '[ovsdb]'
227 deploy-unstable: false
231 name: 'ovsdb-daily-{stream}'
233 # Job template for daily builders
235 # The purpose of this job template is to setup a daily/nightly
236 # builder and pushes to Sonar analysis.
238 # Required Variables:
239 # stream: release stream (eg. stable-lithium or beryllium)
240 # branch: git branch (eg. stable/lithium or master)
247 daysToKeep: '{build-days-to-keep}'
248 numToKeep: '{build-num-to-keep}'
249 artifactDaysToKeep: '{build-artifact-days-to-keep}'
250 artifactNumToKeep: '{build-artifact-num-to-keep}'
258 credentials-id: '{ssh-credentials}'
264 - ssh-agent-credentials:
266 - '{ssh-credentials}'
272 - wipe-org-opendaylight-repo
273 - jacoco-nojava-workaround
274 - provide-maven-settings:
275 global-settings-file: '{odl-global-settings}'
276 settings-file: '{ovsdb-settings}'
279 maven-name: '{mvn33}'
281 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
282 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
283 settings: '{ovsdb-settings}'
284 global-settings: '{odl-global-settings}'
290 - email-notification:
291 email-prefix: '[ovsdb]'
295 name: 'ovsdb-distribution-{stream}'
297 # Required variables:
298 # stream: release stream (eg. stable-lithium or beryllium)
299 # branch: git branch (eg. stable/lithium or master)
306 daysToKeep: '{build-days-to-keep}'
307 numToKeep: '{build-num-to-keep}'
308 artifactDaysToKeep: '{build-artifact-days-to-keep}'
309 artifactNumToKeep: '{build-artifact-num-to-keep}'
313 project: 'integration'
317 credentials-id: '{ssh-credentials}'
323 - ssh-agent-credentials:
325 - '{ssh-credentials}'
329 jobs: '{project}-merge-{stream}'
333 - wipe-org-opendaylight-repo
334 - provide-maven-settings:
335 global-settings-file: '{odl-global-settings}'
336 settings-file: '{ovsdb-settings}'
339 maven-name: '{mvn33}'
341 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
342 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
343 settings: '{integration-settings}'
344 global-settings: '{odl-global-settings}'
347 - email-notification:
348 email-prefix: '[{project}]'
352 deploy-unstable: false
355 name: 'ovsdb-integration-{stream}'
358 # Job template for ODL integration verify jobs
360 # This is similar to a normal verify job, but it runs
361 # when a project that's a dependency of your project
362 # is successfully built.
364 # Required Variables:
365 # stream: release stream (eg. stable-lithium or beryllium)
366 # branch: git branch (eg. stable/lithium or master)
373 daysToKeep: '{build-days-to-keep}'
374 numToKeep: '{build-num-to-keep}'
375 artifactDaysToKeep: '{build-artifact-days-to-keep}'
376 artifactNumToKeep: '{build-artifact-num-to-keep}'
384 credentials-id: '{ssh-credentials}'
390 - ssh-agent-credentials:
392 - '{ssh-credentials}'
396 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}'
400 - wipe-org-opendaylight-repo
401 - jacoco-nojava-workaround
402 - provide-maven-settings:
403 global-settings-file: '{odl-global-settings}'
404 settings-file: '{ovsdb-settings}'
407 maven-name: '{mvn33}'
409 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
410 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
411 settings: '{ovsdb-settings}'
412 global-settings: '{odl-global-settings}'
418 - email-notification:
419 email-prefix: '[ovsdb] [odlparent] [controller] [yangtools] [openflowplugin] [neutron]'
423 name: 'ovsdb-clm-{stream}'
430 daysToKeep: '{build-days-to-keep}'
431 numToKeep: '{build-num-to-keep}'
432 artifactDaysToKeep: '{build-artifact-days-to-keep}'
433 artifactNumToKeep: '{build-artifact-num-to-keep}'
441 credentials-id: '{ssh-credentials}'
447 - ssh-agent-credentials:
449 - '{ssh-credentials}'
455 - wipe-org-opendaylight-repo
456 - provide-maven-settings:
457 global-settings-file: '{odl-global-settings}'
458 settings-file: '{ovsdb-settings}'
461 maven-name: '{mvn33}'
463 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
464 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
465 settings: '{ovsdb-settings}'
466 global-settings: '{odl-global-settings}'
470 application-name: ovsdb
473 - email-notification:
474 email-prefix: '[ovsdb]'