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'
33 # For the Job templates below replace instances of:
34 # PROJECT with your project name (eg. controller)
35 # MAVEN_GOALS with your maven goals to build
36 # MAVEN_OPTS with your maven options to build
39 name: 'vtn-verify-{stream}'
41 # Job template for ODL verify jobs
43 # The purpose of this job template is to setup a ODL verify job
46 # stream: branch with - in place of / (eg. stable-helium)
47 # branch: branch (eg. stable/helium)
64 daysToKeep: '{build-days-to-keep}'
65 numToKeep: '{build-num-to-keep}'
66 artifactDaysToKeep: '{build-artifact-days-to-keep}'
67 artifactNumToKeep: '{build-artifact-num-to-keep}'
77 credentials-id: '{ssh-credentials}'
78 refspec: '$GERRIT_REFSPEC'
79 choosing-strategy: 'gerrit'
83 - ssh-agent-credentials:
88 - gerrit-trigger-patch-submitted:
93 - wipe-org-opendaylight-repo
95 maven-version: '{mvn32}'
97 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
99 - '-Xmx1024m -XX:MaxPermSize=256m'
100 settings: '{vtn-settings}'
101 global-settings: '{odl-global-settings}'
102 - jacoco-nojava-workaround
106 - email-notification:
107 email-prefix: '[vtn]'
111 name: 'vtn-merge-{stream}'
113 # Job template for ODL merge jobs
115 # The purpose of this job template is to setup a ODL merge job
116 # and deploy artifacts to Nexus.
118 # Required Variables:
119 # stream: branch with - in place of / (eg. stable-helium)
120 # branch: branch (eg. stable/helium)
127 daysToKeep: '{build-days-to-keep}'
128 numToKeep: '{build-num-to-keep}'
129 artifactDaysToKeep: '{build-artifact-days-to-keep}'
130 artifactNumToKeep: '{build-artifact-num-to-keep}'
137 - gerrit-trigger-scm:
138 credentials-id: '{ssh-credentials}'
140 choosing-strategy: 'default'
144 - ssh-agent-credentials:
146 - '{ssh-credentials}'
149 - gerrit-trigger-patch-merged:
154 - wipe-org-opendaylight-repo
157 maven-name: '{mvn32}'
159 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'
160 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
161 settings: '{vtn-settings}'
162 global-settings: '{odl-global-settings}'
165 - jacoco-nojava-workaround
172 artifacts: 'manager/dist/*/target/*.zip, coordinator/dist/target/*.bz2, manager/northbound/target/site/wsdocs/**, manager/api/target/*-javadoc.jar, manager/api/target/apidocs/**'
173 - email-notification:
174 email-prefix: '[vtn]'
178 deploy-unstable: false
182 name: 'vtn-daily-{stream}'
184 # Job template for daily builders
186 # The purpose of this job template is to setup a daily/nightly
187 # builder and pushes to Sonar analysis.
189 # Required Variables:
190 # stream: branch with - in place of / (eg. stable-helium)
191 # branch: branch (eg. stable/helium)
198 daysToKeep: '{build-days-to-keep}'
199 numToKeep: '{build-num-to-keep}'
200 artifactDaysToKeep: '{build-artifact-days-to-keep}'
201 artifactNumToKeep: '{build-artifact-num-to-keep}'
209 credentials-id: '{ssh-credentials}'
215 - ssh-agent-credentials:
217 - '{ssh-credentials}'
223 - wipe-org-opendaylight-repo
226 maven-name: '{mvn32}'
228 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'
229 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
230 settings: '{vtn-settings}'
231 global-settings: '{odl-global-settings}'
234 - jacoco-nojava-workaround
240 - email-notification:
241 email-prefix: '[vtn]'
245 name: 'vtn-integration-{stream}'
248 # Job template for ODL integration verify jobs
250 # This is similar to a normal verify job, but it runs
251 # when a project that's a dependency of your project
252 # is successfully built.
254 # Required Variables:
255 # stream: branch with - in place of / (eg. stable-helium)
256 # branch: branch (eg. stable/helium)
263 daysToKeep: '{build-days-to-keep}'
264 numToKeep: '{build-num-to-keep}'
265 artifactDaysToKeep: '{build-artifact-days-to-keep}'
266 artifactNumToKeep: '{build-artifact-num-to-keep}'
274 credentials-id: '{ssh-credentials}'
280 - ssh-agent-credentials:
282 - '{ssh-credentials}'
286 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},neutron-merge-{stream}'
290 - wipe-org-opendaylight-repo
293 maven-name: '{mvn32}'
295 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'
296 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
297 settings: '{vtn-settings}'
298 global-settings: '{odl-global-settings}'
301 - jacoco-nojava-workaround
307 - email-notification:
308 email-prefix: '[vtn] [odlparent] [controller] [yangtools] [openflowplugin] [ovsdb] [neutron]'
321 artifactDaysToKeep: '1'
322 artifactNumToKeep: '1'
330 credentials-id: '{ssh-credentials}'
336 - ssh-agent-credentials:
338 - '{ssh-credentials}'
344 maven-name: '{mvn32}'
346 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'
347 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
348 settings: '{vtn-settings}'
349 global-settings: '{odl-global-settings}'
352 - jacoco-nojava-workaround
360 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
361 - email-notification:
362 email-prefix: '[vtn]'
373 daysToKeep: '{build-days-to-keep}'
374 numToKeep: '{build-num-to-keep}'
375 artifactDaysToKeep: '{build-artifact-days-to-keep}'
376 artifactNumToKeep: '{build-artifact-num-to-keep}'
384 credentials-id: '{ssh-credentials}'
390 - ssh-agent-credentials:
392 - '{ssh-credentials}'
398 - wipe-org-opendaylight-repo
401 maven-name: '{mvn32}'
403 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
404 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
405 settings: '{vtn-settings}'
406 global-settings: '{odl-global-settings}'
410 application-name: vtn
413 - email-notification:
414 email-prefix: '[vtn]'