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'
47 branch: 'stable/lithium'
52 branch: 'stable/helium'
59 # For the Job templates below replace instances of:
60 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
61 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
62 # MAVEN_GOALS with your maven goals to build
63 # MAVEN_OPTS with your maven options to build
66 name: 'ovsdb-verify-{stream}'
68 # Job template for ODL verify jobs
70 # The purpose of this job template is to setup a ODL verify job
73 # stream: release stream (eg. stable-lithium or beryllium)
74 # branch: git branch (eg. stable/lithium or master)
91 daysToKeep: '{build-days-to-keep}'
92 numToKeep: '{build-num-to-keep}'
93 artifactDaysToKeep: '{build-artifact-days-to-keep}'
94 artifactNumToKeep: '{build-artifact-num-to-keep}'
103 - gerrit-trigger-scm:
104 credentials-id: '{ssh-credentials}'
105 refspec: '$GERRIT_REFSPEC'
106 choosing-strategy: 'gerrit'
110 - ssh-agent-credentials:
112 - '{ssh-credentials}'
115 - gerrit-trigger-patch-submitted:
120 - wipe-org-opendaylight-repo
121 - jacoco-nojava-workaround
122 - provide-maven-settings:
123 global-settings-file: '{odl-global-settings}'
124 settings-file: '{ovsdb-settings}'
126 maven-version: '{mvn33}'
128 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
130 - '-Xmx1024m -XX:MaxPermSize=256m'
131 settings: '{ovsdb-settings}'
132 global-settings: '{odl-global-settings}'
136 - email-notification:
137 email-prefix: '[ovsdb]'
141 name: 'ovsdb-merge-{stream}'
143 # Job template for ODL merge jobs
145 # The purpose of this job template is to setup a ODL merge job
146 # and deploy artifacts to Nexus.
148 # Required Variables:
149 # stream: release stream (eg. stable-lithium or beryllium)
150 # branch: git branch (eg. stable/lithium or master)
157 daysToKeep: '{build-days-to-keep}'
158 numToKeep: '{build-num-to-keep}'
159 artifactDaysToKeep: '{build-artifact-days-to-keep}'
160 artifactNumToKeep: '{build-artifact-num-to-keep}'
167 - gerrit-trigger-scm:
168 credentials-id: '{ssh-credentials}'
170 choosing-strategy: 'default'
174 - ssh-agent-credentials:
176 - '{ssh-credentials}'
179 - gerrit-trigger-patch-merged:
184 - wipe-org-opendaylight-repo
185 - jacoco-nojava-workaround
186 - provide-maven-settings:
187 global-settings-file: '{odl-global-settings}'
188 settings-file: '{ovsdb-settings}'
191 maven-name: '{mvn33}'
193 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dstream={stream}'
194 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
195 settings: '{ovsdb-settings}'
196 global-settings: '{odl-global-settings}'
197 post-step-run-condition: UNSTABLE
201 condition-kind: file-exists
202 condition-filename: deploy-site.xml
203 condition-basedir: workspace
205 # The strategy here is intentional to run Maven site:deploy twice
206 # once using regular pom.xml to produce a staged-site which is
207 # then used by deploy-site.xml to push to Nexus. This is a
208 # workaround to Maven Site's default linking code which creates
209 # incorrect URLs for sites due to auto-detection assuming your
210 # project is configured in a certain way which ODL is not.
213 maven-version: '{mvn33}'
215 goals: 'site:deploy -Dstream={stream}'
218 settings: '{ovsdb-settings}'
219 global-settings: '{odl-global-settings}'
221 maven-version: '{mvn33}'
223 goals: 'site:deploy -Dstream={stream}'
226 settings: '{ovsdb-settings}'
227 global-settings: '{odl-global-settings}'
233 - email-notification:
234 email-prefix: '[ovsdb]'
238 deploy-unstable: false
242 name: 'ovsdb-daily-{stream}'
244 # Job template for daily builders
246 # The purpose of this job template is to setup a daily/nightly
247 # builder and pushes to Sonar analysis.
249 # Required Variables:
250 # stream: release stream (eg. stable-lithium or beryllium)
251 # branch: git branch (eg. stable/lithium or master)
258 daysToKeep: '{build-days-to-keep}'
259 numToKeep: '{build-num-to-keep}'
260 artifactDaysToKeep: '{build-artifact-days-to-keep}'
261 artifactNumToKeep: '{build-artifact-num-to-keep}'
269 credentials-id: '{ssh-credentials}'
275 - ssh-agent-credentials:
277 - '{ssh-credentials}'
283 - wipe-org-opendaylight-repo
284 - jacoco-nojava-workaround
285 - provide-maven-settings:
286 global-settings-file: '{odl-global-settings}'
287 settings-file: '{ovsdb-settings}'
290 maven-name: '{mvn33}'
292 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
293 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
294 settings: '{ovsdb-settings}'
295 global-settings: '{odl-global-settings}'
301 - email-notification:
302 email-prefix: '[ovsdb]'
306 name: 'ovsdb-distribution-{stream}'
308 # Required variables:
309 # stream: release stream (eg. stable-lithium or beryllium)
310 # branch: git branch (eg. stable/lithium or master)
317 daysToKeep: '{build-days-to-keep}'
318 numToKeep: '{build-num-to-keep}'
319 artifactDaysToKeep: '{build-artifact-days-to-keep}'
320 artifactNumToKeep: '{build-artifact-num-to-keep}'
324 project: 'integration/distribution'
328 credentials-id: '{ssh-credentials}'
334 - ssh-agent-credentials:
336 - '{ssh-credentials}'
340 jobs: '{project}-merge-{stream}'
344 - wipe-org-opendaylight-repo
345 - provide-maven-settings:
346 global-settings-file: '{odl-global-settings}'
347 settings-file: '{ovsdb-settings}'
350 maven-name: '{mvn33}'
352 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
353 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
354 settings: '{integration-settings}'
355 global-settings: '{odl-global-settings}'
358 - email-notification:
359 email-prefix: '[{project}]'
363 deploy-unstable: false
366 name: 'ovsdb-integration-{stream}'
369 # Job template for ODL integration verify jobs
371 # This is similar to a normal verify job, but it runs
372 # when a project that's a dependency of your project
373 # is successfully built.
375 # Required Variables:
376 # stream: release stream (eg. stable-lithium or beryllium)
377 # branch: git branch (eg. stable/lithium or master)
384 daysToKeep: '{build-days-to-keep}'
385 numToKeep: '{build-num-to-keep}'
386 artifactDaysToKeep: '{build-artifact-days-to-keep}'
387 artifactNumToKeep: '{build-artifact-num-to-keep}'
395 credentials-id: '{ssh-credentials}'
401 - ssh-agent-credentials:
403 - '{ssh-credentials}'
407 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}'
411 - wipe-org-opendaylight-repo
412 - jacoco-nojava-workaround
413 - provide-maven-settings:
414 global-settings-file: '{odl-global-settings}'
415 settings-file: '{ovsdb-settings}'
418 maven-name: '{mvn33}'
420 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
421 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
422 settings: '{ovsdb-settings}'
423 global-settings: '{odl-global-settings}'
429 - email-notification:
430 email-prefix: '[ovsdb] [odlparent] [controller] [yangtools] [openflowplugin] [neutron]'
434 name: 'ovsdb-clm-{stream}'
441 daysToKeep: '{build-days-to-keep}'
442 numToKeep: '{build-num-to-keep}'
443 artifactDaysToKeep: '{build-artifact-days-to-keep}'
444 artifactNumToKeep: '{build-artifact-num-to-keep}'
452 credentials-id: '{ssh-credentials}'
458 - ssh-agent-credentials:
460 - '{ssh-credentials}'
466 - wipe-org-opendaylight-repo
467 - provide-maven-settings:
468 global-settings-file: '{odl-global-settings}'
469 settings-file: '{ovsdb-settings}'
472 maven-name: '{mvn33}'
474 goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
475 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
476 settings: '{ovsdb-settings}'
477 global-settings: '{odl-global-settings}'
481 application-name: ovsdb
484 - email-notification:
485 email-prefix: '[ovsdb]'