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}'
17 # stream: branch with - in place of / (eg. stable-helium)
18 # branch: branch (eg. stable/helium)
26 branch: 'stable/helium'
31 branch: 'stable/lithium'
38 # For the Job templates below replace instances of:
39 # PROJECT with your project name (eg. controller)
40 # MAVEN_GOALS with your maven goals to build
41 # MAVEN_OPTS with your maven options to build
44 name: 'ovsdb-verify-{stream}'
46 # Job template for ODL verify jobs
48 # The purpose of this job template is to setup a ODL verify job
51 # stream: branch with - in place of / (eg. stable-helium)
52 # branch: branch (eg. stable/helium)
69 daysToKeep: '{build-days-to-keep}'
70 numToKeep: '{build-num-to-keep}'
71 artifactDaysToKeep: '{build-artifact-days-to-keep}'
72 artifactNumToKeep: '{build-artifact-num-to-keep}'
82 credentials-id: '{ssh-credentials}'
83 refspec: '$GERRIT_REFSPEC'
84 choosing-strategy: 'gerrit'
88 - ssh-agent-credentials:
93 - gerrit-trigger-patch-submitted:
98 - wipe-org-opendaylight-repo
100 maven-version: '{mvn32}'
102 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
104 - '-Xmx1024m -XX:MaxPermSize=256m'
105 settings: '{ovsdb-settings}'
106 global-settings: '{odl-global-settings}'
107 - jacoco-nojava-workaround
111 - email-notification:
112 email-prefix: '[ovsdb]'
116 name: 'ovsdb-merge-{stream}'
118 # Job template for ODL merge jobs
120 # The purpose of this job template is to setup a ODL merge job
121 # and deploy artifacts to Nexus.
123 # Required Variables:
124 # stream: branch with - in place of / (eg. stable-helium)
125 # branch: branch (eg. stable/helium)
132 daysToKeep: '{build-days-to-keep}'
133 numToKeep: '{build-num-to-keep}'
134 artifactDaysToKeep: '{build-artifact-days-to-keep}'
135 artifactNumToKeep: '{build-artifact-num-to-keep}'
142 - gerrit-trigger-scm:
143 credentials-id: '{ssh-credentials}'
145 choosing-strategy: 'default'
149 - ssh-agent-credentials:
151 - '{ssh-credentials}'
154 - gerrit-trigger-patch-merged:
159 - wipe-org-opendaylight-repo
162 maven-name: '{mvn32}'
164 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
165 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
166 settings: '{ovsdb-settings}'
167 global-settings: '{odl-global-settings}'
170 - jacoco-nojava-workaround
176 - email-notification:
177 email-prefix: '[ovsdb]'
181 deploy-unstable: false
185 name: 'ovsdb-daily-{stream}'
187 # Job template for daily builders
189 # The purpose of this job template is to setup a daily/nightly
190 # builder and pushes to Sonar analysis.
192 # Required Variables:
193 # stream: branch with - in place of / (eg. stable-helium)
194 # branch: branch (eg. stable/helium)
201 daysToKeep: '{build-days-to-keep}'
202 numToKeep: '{build-num-to-keep}'
203 artifactDaysToKeep: '{build-artifact-days-to-keep}'
204 artifactNumToKeep: '{build-artifact-num-to-keep}'
212 credentials-id: '{ssh-credentials}'
218 - ssh-agent-credentials:
220 - '{ssh-credentials}'
226 - wipe-org-opendaylight-repo
229 maven-name: '{mvn32}'
231 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
232 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
233 settings: '{ovsdb-settings}'
234 global-settings: '{odl-global-settings}'
237 - jacoco-nojava-workaround
243 - email-notification:
244 email-prefix: '[ovsdb]'
248 name: 'ovsdb-distribution-{stream}'
255 daysToKeep: '{build-days-to-keep}'
256 numToKeep: '{build-num-to-keep}'
257 artifactDaysToKeep: '{build-artifact-days-to-keep}'
258 artifactNumToKeep: '{build-artifact-num-to-keep}'
262 project: 'integration'
266 credentials-id: '{ssh-credentials}'
272 - ssh-agent-credentials:
274 - '{ssh-credentials}'
278 jobs: '{project}-merge-{stream}'
282 - wipe-org-opendaylight-repo
285 maven-name: '{mvn32}'
287 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install source:jar javadoc:jar'
288 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
289 settings: '{integration-settings}'
290 global-settings: '{odl-global-settings}'
293 - email-notification:
294 email-prefix: '[{project}]'
298 deploy-unstable: false
301 name: 'ovsdb-integration-{stream}'
304 # Job template for ODL integration verify jobs
306 # This is similar to a normal verify job, but it runs
307 # when a project that's a dependency of your project
308 # is successfully built.
310 # Required Variables:
311 # stream: branch with - in place of / (eg. stable-helium)
312 # branch: branch (eg. stable/helium)
319 daysToKeep: '{build-days-to-keep}'
320 numToKeep: '{build-num-to-keep}'
321 artifactDaysToKeep: '{build-artifact-days-to-keep}'
322 artifactNumToKeep: '{build-artifact-num-to-keep}'
330 credentials-id: '{ssh-credentials}'
336 - ssh-agent-credentials:
338 - '{ssh-credentials}'
342 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},neutron-merge-{stream}'
346 - wipe-org-opendaylight-repo
349 maven-name: '{mvn32}'
351 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
352 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
353 settings: '{ovsdb-settings}'
354 global-settings: '{odl-global-settings}'
357 - jacoco-nojava-workaround
363 - email-notification:
364 email-prefix: '[ovsdb] [odlparent] [controller] [yangtools] [openflowplugin] [neutron]'
375 daysToKeep: '{build-days-to-keep}'
376 numToKeep: '{build-num-to-keep}'
377 artifactDaysToKeep: '{build-artifact-days-to-keep}'
378 artifactNumToKeep: '{build-artifact-num-to-keep}'
386 credentials-id: '{ssh-credentials}'
392 - ssh-agent-credentials:
394 - '{ssh-credentials}'
400 - wipe-org-opendaylight-repo
403 maven-name: '{mvn32}'
405 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
406 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
407 settings: '{ovsdb-settings}'
408 global-settings: '{odl-global-settings}'
412 application-name: ovsdb
415 - email-notification:
416 email-prefix: '[ovsdb]'