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 - 'vtn-verify-{stream}'
10 - 'vtn-merge-{stream}'
11 - 'vtn-daily-{stream}'
12 - 'vtn-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: 'vtn-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 -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
104 - '-Xmx1024m -XX:MaxPermSize=256m'
105 settings: '{vtn-settings}'
106 global-settings: '{odl-global-settings}'
107 - jacoco-nojava-workaround
111 - email-notification:
112 email-prefix: '[vtn]'
116 name: 'vtn-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 -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -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: '{vtn-settings}'
167 global-settings: '{odl-global-settings}'
170 - jacoco-nojava-workaround
177 artifacts: 'manager/dist/*/target/*.zip, coordinator/dist/target/*.bz2, manager/northbound/target/site/wsdocs/**, manager/api/target/*-javadoc.jar, manager/api/target/apidocs/**'
178 - email-notification:
179 email-prefix: '[vtn]'
183 deploy-unstable: false
187 name: 'vtn-daily-{stream}'
189 # Job template for daily builders
191 # The purpose of this job template is to setup a daily/nightly
192 # builder and pushes to Sonar analysis.
194 # Required Variables:
195 # stream: branch with - in place of / (eg. stable-helium)
196 # branch: branch (eg. stable/helium)
203 daysToKeep: '{build-days-to-keep}'
204 numToKeep: '{build-num-to-keep}'
205 artifactDaysToKeep: '{build-artifact-days-to-keep}'
206 artifactNumToKeep: '{build-artifact-num-to-keep}'
214 credentials-id: '{ssh-credentials}'
220 - ssh-agent-credentials:
222 - '{ssh-credentials}'
228 - wipe-org-opendaylight-repo
231 maven-name: '{mvn32}'
233 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
234 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
235 settings: '{vtn-settings}'
236 global-settings: '{odl-global-settings}'
239 - jacoco-nojava-workaround
245 - email-notification:
246 email-prefix: '[vtn]'
250 name: 'vtn-integration-{stream}'
253 # Job template for ODL integration verify jobs
255 # This is similar to a normal verify job, but it runs
256 # when a project that's a dependency of your project
257 # is successfully built.
259 # Required Variables:
260 # stream: branch with - in place of / (eg. stable-helium)
261 # branch: branch (eg. stable/helium)
268 daysToKeep: '{build-days-to-keep}'
269 numToKeep: '{build-num-to-keep}'
270 artifactDaysToKeep: '{build-artifact-days-to-keep}'
271 artifactNumToKeep: '{build-artifact-num-to-keep}'
279 credentials-id: '{ssh-credentials}'
285 - ssh-agent-credentials:
287 - '{ssh-credentials}'
291 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},neutron-merge-{stream}'
295 - wipe-org-opendaylight-repo
298 maven-name: '{mvn32}'
300 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
301 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
302 settings: '{vtn-settings}'
303 global-settings: '{odl-global-settings}'
306 - jacoco-nojava-workaround
312 - email-notification:
313 email-prefix: '[vtn] [odlparent] [controller] [yangtools] [openflowplugin] [ovsdb] [neutron]'
326 artifactDaysToKeep: '1'
327 artifactNumToKeep: '1'
335 credentials-id: '{ssh-credentials}'
341 - ssh-agent-credentials:
343 - '{ssh-credentials}'
349 maven-name: '{mvn32}'
351 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
352 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
353 settings: '{vtn-settings}'
354 global-settings: '{odl-global-settings}'
357 - jacoco-nojava-workaround
365 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
366 - email-notification:
367 email-prefix: '[vtn]'
378 daysToKeep: '{build-days-to-keep}'
379 numToKeep: '{build-num-to-keep}'
380 artifactDaysToKeep: '{build-artifact-days-to-keep}'
381 artifactNumToKeep: '{build-artifact-num-to-keep}'
389 credentials-id: '{ssh-credentials}'
395 - ssh-agent-credentials:
397 - '{ssh-credentials}'
403 - wipe-org-opendaylight-repo
406 maven-name: '{mvn32}'
408 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
409 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
410 settings: '{vtn-settings}'
411 global-settings: '{odl-global-settings}'
415 application-name: vtn
418 - email-notification:
419 email-prefix: '[vtn]'