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 - 'yangtools-merge-{stream}'
10 - 'yangtools-daily-{stream}'
11 - 'yangtools-distribution-{stream}'
12 - 'yangtools-integration-{stream}'
14 - 'yangtools-clm-{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: 'yangtools-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
90 - jacoco-nojava-workaround
95 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge'
96 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
97 settings: '{yangtools-settings}'
98 global-settings: '{odl-global-settings}'
104 - email-notification:
105 email-prefix: '[yangtools]'
109 deploy-unstable: false
113 name: 'yangtools-daily-{stream}'
115 # Job template for daily builders
117 # The purpose of this job template is to setup a daily/nightly
118 # builder and pushes to Sonar analysis.
120 # Required Variables:
121 # stream: branch with - in place of / (eg. stable-helium)
122 # branch: branch (eg. stable/helium)
129 daysToKeep: '{build-days-to-keep}'
130 numToKeep: '{build-num-to-keep}'
131 artifactDaysToKeep: '{build-artifact-days-to-keep}'
132 artifactNumToKeep: '{build-artifact-num-to-keep}'
140 credentials-id: '{ssh-credentials}'
146 - ssh-agent-credentials:
148 - '{ssh-credentials}'
154 - wipe-org-opendaylight-repo
155 - jacoco-nojava-workaround
158 maven-name: '{mvn33}'
160 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
161 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
162 settings: '{yangtools-settings}'
163 global-settings: '{odl-global-settings}'
169 - email-notification:
170 email-prefix: '[yangtools]'
174 name: 'yangtools-distribution-{stream}'
181 daysToKeep: '{build-days-to-keep}'
182 numToKeep: '{build-num-to-keep}'
183 artifactDaysToKeep: '{build-artifact-days-to-keep}'
184 artifactNumToKeep: '{build-artifact-num-to-keep}'
188 project: 'integration'
192 credentials-id: '{ssh-credentials}'
198 - ssh-agent-credentials:
200 - '{ssh-credentials}'
204 jobs: '{project}-merge-{stream}'
208 - wipe-org-opendaylight-repo
211 maven-name: '{mvn33}'
213 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
214 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
215 settings: '{integration-settings}'
216 global-settings: '{odl-global-settings}'
219 - email-notification:
220 email-prefix: '[{project}]'
224 deploy-unstable: false
227 name: 'yangtools-integration-{stream}'
230 # Job template for ODL integration verify jobs
232 # This is similar to a normal verify job, but it runs
233 # when a project that's a dependency of your project
234 # is successfully built.
236 # Required Variables:
237 # stream: branch with - in place of / (eg. stable-helium)
238 # branch: branch (eg. stable/helium)
245 daysToKeep: '{build-days-to-keep}'
246 numToKeep: '{build-num-to-keep}'
247 artifactDaysToKeep: '{build-artifact-days-to-keep}'
248 artifactNumToKeep: '{build-artifact-num-to-keep}'
256 credentials-id: '{ssh-credentials}'
262 - ssh-agent-credentials:
264 - '{ssh-credentials}'
268 jobs: 'odlparent-merge-{stream}'
272 - wipe-org-opendaylight-repo
273 - jacoco-nojava-workaround
276 maven-name: '{mvn33}'
278 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
279 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
280 settings: '{yangtools-settings}'
281 global-settings: '{odl-global-settings}'
287 - email-notification:
288 email-prefix: '[yangtools] [odlparent]'
292 name: 'yangtools-sonar'
301 artifactDaysToKeep: '1'
302 artifactNumToKeep: '1'
310 credentials-id: '{ssh-credentials}'
316 - ssh-agent-credentials:
318 - '{ssh-credentials}'
324 - wipe-org-opendaylight-repo
325 - jacoco-nojava-workaround
328 maven-name: '{mvn33}'
330 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
331 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
332 settings: '{yangtools-settings}'
333 global-settings: '{odl-global-settings}'
341 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
342 - email-notification:
343 email-prefix: '[yangtools]'
347 name: 'yangtools-clm-{stream}'
354 daysToKeep: '{build-days-to-keep}'
355 numToKeep: '{build-num-to-keep}'
356 artifactDaysToKeep: '{build-artifact-days-to-keep}'
357 artifactNumToKeep: '{build-artifact-num-to-keep}'
365 credentials-id: '{ssh-credentials}'
371 - ssh-agent-credentials:
373 - '{ssh-credentials}'
379 - wipe-org-opendaylight-repo
382 maven-name: '{mvn33}'
384 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
385 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
386 settings: '{yangtools-settings}'
387 global-settings: '{odl-global-settings}'
391 application-name: yangtools
394 - email-notification:
395 email-prefix: '[yangtools]'