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}'
16 # stream: branch with - in place of / (eg. stable-helium)
17 # branch: branch (eg. stable/helium)
22 branch: 'stable/helium'
27 # For the Job templates below replace instances of:
28 # PROJECT with your project name (eg. controller)
29 # MAVEN_GOALS with your maven goals to build
30 # MAVEN_OPTS with your maven options to build
33 name: 'vtn-verify-{stream}'
35 # Job template for ODL verify jobs
37 # The purpose of this job template is to setup a ODL verify job
40 # stream: branch with - in place of / (eg. stable-helium)
41 # branch: branch (eg. stable/helium)
59 daysToKeep: '{build-days-to-keep}'
60 numToKeep: '{build-num-to-keep}'
61 artifactDaysToKeep: '{build-artifact-days-to-keep}'
62 artifactNumToKeep: '{build-artifact-num-to-keep}'
72 credentials-id: '{ssh-credentials}'
73 refspec: '$GERRIT_REFSPEC'
74 choosing-strategy: 'gerrit'
78 - ssh-agent-credentials:
79 user: '{ssh-credentials}'
82 - gerrit-trigger-patch-submitted:
87 - wipe-org-opendaylight-repo
89 maven-version: '{mvn32}'
91 goals: 'clean install -V -Pintegrationtests,strictcheck,docs -Dvtn.build.jobs=2 -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
93 - '-Xmx1024m -XX:MaxPermSize=256m'
94 settings: '{vtn-settings}'
95 global-settings: '{odl-global-settings}'
96 - jacoco-nojava-workaround
100 email-prefix: '[vtn]'
104 name: 'vtn-merge-{stream}'
106 # Job template for ODL merge jobs
108 # The purpose of this job template is to setup a ODL merge job
109 # and deploy artifacts to Nexus.
111 # Required Variables:
112 # stream: branch with - in place of / (eg. stable-helium)
113 # branch: branch (eg. stable/helium)
120 daysToKeep: '{build-days-to-keep}'
121 numToKeep: '{build-num-to-keep}'
122 artifactDaysToKeep: '{build-artifact-days-to-keep}'
123 artifactNumToKeep: '{build-artifact-num-to-keep}'
130 - gerrit-trigger-scm:
131 credentials-id: '{ssh-credentials}'
133 choosing-strategy: 'default'
137 - ssh-agent-credentials:
138 user: '{ssh-credentials}'
141 - gerrit-trigger-patch-merged:
146 - wipe-org-opendaylight-repo
149 maven-name: '{mvn32}'
151 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'
152 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
153 settings: '{vtn-settings}'
154 global-settings: '{odl-global-settings}'
157 - jacoco-nojava-workaround
161 artifacts: 'manager/dist/*/target/*.zip, coordinator/dist/target/*.bz2, manager/northbound/target/site/wsdocs/**, manager/api/target/*-javadoc.jar, manager/api/target/apidocs/**'
162 - email-notification:
163 email-prefix: '[vtn]'
167 deploy-unstable: false
171 name: 'vtn-daily-{stream}'
173 # Job template for daily builders
175 # The purpose of this job template is to setup a daily/nightly
176 # builder and pushes to Sonar analysis.
178 # Required Variables:
179 # stream: branch with - in place of / (eg. stable-helium)
180 # branch: branch (eg. stable/helium)
187 daysToKeep: '{build-days-to-keep}'
188 numToKeep: '{build-num-to-keep}'
189 artifactDaysToKeep: '{build-artifact-days-to-keep}'
190 artifactNumToKeep: '{build-artifact-num-to-keep}'
198 credentials-id: '{ssh-credentials}'
204 - ssh-agent-credentials:
205 user: '{ssh-credentials}'
211 - wipe-org-opendaylight-repo
214 maven-name: '{mvn32}'
216 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'
217 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
218 settings: '{vtn-settings}'
219 global-settings: '{odl-global-settings}'
222 - jacoco-nojava-workaround
225 - email-notification:
226 email-prefix: '[vtn]'
230 name: 'vtn-integration-{stream}'
233 # Job template for ODL merge jobs
235 # The purpose of this job template is to setup a ODL merge job
236 # and deploy artifacts to Nexus.
238 # Required Variables:
239 # stream: branch with - in place of / (eg. stable-helium)
240 # branch: branch (eg. stable/helium)
247 daysToKeep: '{build-days-to-keep}'
248 numToKeep: '{build-num-to-keep}'
249 artifactDaysToKeep: '{build-artifact-days-to-keep}'
250 artifactNumToKeep: '{build-artifact-num-to-keep}'
258 credentials-id: '{ssh-credentials}'
264 - ssh-agent-credentials:
265 user: '{ssh-credentials}'
269 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},openflowplugin-merge-{stream}'
273 - wipe-org-opendaylight-repo
276 maven-name: '{mvn32}'
278 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'
279 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
280 settings: '{vtn-settings}'
281 global-settings: '{odl-global-settings}'
284 - jacoco-nojava-workaround
287 - email-notification:
288 email-prefix: '[vtn] [odlparent] [controller] [yangtools] [openflowplugin]'
301 artifactDaysToKeep: '1'
302 artifactNumToKeep: '1'
310 credentials-id: '{ssh-credentials}'
316 - ssh-agent-credentials:
317 user: '{ssh-credentials}'
323 maven-name: '{mvn32}'
325 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'
326 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
327 settings: '{vtn-settings}'
328 global-settings: '{odl-global-settings}'
331 - jacoco-nojava-workaround
336 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
337 - email-notification:
338 email-prefix: '[vtn]'