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 - 'controller-merge-{stream}'
10 - 'controller-daily-{stream}'
11 - 'controller-distribution-{stream}'
12 - 'controller-integration-{stream}'
17 # stream: branch with - in place of / (eg. stable-helium)
18 # branch: branch (eg. stable/helium)
27 branch: 'stable/helium'
32 branch: 'stable/lithium'
40 # For the Job templates below replace instances of:
41 # PROJECT with your project name (eg. controller)
42 # MAVEN_GOALS with your maven goals to build
43 # MAVEN_OPTS with your maven options to build
46 name: 'controller-merge-{stream}'
48 # Job template for ODL merge jobs
50 # The purpose of this job template is to setup a ODL merge job
51 # and deploy artifacts to Nexus.
54 # stream: branch with - in place of / (eg. stable-helium)
55 # branch: branch (eg. stable/helium)
62 daysToKeep: '{build-days-to-keep}'
63 numToKeep: '{build-num-to-keep}'
64 artifactDaysToKeep: '{build-artifact-days-to-keep}'
65 artifactNumToKeep: '{build-artifact-num-to-keep}'
73 credentials-id: '{ssh-credentials}'
75 choosing-strategy: 'default'
79 - ssh-agent-credentials:
84 - gerrit-trigger-patch-merged:
89 - wipe-org-opendaylight-repo
94 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -Pintegrationtests,docs source:jar javadoc:jar'
95 maven-opts: '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
96 settings: '{controller-settings}'
97 global-settings: '{odl-global-settings}'
100 - jacoco-nojava-workaround
107 - email-notification:
108 email-prefix: '[controller]'
112 deploy-unstable: false
116 name: 'controller-daily-{stream}'
118 # Job template for daily builders
120 # The purpose of this job template is to setup a daily/nightly
121 # builder and pushes to Sonar analysis.
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}'
143 credentials-id: '{ssh-credentials}'
149 - ssh-agent-credentials:
151 - '{ssh-credentials}'
157 - wipe-org-opendaylight-repo
160 maven-name: '{mvn32}'
162 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -Pintegrationtests,docs source:jar javadoc:jar'
163 maven-opts: '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
164 settings: '{controller-settings}'
165 global-settings: '{odl-global-settings}'
168 - jacoco-nojava-workaround
174 - email-notification:
175 email-prefix: '[controller]'
179 name: 'controller-distribution-{stream}'
186 daysToKeep: '{build-days-to-keep}'
187 numToKeep: '{build-num-to-keep}'
188 artifactDaysToKeep: '{build-artifact-days-to-keep}'
189 artifactNumToKeep: '{build-artifact-num-to-keep}'
193 project: 'integration'
197 credentials-id: '{ssh-credentials}'
203 - ssh-agent-credentials:
205 - '{ssh-credentials}'
209 jobs: '{project}-merge-{stream}'
213 - wipe-org-opendaylight-repo
216 maven-name: '{mvn32}'
218 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install source:jar javadoc:jar'
219 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
220 settings: '{integration-settings}'
221 global-settings: '{odl-global-settings}'
224 - email-notification:
225 email-prefix: '[{project}]'
229 deploy-unstable: false
232 name: 'controller-integration-{stream}'
235 # Job template for ODL integration verify jobs
237 # This is similar to a normal verify job, but it runs
238 # when a project that's a dependency of your project
239 # is successfully built.
241 # Required Variables:
242 # stream: branch with - in place of / (eg. stable-helium)
243 # branch: branch (eg. stable/helium)
250 daysToKeep: '{build-days-to-keep}'
251 numToKeep: '{build-num-to-keep}'
252 artifactDaysToKeep: '{build-artifact-days-to-keep}'
253 artifactNumToKeep: '{build-artifact-num-to-keep}'
261 credentials-id: '{ssh-credentials}'
267 - ssh-agent-credentials:
269 - '{ssh-credentials}'
273 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},aaa-merge-{stream}'
277 - wipe-org-opendaylight-repo
280 maven-name: '{mvn32}'
282 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -Pintegrationtests,docs source:jar javadoc:jar'
283 maven-opts: '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
284 settings: '{controller-settings}'
285 global-settings: '{odl-global-settings}'
288 - jacoco-nojava-workaround
294 - email-notification:
295 email-prefix: '[controller] [odlparent] [yangtools] [aaa]'
299 name: 'controller-sonar'
308 artifactDaysToKeep: '1'
309 artifactNumToKeep: '1'
317 credentials-id: '{ssh-credentials}'
323 - ssh-agent-credentials:
325 - '{ssh-credentials}'
331 maven-name: '{mvn32}'
333 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install -Pintegrationtests,docs -Dsonar'
334 maven-opts: '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
335 settings: '{controller-settings}'
336 global-settings: '{odl-global-settings}'
339 - jacoco-nojava-workaround
347 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
348 - email-notification:
349 email-prefix: '[controller]'
353 name: 'controller-clm'
360 daysToKeep: '{build-days-to-keep}'
361 numToKeep: '{build-num-to-keep}'
362 artifactDaysToKeep: '{build-artifact-days-to-keep}'
363 artifactNumToKeep: '{build-artifact-num-to-keep}'
371 credentials-id: '{ssh-credentials}'
377 - ssh-agent-credentials:
379 - '{ssh-credentials}'
385 - wipe-org-opendaylight-repo
388 maven-name: '{mvn32}'
390 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
391 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
392 settings: '{controller-settings}'
393 global-settings: '{odl-global-settings}'
397 application-name: controller
400 - email-notification:
401 email-prefix: '[controller]'