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 - clustering-netvirt-lithium:
21 branch: 'topic/lithium/net-virt-clustering'
25 - clustering-netvirt-master:
26 branch: 'topic/master/net-virt-clustering'
30 - neutron-yang-migration:
31 branch: 'topic/master/neutron-yang-migration'
36 branch: 'topic/routermanager'
46 branch: 'stable/lithium'
51 branch: 'stable/helium'
58 # For the Job templates below replace instances of:
59 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
60 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
61 # MAVEN_GOALS with your maven goals to build
62 # MAVEN_OPTS with your maven options to build
65 name: 'ovsdb-verify-{stream}'
67 # Job template for ODL verify jobs
69 # The purpose of this job template is to setup a ODL verify job
72 # stream: release stream (eg. stable-lithium or beryllium)
73 # branch: git branch (eg. stable/lithium or master)
90 daysToKeep: '{build-days-to-keep}'
91 numToKeep: '{build-num-to-keep}'
92 artifactDaysToKeep: '{build-artifact-days-to-keep}'
93 artifactNumToKeep: '{build-artifact-num-to-keep}'
102 - gerrit-trigger-scm:
103 credentials-id: '{ssh-credentials}'
104 refspec: '$GERRIT_REFSPEC'
105 choosing-strategy: 'gerrit'
109 - ssh-agent-credentials:
111 - '{ssh-credentials}'
114 - gerrit-trigger-patch-submitted:
119 - wipe-org-opendaylight-repo
120 - jacoco-nojava-workaround
121 - provide-maven-settings:
122 global-settings-file: '{odl-global-settings}'
123 settings-file: '{ovsdb-settings}'
125 maven-version: '{mvn33}'
127 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
129 - '-Xmx1024m -XX:MaxPermSize=256m'
130 settings: '{ovsdb-settings}'
131 global-settings: '{odl-global-settings}'
135 - email-notification:
136 email-prefix: '[ovsdb]'
140 name: 'ovsdb-merge-{stream}'
142 # Job template for ODL merge jobs
144 # The purpose of this job template is to setup a ODL merge job
145 # and deploy artifacts to Nexus.
147 # Required Variables:
148 # stream: release stream (eg. stable-lithium or beryllium)
149 # branch: git branch (eg. stable/lithium or master)
156 daysToKeep: '{build-days-to-keep}'
157 numToKeep: '{build-num-to-keep}'
158 artifactDaysToKeep: '{build-artifact-days-to-keep}'
159 artifactNumToKeep: '{build-artifact-num-to-keep}'
166 - gerrit-trigger-scm:
167 credentials-id: '{ssh-credentials}'
169 choosing-strategy: 'default'
173 - ssh-agent-credentials:
175 - '{ssh-credentials}'
178 - gerrit-trigger-patch-merged:
183 - wipe-org-opendaylight-repo
184 - jacoco-nojava-workaround
185 - provide-maven-settings:
186 global-settings-file: '{odl-global-settings}'
187 settings-file: '{ovsdb-settings}'
190 maven-name: '{mvn33}'
192 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dstream={stream}'
193 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
194 settings: '{ovsdb-settings}'
195 global-settings: '{odl-global-settings}'
196 post-step-run-condition: UNSTABLE
200 condition-kind: file-exists
201 condition-filename: deploy-site.xml
202 condition-basedir: workspace
204 # The strategy here is intentional to run Maven site:deploy twice
205 # once using regular pom.xml to produce a staged-site which is
206 # then used by deploy-site.xml to push to Nexus. This is a
207 # workaround to Maven Site's default linking code which creates
208 # incorrect URLs for sites due to auto-detection assuming your
209 # project is configured in a certain way which ODL is not.
212 maven-version: '{mvn33}'
214 goals: 'site:deploy -Dstream={stream}'
217 settings: '{ovsdb-settings}'
218 global-settings: '{odl-global-settings}'
220 maven-version: '{mvn33}'
222 goals: 'site:deploy -Dstream={stream}'
225 settings: '{ovsdb-settings}'
226 global-settings: '{odl-global-settings}'
232 - email-notification:
233 email-prefix: '[ovsdb]'
237 deploy-unstable: false
241 name: 'ovsdb-daily-{stream}'
243 # Job template for daily builders
245 # The purpose of this job template is to setup a daily/nightly
246 # builder and pushes to Sonar analysis.
248 # Required Variables:
249 # stream: release stream (eg. stable-lithium or beryllium)
250 # branch: git branch (eg. stable/lithium or master)
257 daysToKeep: '{build-days-to-keep}'
258 numToKeep: '{build-num-to-keep}'
259 artifactDaysToKeep: '{build-artifact-days-to-keep}'
260 artifactNumToKeep: '{build-artifact-num-to-keep}'
268 credentials-id: '{ssh-credentials}'
274 - ssh-agent-credentials:
276 - '{ssh-credentials}'
282 - wipe-org-opendaylight-repo
283 - jacoco-nojava-workaround
284 - provide-maven-settings:
285 global-settings-file: '{odl-global-settings}'
286 settings-file: '{ovsdb-settings}'
289 maven-name: '{mvn33}'
291 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
292 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
293 settings: '{ovsdb-settings}'
294 global-settings: '{odl-global-settings}'
300 - email-notification:
301 email-prefix: '[ovsdb]'
305 name: 'ovsdb-distribution-{stream}'
307 # Required variables:
308 # stream: release stream (eg. stable-lithium or beryllium)
309 # branch: git branch (eg. stable/lithium or master)
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}'
323 project: 'integration/distribution'
327 credentials-id: '{ssh-credentials}'
333 - ssh-agent-credentials:
335 - '{ssh-credentials}'
339 jobs: '{project}-merge-{stream}'
343 - wipe-org-opendaylight-repo
344 - provide-maven-settings:
345 global-settings-file: '{odl-global-settings}'
346 settings-file: '{ovsdb-settings}'
349 maven-name: '{mvn33}'
351 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
352 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
353 settings: '{integration-settings}'
354 global-settings: '{odl-global-settings}'
357 - email-notification:
358 email-prefix: '[{project}]'
362 deploy-unstable: false
365 name: 'ovsdb-integration-{stream}'
368 # Job template for ODL integration verify jobs
370 # This is similar to a normal verify job, but it runs
371 # when a project that's a dependency of your project
372 # is successfully built.
374 # Required Variables:
375 # stream: release stream (eg. stable-lithium or beryllium)
376 # branch: git branch (eg. stable/lithium or master)
383 daysToKeep: '{build-days-to-keep}'
384 numToKeep: '{build-num-to-keep}'
385 artifactDaysToKeep: '{build-artifact-days-to-keep}'
386 artifactNumToKeep: '{build-artifact-num-to-keep}'
394 credentials-id: '{ssh-credentials}'
400 - ssh-agent-credentials:
402 - '{ssh-credentials}'
406 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}'
410 - wipe-org-opendaylight-repo
411 - jacoco-nojava-workaround
412 - provide-maven-settings:
413 global-settings-file: '{odl-global-settings}'
414 settings-file: '{ovsdb-settings}'
417 maven-name: '{mvn33}'
419 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
420 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
421 settings: '{ovsdb-settings}'
422 global-settings: '{odl-global-settings}'
428 - email-notification:
429 email-prefix: '[ovsdb] [odlparent] [controller] [yangtools] [openflowplugin] [neutron]'
433 name: 'ovsdb-clm-{stream}'
440 daysToKeep: '{build-days-to-keep}'
441 numToKeep: '{build-num-to-keep}'
442 artifactDaysToKeep: '{build-artifact-days-to-keep}'
443 artifactNumToKeep: '{build-artifact-num-to-keep}'
451 credentials-id: '{ssh-credentials}'
457 - ssh-agent-credentials:
459 - '{ssh-credentials}'
465 - wipe-org-opendaylight-repo
466 - provide-maven-settings:
467 global-settings-file: '{odl-global-settings}'
468 settings-file: '{ovsdb-settings}'
471 maven-name: '{mvn33}'
473 goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
474 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
475 settings: '{ovsdb-settings}'
476 global-settings: '{odl-global-settings}'
480 application-name: ovsdb
483 - email-notification:
484 email-prefix: '[ovsdb]'