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:
81 user: '{ssh-credentials}'
84 - gerrit-trigger-patch-submitted:
89 - wipe-org-opendaylight-repo
91 maven-version: '{mvn32}'
93 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
95 - '-Xmx1024m -XX:MaxPermSize=256m'
96 settings: '{vtn-settings}'
97 global-settings: '{odl-global-settings}'
98 - jacoco-nojava-workaround
102 - email-notification:
103 email-prefix: '[vtn]'
107 name: 'vtn-merge-{stream}'
109 # Job template for ODL merge jobs
111 # The purpose of this job template is to setup a ODL merge job
112 # and deploy artifacts to Nexus.
114 # Required Variables:
115 # stream: branch with - in place of / (eg. stable-helium)
116 # branch: branch (eg. stable/helium)
123 daysToKeep: '{build-days-to-keep}'
124 numToKeep: '{build-num-to-keep}'
125 artifactDaysToKeep: '{build-artifact-days-to-keep}'
126 artifactNumToKeep: '{build-artifact-num-to-keep}'
133 - gerrit-trigger-scm:
134 credentials-id: '{ssh-credentials}'
136 choosing-strategy: 'default'
140 - ssh-agent-credentials:
141 user: '{ssh-credentials}'
144 - gerrit-trigger-patch-merged:
149 - wipe-org-opendaylight-repo
152 maven-name: '{mvn32}'
154 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'
155 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
156 settings: '{vtn-settings}'
157 global-settings: '{odl-global-settings}'
160 - jacoco-nojava-workaround
167 artifacts: 'manager/dist/*/target/*.zip, coordinator/dist/target/*.bz2, manager/northbound/target/site/wsdocs/**, manager/api/target/*-javadoc.jar, manager/api/target/apidocs/**'
168 - email-notification:
169 email-prefix: '[vtn]'
173 deploy-unstable: false
177 name: 'vtn-daily-{stream}'
179 # Job template for daily builders
181 # The purpose of this job template is to setup a daily/nightly
182 # builder and pushes to Sonar analysis.
184 # Required Variables:
185 # stream: branch with - in place of / (eg. stable-helium)
186 # branch: branch (eg. stable/helium)
193 daysToKeep: '{build-days-to-keep}'
194 numToKeep: '{build-num-to-keep}'
195 artifactDaysToKeep: '{build-artifact-days-to-keep}'
196 artifactNumToKeep: '{build-artifact-num-to-keep}'
204 credentials-id: '{ssh-credentials}'
210 - ssh-agent-credentials:
211 user: '{ssh-credentials}'
217 - wipe-org-opendaylight-repo
220 maven-name: '{mvn32}'
222 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'
223 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
224 settings: '{vtn-settings}'
225 global-settings: '{odl-global-settings}'
228 - jacoco-nojava-workaround
234 - email-notification:
235 email-prefix: '[vtn]'
239 name: 'vtn-integration-{stream}'
242 # Job template for ODL merge jobs
244 # The purpose of this job template is to setup a ODL merge job
245 # and deploy artifacts to Nexus.
247 # Required Variables:
248 # stream: branch with - in place of / (eg. stable-helium)
249 # branch: branch (eg. stable/helium)
256 daysToKeep: '{build-days-to-keep}'
257 numToKeep: '{build-num-to-keep}'
258 artifactDaysToKeep: '{build-artifact-days-to-keep}'
259 artifactNumToKeep: '{build-artifact-num-to-keep}'
267 credentials-id: '{ssh-credentials}'
273 - ssh-agent-credentials:
274 user: '{ssh-credentials}'
278 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},neutron-merge-{stream}'
282 - wipe-org-opendaylight-repo
285 maven-name: '{mvn32}'
287 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'
288 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
289 settings: '{vtn-settings}'
290 global-settings: '{odl-global-settings}'
293 - jacoco-nojava-workaround
299 - email-notification:
300 email-prefix: '[vtn] [odlparent] [controller] [yangtools] [openflowplugin] [ovsdb] [neutron]'
313 artifactDaysToKeep: '1'
314 artifactNumToKeep: '1'
322 credentials-id: '{ssh-credentials}'
328 - ssh-agent-credentials:
329 user: '{ssh-credentials}'
335 maven-name: '{mvn32}'
337 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'
338 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
339 settings: '{vtn-settings}'
340 global-settings: '{odl-global-settings}'
343 - jacoco-nojava-workaround
351 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
352 - email-notification:
353 email-prefix: '[vtn]'
364 daysToKeep: '{build-days-to-keep}'
365 numToKeep: '{build-num-to-keep}'
366 artifactDaysToKeep: '{build-artifact-days-to-keep}'
367 artifactNumToKeep: '{build-artifact-num-to-keep}'
375 credentials-id: '{ssh-credentials}'
381 - ssh-agent-credentials:
382 user: '{ssh-credentials}'
388 - wipe-org-opendaylight-repo
391 maven-name: '{mvn32}'
393 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
394 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
395 settings: '{vtn-settings}'
396 global-settings: '{odl-global-settings}'
400 application-name: vtn
403 - email-notification:
404 email-prefix: '[vtn]'