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)
21 branch: 'topic/lithium/clustering'
26 branch: 'topic/master/clustering'
31 - neutron-yang-migration:
32 branch: 'topic/master/neutron-yang-migration'
38 branch: 'topic/routermanager'
48 branch: 'stable/lithium'
53 branch: 'stable/helium'
60 # For the Job templates below replace instances of:
61 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
62 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
63 # MAVEN_GOALS with your maven goals to build
64 # MAVEN_OPTS with your maven options to build
67 name: 'ovsdb-verify-{stream}'
69 # Job template for ODL verify jobs
71 # The purpose of this job template is to setup a ODL verify job
74 # stream: release stream (eg. stable-lithium or beryllium)
75 # branch: git branch (eg. stable/lithium or master)
92 daysToKeep: '{build-days-to-keep}'
93 numToKeep: '{build-num-to-keep}'
94 artifactDaysToKeep: '{build-artifact-days-to-keep}'
95 artifactNumToKeep: '{build-artifact-num-to-keep}'
104 - gerrit-trigger-scm:
105 credentials-id: '{ssh-credentials}'
106 refspec: '$GERRIT_REFSPEC'
107 choosing-strategy: 'gerrit'
111 - ssh-agent-credentials:
113 - '{ssh-credentials}'
116 - gerrit-trigger-patch-submitted:
121 - wipe-org-opendaylight-repo
122 - jacoco-nojava-workaround
123 - provide-maven-settings:
124 global-settings-file: '{odl-global-settings}'
125 settings-file: '{ovsdb-settings}'
127 maven-version: '{mvn33}'
129 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
131 - '-Xmx1024m -XX:MaxPermSize=256m'
132 settings: '{ovsdb-settings}'
133 global-settings: '{odl-global-settings}'
137 - email-notification:
138 email-prefix: '[ovsdb]'
142 name: 'ovsdb-merge-{stream}'
144 # Job template for ODL merge jobs
146 # The purpose of this job template is to setup a ODL merge job
147 # and deploy artifacts to Nexus.
149 # Required Variables:
150 # stream: release stream (eg. stable-lithium or beryllium)
151 # branch: git branch (eg. stable/lithium or master)
158 daysToKeep: '{build-days-to-keep}'
159 numToKeep: '{build-num-to-keep}'
160 artifactDaysToKeep: '{build-artifact-days-to-keep}'
161 artifactNumToKeep: '{build-artifact-num-to-keep}'
168 - gerrit-trigger-scm:
169 credentials-id: '{ssh-credentials}'
171 choosing-strategy: 'default'
175 - ssh-agent-credentials:
177 - '{ssh-credentials}'
180 - gerrit-trigger-patch-merged:
185 - wipe-org-opendaylight-repo
186 - jacoco-nojava-workaround
187 - provide-maven-settings:
188 global-settings-file: '{odl-global-settings}'
189 settings-file: '{ovsdb-settings}'
192 maven-name: '{mvn33}'
194 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dstream={stream}'
195 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
196 settings: '{ovsdb-settings}'
197 global-settings: '{odl-global-settings}'
198 post-step-run-condition: UNSTABLE
202 condition-kind: file-exists
203 condition-filename: deploy-site.xml
204 condition-basedir: workspace
206 # The strategy here is intentional to run Maven site:deploy twice
207 # once using regular pom.xml to produce a staged-site which is
208 # then used by deploy-site.xml to push to Nexus. This is a
209 # workaround to Maven Site's default linking code which creates
210 # incorrect URLs for sites due to auto-detection assuming your
211 # project is configured in a certain way which ODL is not.
214 maven-version: '{mvn33}'
216 goals: 'site:deploy -Dstream={stream}'
219 settings: '{ovsdb-settings}'
220 global-settings: '{odl-global-settings}'
222 maven-version: '{mvn33}'
224 goals: 'site:deploy -Dstream={stream}'
227 settings: '{ovsdb-settings}'
228 global-settings: '{odl-global-settings}'
234 - email-notification:
235 email-prefix: '[ovsdb]'
239 deploy-unstable: false
243 name: 'ovsdb-daily-{stream}'
245 # Job template for daily builders
247 # The purpose of this job template is to setup a daily/nightly
248 # builder and pushes to Sonar analysis.
250 # Required Variables:
251 # stream: release stream (eg. stable-lithium or beryllium)
252 # branch: git branch (eg. stable/lithium or master)
259 daysToKeep: '{build-days-to-keep}'
260 numToKeep: '{build-num-to-keep}'
261 artifactDaysToKeep: '{build-artifact-days-to-keep}'
262 artifactNumToKeep: '{build-artifact-num-to-keep}'
270 credentials-id: '{ssh-credentials}'
276 - ssh-agent-credentials:
278 - '{ssh-credentials}'
284 - wipe-org-opendaylight-repo
285 - jacoco-nojava-workaround
286 - provide-maven-settings:
287 global-settings-file: '{odl-global-settings}'
288 settings-file: '{ovsdb-settings}'
291 maven-name: '{mvn33}'
293 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
294 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
295 settings: '{ovsdb-settings}'
296 global-settings: '{odl-global-settings}'
302 - email-notification:
303 email-prefix: '[ovsdb]'
307 name: 'ovsdb-distribution-{stream}'
309 # Required variables:
310 # stream: release stream (eg. stable-lithium or beryllium)
311 # branch: git branch (eg. stable/lithium or master)
318 daysToKeep: '{build-days-to-keep}'
319 numToKeep: '{build-num-to-keep}'
320 artifactDaysToKeep: '{build-artifact-days-to-keep}'
321 artifactNumToKeep: '{build-artifact-num-to-keep}'
325 project: 'integration/distribution'
329 credentials-id: '{ssh-credentials}'
335 - ssh-agent-credentials:
337 - '{ssh-credentials}'
341 jobs: '{project}-merge-{stream}'
345 - wipe-org-opendaylight-repo
346 - provide-maven-settings:
347 global-settings-file: '{odl-global-settings}'
348 settings-file: '{ovsdb-settings}'
351 maven-name: '{mvn33}'
353 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
354 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
355 settings: '{integration-settings}'
356 global-settings: '{odl-global-settings}'
359 - email-notification:
360 email-prefix: '[{project}]'
364 deploy-unstable: false
367 name: 'ovsdb-integration-{stream}'
370 # Job template for ODL integration verify jobs
372 # This is similar to a normal verify job, but it runs
373 # when a project that's a dependency of your project
374 # is successfully built.
376 # Required Variables:
377 # stream: release stream (eg. stable-lithium or beryllium)
378 # branch: git branch (eg. stable/lithium or master)
385 daysToKeep: '{build-days-to-keep}'
386 numToKeep: '{build-num-to-keep}'
387 artifactDaysToKeep: '{build-artifact-days-to-keep}'
388 artifactNumToKeep: '{build-artifact-num-to-keep}'
396 credentials-id: '{ssh-credentials}'
402 - ssh-agent-credentials:
404 - '{ssh-credentials}'
408 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}'
412 - wipe-org-opendaylight-repo
413 - jacoco-nojava-workaround
414 - provide-maven-settings:
415 global-settings-file: '{odl-global-settings}'
416 settings-file: '{ovsdb-settings}'
419 maven-name: '{mvn33}'
421 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
422 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
423 settings: '{ovsdb-settings}'
424 global-settings: '{odl-global-settings}'
430 - email-notification:
431 email-prefix: '[ovsdb] [odlparent] [controller] [yangtools] [openflowplugin] [neutron]'
435 name: 'ovsdb-clm-{stream}'
442 daysToKeep: '{build-days-to-keep}'
443 numToKeep: '{build-num-to-keep}'
444 artifactDaysToKeep: '{build-artifact-days-to-keep}'
445 artifactNumToKeep: '{build-artifact-num-to-keep}'
453 credentials-id: '{ssh-credentials}'
459 - ssh-agent-credentials:
461 - '{ssh-credentials}'
467 - wipe-org-opendaylight-repo
468 - provide-maven-settings:
469 global-settings-file: '{odl-global-settings}'
470 settings-file: '{ovsdb-settings}'
473 maven-name: '{mvn33}'
475 goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
476 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
477 settings: '{ovsdb-settings}'
478 global-settings: '{odl-global-settings}'
482 application-name: ovsdb
485 - email-notification:
486 email-prefix: '[ovsdb]'