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
94 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge'
95 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
96 settings: '{yangtools-settings}'
97 global-settings: '{odl-global-settings}'
100 - jacoco-nojava-workaround
106 - email-notification:
107 email-prefix: '[yangtools]'
111 deploy-unstable: false
115 name: 'yangtools-daily-{stream}'
117 # Job template for daily builders
119 # The purpose of this job template is to setup a daily/nightly
120 # builder and pushes to Sonar analysis.
122 # Required Variables:
123 # stream: branch with - in place of / (eg. stable-helium)
124 # branch: branch (eg. stable/helium)
131 daysToKeep: '{build-days-to-keep}'
132 numToKeep: '{build-num-to-keep}'
133 artifactDaysToKeep: '{build-artifact-days-to-keep}'
134 artifactNumToKeep: '{build-artifact-num-to-keep}'
142 credentials-id: '{ssh-credentials}'
148 - ssh-agent-credentials:
150 - '{ssh-credentials}'
156 - wipe-org-opendaylight-repo
159 maven-name: '{mvn33}'
161 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
162 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
163 settings: '{yangtools-settings}'
164 global-settings: '{odl-global-settings}'
167 - jacoco-nojava-workaround
173 - email-notification:
174 email-prefix: '[yangtools]'
178 name: 'yangtools-distribution-{stream}'
185 daysToKeep: '{build-days-to-keep}'
186 numToKeep: '{build-num-to-keep}'
187 artifactDaysToKeep: '{build-artifact-days-to-keep}'
188 artifactNumToKeep: '{build-artifact-num-to-keep}'
192 project: 'integration'
196 credentials-id: '{ssh-credentials}'
202 - ssh-agent-credentials:
204 - '{ssh-credentials}'
208 jobs: '{project}-merge-{stream}'
212 - wipe-org-opendaylight-repo
215 maven-name: '{mvn33}'
217 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
218 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
219 settings: '{integration-settings}'
220 global-settings: '{odl-global-settings}'
223 - email-notification:
224 email-prefix: '[{project}]'
228 deploy-unstable: false
231 name: 'yangtools-integration-{stream}'
234 # Job template for ODL integration verify jobs
236 # This is similar to a normal verify job, but it runs
237 # when a project that's a dependency of your project
238 # is successfully built.
240 # Required Variables:
241 # stream: branch with - in place of / (eg. stable-helium)
242 # branch: branch (eg. stable/helium)
249 daysToKeep: '{build-days-to-keep}'
250 numToKeep: '{build-num-to-keep}'
251 artifactDaysToKeep: '{build-artifact-days-to-keep}'
252 artifactNumToKeep: '{build-artifact-num-to-keep}'
260 credentials-id: '{ssh-credentials}'
266 - ssh-agent-credentials:
268 - '{ssh-credentials}'
272 jobs: 'odlparent-merge-{stream}'
276 - wipe-org-opendaylight-repo
279 maven-name: '{mvn33}'
281 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
282 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
283 settings: '{yangtools-settings}'
284 global-settings: '{odl-global-settings}'
287 - jacoco-nojava-workaround
293 - email-notification:
294 email-prefix: '[yangtools] [odlparent]'
298 name: 'yangtools-sonar'
307 artifactDaysToKeep: '1'
308 artifactNumToKeep: '1'
316 credentials-id: '{ssh-credentials}'
322 - ssh-agent-credentials:
324 - '{ssh-credentials}'
330 maven-name: '{mvn33}'
332 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
333 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
334 settings: '{yangtools-settings}'
335 global-settings: '{odl-global-settings}'
338 - jacoco-nojava-workaround
346 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
347 - email-notification:
348 email-prefix: '[yangtools]'
352 name: 'yangtools-clm-{stream}'
359 daysToKeep: '{build-days-to-keep}'
360 numToKeep: '{build-num-to-keep}'
361 artifactDaysToKeep: '{build-artifact-days-to-keep}'
362 artifactNumToKeep: '{build-artifact-num-to-keep}'
370 credentials-id: '{ssh-credentials}'
376 - ssh-agent-credentials:
378 - '{ssh-credentials}'
384 - wipe-org-opendaylight-repo
387 maven-name: '{mvn33}'
389 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
390 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
391 settings: '{yangtools-settings}'
392 global-settings: '{odl-global-settings}'
396 application-name: yangtools
399 - email-notification:
400 email-prefix: '[yangtools]'