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: release stream (eg. stable-lithium or beryllium)
18 # branch: git branch (eg. stable/lithium or master)
27 branch: 'stable/lithium'
33 branch: 'stable/helium'
40 # For the Job templates below replace instances of:
41 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
42 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
43 # MAVEN_GOALS with your maven goals to build
44 # MAVEN_OPTS with your maven options to build
47 name: 'yangtools-merge-{stream}'
49 # Job template for ODL merge jobs
51 # The purpose of this job template is to setup a ODL merge job
52 # and deploy artifacts to Nexus.
55 # stream: release stream (eg. stable-lithium or beryllium)
56 # branch: git branch (eg. stable/lithium or master)
63 daysToKeep: '{build-days-to-keep}'
64 numToKeep: '{build-num-to-keep}'
65 artifactDaysToKeep: '{build-artifact-days-to-keep}'
66 artifactNumToKeep: '{build-artifact-num-to-keep}'
74 credentials-id: '{ssh-credentials}'
76 choosing-strategy: 'default'
80 - ssh-agent-credentials:
85 - gerrit-trigger-patch-merged:
90 - wipe-org-opendaylight-repo
91 - jacoco-nojava-workaround
92 - provide-maven-settings:
93 global-settings-file: '{odl-global-settings}'
94 settings-file: '{yangtools-settings}'
99 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge'
100 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
101 settings: '{yangtools-settings}'
102 global-settings: '{odl-global-settings}'
108 - email-notification:
109 email-prefix: '[yangtools]'
113 deploy-unstable: false
117 name: 'yangtools-daily-{stream}'
119 # Job template for daily builders
121 # The purpose of this job template is to setup a daily/nightly
122 # builder and pushes to Sonar analysis.
124 # Required Variables:
125 # stream: release stream (eg. stable-lithium or beryllium)
126 # branch: git branch (eg. stable/lithium or master)
133 daysToKeep: '{build-days-to-keep}'
134 numToKeep: '{build-num-to-keep}'
135 artifactDaysToKeep: '{build-artifact-days-to-keep}'
136 artifactNumToKeep: '{build-artifact-num-to-keep}'
144 credentials-id: '{ssh-credentials}'
150 - ssh-agent-credentials:
152 - '{ssh-credentials}'
158 - wipe-org-opendaylight-repo
159 - jacoco-nojava-workaround
160 - provide-maven-settings:
161 global-settings-file: '{odl-global-settings}'
162 settings-file: '{yangtools-settings}'
165 maven-name: '{mvn33}'
167 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
168 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
169 settings: '{yangtools-settings}'
170 global-settings: '{odl-global-settings}'
176 - email-notification:
177 email-prefix: '[yangtools]'
181 name: 'yangtools-distribution-{stream}'
183 # Required variables:
184 # stream: release stream (eg. stable-lithium or beryllium)
185 # branch: git branch (eg. stable/lithium or master)
192 daysToKeep: '{build-days-to-keep}'
193 numToKeep: '{build-num-to-keep}'
194 artifactDaysToKeep: '{build-artifact-days-to-keep}'
195 artifactNumToKeep: '{build-artifact-num-to-keep}'
199 project: 'integration'
203 credentials-id: '{ssh-credentials}'
209 - ssh-agent-credentials:
211 - '{ssh-credentials}'
215 jobs: '{project}-merge-{stream}'
219 - wipe-org-opendaylight-repo
220 - provide-maven-settings:
221 global-settings-file: '{odl-global-settings}'
222 settings-file: '{yangtools-settings}'
225 maven-name: '{mvn33}'
227 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
228 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
229 settings: '{integration-settings}'
230 global-settings: '{odl-global-settings}'
233 - email-notification:
234 email-prefix: '[{project}]'
238 deploy-unstable: false
241 name: 'yangtools-integration-{stream}'
244 # Job template for ODL integration verify jobs
246 # This is similar to a normal verify job, but it runs
247 # when a project that's a dependency of your project
248 # is successfully built.
250 # Required Variables:
251 # stream: release stream (eg. stable-lithium or beryllium)
252 # branch: git branch (eg. stable/lithium or master)
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}'
286 - wipe-org-opendaylight-repo
287 - jacoco-nojava-workaround
288 - provide-maven-settings:
289 global-settings-file: '{odl-global-settings}'
290 settings-file: '{yangtools-settings}'
293 maven-name: '{mvn33}'
295 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
296 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
297 settings: '{yangtools-settings}'
298 global-settings: '{odl-global-settings}'
304 - email-notification:
305 email-prefix: '[yangtools] [odlparent]'
309 name: 'yangtools-sonar'
318 artifactDaysToKeep: '1'
319 artifactNumToKeep: '1'
327 credentials-id: '{ssh-credentials}'
333 - ssh-agent-credentials:
335 - '{ssh-credentials}'
339 - gerrit-trigger-patch-sonar:
343 - wipe-org-opendaylight-repo
344 - jacoco-nojava-workaround
345 - provide-maven-settings:
346 global-settings-file: '{odl-global-settings}'
347 settings-file: '{yangtools-settings}'
350 maven-name: '{mvn33}'
352 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
353 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
354 settings: '{yangtools-settings}'
355 global-settings: '{odl-global-settings}'
363 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
364 - email-notification:
365 email-prefix: '[yangtools]'
369 name: 'yangtools-clm-{stream}'
376 daysToKeep: '{build-days-to-keep}'
377 numToKeep: '{build-num-to-keep}'
378 artifactDaysToKeep: '{build-artifact-days-to-keep}'
379 artifactNumToKeep: '{build-artifact-num-to-keep}'
387 credentials-id: '{ssh-credentials}'
393 - ssh-agent-credentials:
395 - '{ssh-credentials}'
401 - wipe-org-opendaylight-repo
402 - provide-maven-settings:
403 global-settings-file: '{odl-global-settings}'
404 settings-file: '{yangtools-settings}'
407 maven-name: '{mvn33}'
409 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
410 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
411 settings: '{yangtools-settings}'
412 global-settings: '{odl-global-settings}'
416 application-name: yangtools
419 - email-notification:
420 email-prefix: '[yangtools]'