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)
23 branch: 'stable/helium'
28 # For the Job templates below replace instances of:
29 # PROJECT with your project name (eg. controller)
30 # MAVEN_GOALS with your maven goals to build
31 # MAVEN_OPTS with your maven options to build
34 name: 'vtn-verify-{stream}'
36 # Job template for ODL verify jobs
38 # The purpose of this job template is to setup a ODL verify job
41 # stream: branch with - in place of / (eg. stable-helium)
42 # branch: branch (eg. stable/helium)
61 daysToKeep: '{build-days-to-keep}'
62 numToKeep: '{build-num-to-keep}'
63 artifactDaysToKeep: '{build-artifact-days-to-keep}'
64 artifactNumToKeep: '{build-artifact-num-to-keep}'
74 credentials-id: '{ssh-credentials}'
75 refspec: '$GERRIT_REFSPEC'
76 choosing-strategy: 'gerrit'
80 - ssh-agent-credentials:
85 - gerrit-trigger-patch-submitted:
90 - wipe-org-opendaylight-repo
92 maven-version: '{mvn32}'
94 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
96 - '-Xmx1024m -XX:MaxPermSize=256m'
97 settings: '{vtn-settings}'
98 global-settings: '{odl-global-settings}'
99 - jacoco-nojava-workaround
103 - email-notification:
104 email-prefix: '[vtn]'
108 name: 'vtn-merge-{stream}'
110 # Job template for ODL merge jobs
112 # The purpose of this job template is to setup a ODL merge job
113 # and deploy artifacts to Nexus.
115 # Required Variables:
116 # stream: branch with - in place of / (eg. stable-helium)
117 # branch: branch (eg. stable/helium)
124 daysToKeep: '{build-days-to-keep}'
125 numToKeep: '{build-num-to-keep}'
126 artifactDaysToKeep: '{build-artifact-days-to-keep}'
127 artifactNumToKeep: '{build-artifact-num-to-keep}'
134 - gerrit-trigger-scm:
135 credentials-id: '{ssh-credentials}'
137 choosing-strategy: 'default'
141 - ssh-agent-credentials:
143 - '{ssh-credentials}'
146 - gerrit-trigger-patch-merged:
151 - wipe-org-opendaylight-repo
154 maven-name: '{mvn32}'
156 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'
157 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
158 settings: '{vtn-settings}'
159 global-settings: '{odl-global-settings}'
162 - jacoco-nojava-workaround
169 artifacts: 'manager/dist/*/target/*.zip, coordinator/dist/target/*.bz2, manager/northbound/target/site/wsdocs/**, manager/api/target/*-javadoc.jar, manager/api/target/apidocs/**'
170 - email-notification:
171 email-prefix: '[vtn]'
175 deploy-unstable: false
179 name: 'vtn-daily-{stream}'
181 # Job template for daily builders
183 # The purpose of this job template is to setup a daily/nightly
184 # builder and pushes to Sonar analysis.
186 # Required Variables:
187 # stream: branch with - in place of / (eg. stable-helium)
188 # branch: branch (eg. stable/helium)
195 daysToKeep: '{build-days-to-keep}'
196 numToKeep: '{build-num-to-keep}'
197 artifactDaysToKeep: '{build-artifact-days-to-keep}'
198 artifactNumToKeep: '{build-artifact-num-to-keep}'
206 credentials-id: '{ssh-credentials}'
212 - ssh-agent-credentials:
214 - '{ssh-credentials}'
220 - wipe-org-opendaylight-repo
223 maven-name: '{mvn32}'
225 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'
226 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
227 settings: '{vtn-settings}'
228 global-settings: '{odl-global-settings}'
231 - jacoco-nojava-workaround
237 - email-notification:
238 email-prefix: '[vtn]'
242 name: 'vtn-integration-{stream}'
245 # Job template for ODL merge jobs
247 # The purpose of this job template is to setup a ODL merge job
248 # and deploy artifacts to Nexus.
250 # Required Variables:
251 # stream: branch with - in place of / (eg. stable-helium)
252 # branch: branch (eg. stable/helium)
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}'
282 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},neutron-merge-{stream}'
286 - wipe-org-opendaylight-repo
289 maven-name: '{mvn32}'
291 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'
292 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
293 settings: '{vtn-settings}'
294 global-settings: '{odl-global-settings}'
297 - jacoco-nojava-workaround
303 - email-notification:
304 email-prefix: '[vtn] [odlparent] [controller] [yangtools] [openflowplugin] [ovsdb] [neutron]'
317 artifactDaysToKeep: '1'
318 artifactNumToKeep: '1'
326 credentials-id: '{ssh-credentials}'
332 - ssh-agent-credentials:
334 - '{ssh-credentials}'
340 maven-name: '{mvn32}'
342 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'
343 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
344 settings: '{vtn-settings}'
345 global-settings: '{odl-global-settings}'
348 - jacoco-nojava-workaround
356 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
357 - email-notification:
358 email-prefix: '[vtn]'
369 daysToKeep: '{build-days-to-keep}'
370 numToKeep: '{build-num-to-keep}'
371 artifactDaysToKeep: '{build-artifact-days-to-keep}'
372 artifactNumToKeep: '{build-artifact-num-to-keep}'
380 credentials-id: '{ssh-credentials}'
386 - ssh-agent-credentials:
388 - '{ssh-credentials}'
394 - wipe-org-opendaylight-repo
397 maven-name: '{mvn32}'
399 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
400 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
401 settings: '{vtn-settings}'
402 global-settings: '{odl-global-settings}'
406 application-name: vtn
409 - email-notification:
410 email-prefix: '[vtn]'