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 - 'coretutorials-verify-{stream}'
10 - 'coretutorials-merge-{stream}'
11 - 'coretutorials-daily-{stream}'
12 - 'coretutorials-distribution-{stream}'
13 - 'coretutorials-integration-{stream}'
14 - 'coretutorials-sonar'
18 # stream: branch with - in place of / (eg. stable-helium)
19 # branch: branch (eg. stable/helium)
27 branch: 'stable/lithium'
32 project: 'coretutorials'
34 # For the Job templates below replace instances of:
35 # PROJECT with your project name (eg. controller)
36 # MAVEN_GOALS with your maven goals to build
37 # MAVEN_OPTS with your maven options to build
40 name: 'coretutorials-verify-{stream}'
42 # Job template for ODL verify jobs
44 # The purpose of this job template is to setup a ODL verify job
47 # stream: branch with - in place of / (eg. stable-helium)
48 # branch: branch (eg. stable/helium)
65 daysToKeep: '{build-days-to-keep}'
66 numToKeep: '{build-num-to-keep}'
67 artifactDaysToKeep: '{build-artifact-days-to-keep}'
68 artifactNumToKeep: '{build-artifact-num-to-keep}'
78 credentials-id: '{ssh-credentials}'
79 refspec: '$GERRIT_REFSPEC'
80 choosing-strategy: 'gerrit'
84 - ssh-agent-credentials:
89 - gerrit-trigger-patch-submitted:
94 - wipe-org-opendaylight-repo
96 maven-version: '{mvn32}'
98 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
100 - '-Xmx1024m -XX:MaxPermSize=256m'
101 settings: '{coretutorials-settings}'
102 global-settings: '{odl-global-settings}'
103 - jacoco-nojava-workaround
107 - email-notification:
108 email-prefix: '[coretutorials]'
112 name: 'coretutorials-merge-{stream}'
114 # Job template for ODL merge jobs
116 # The purpose of this job template is to setup a ODL merge job
117 # and deploy artifacts to Nexus.
119 # Required Variables:
120 # stream: branch with - in place of / (eg. stable-helium)
121 # branch: branch (eg. stable/helium)
128 daysToKeep: '{build-days-to-keep}'
129 numToKeep: '{build-num-to-keep}'
130 artifactDaysToKeep: '{build-artifact-days-to-keep}'
131 artifactNumToKeep: '{build-artifact-num-to-keep}'
138 - gerrit-trigger-scm:
139 credentials-id: '{ssh-credentials}'
141 choosing-strategy: 'default'
145 - ssh-agent-credentials:
147 - '{ssh-credentials}'
150 - gerrit-trigger-patch-merged:
151 name: 'coretutorials'
155 - wipe-org-opendaylight-repo
158 maven-name: '{mvn32}'
160 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
161 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
162 settings: '{coretutorials-settings}'
163 global-settings: '{odl-global-settings}'
166 - jacoco-nojava-workaround
172 - email-notification:
173 email-prefix: '[coretutorials]'
177 deploy-unstable: false
181 name: 'coretutorials-daily-{stream}'
183 # Job template for daily builders
185 # The purpose of this job template is to setup a daily/nightly
186 # builder and pushes to Sonar analysis.
188 # Required Variables:
189 # stream: branch with - in place of / (eg. stable-helium)
190 # branch: branch (eg. stable/helium)
197 daysToKeep: '{build-days-to-keep}'
198 numToKeep: '{build-num-to-keep}'
199 artifactDaysToKeep: '{build-artifact-days-to-keep}'
200 artifactNumToKeep: '{build-artifact-num-to-keep}'
208 credentials-id: '{ssh-credentials}'
214 - ssh-agent-credentials:
216 - '{ssh-credentials}'
222 - wipe-org-opendaylight-repo
225 maven-name: '{mvn32}'
227 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
228 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
229 settings: '{coretutorials-settings}'
230 global-settings: '{odl-global-settings}'
233 - jacoco-nojava-workaround
239 - email-notification:
240 email-prefix: '[coretutorials]'
244 name: 'coretutorials-distribution-{stream}'
251 daysToKeep: '{build-days-to-keep}'
252 numToKeep: '{build-num-to-keep}'
253 artifactDaysToKeep: '{build-artifact-days-to-keep}'
254 artifactNumToKeep: '{build-artifact-num-to-keep}'
258 project: 'integration'
262 credentials-id: '{ssh-credentials}'
268 - ssh-agent-credentials:
270 - '{ssh-credentials}'
274 jobs: '{project}-merge-{stream}'
278 - wipe-org-opendaylight-repo
281 maven-name: '{mvn32}'
283 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install source:jar javadoc:jar'
284 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
285 settings: '{integration-settings}'
286 global-settings: '{odl-global-settings}'
289 - email-notification:
290 email-prefix: '[{project}]'
294 deploy-unstable: false
297 name: 'coretutorials-integration-{stream}'
300 # Job template for ODL integration verify jobs
302 # This is similar to a normal verify job, but it runs
303 # when a project that's a dependency of your project
304 # is successfully built.
306 # Required Variables:
307 # stream: branch with - in place of / (eg. stable-helium)
308 # branch: branch (eg. stable/helium)
315 daysToKeep: '{build-days-to-keep}'
316 numToKeep: '{build-num-to-keep}'
317 artifactDaysToKeep: '{build-artifact-days-to-keep}'
318 artifactNumToKeep: '{build-artifact-num-to-keep}'
326 credentials-id: '{ssh-credentials}'
332 - ssh-agent-credentials:
334 - '{ssh-credentials}'
338 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
342 - wipe-org-opendaylight-repo
345 maven-name: '{mvn32}'
347 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
348 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
349 settings: '{coretutorials-settings}'
350 global-settings: '{odl-global-settings}'
353 - jacoco-nojava-workaround
359 - email-notification:
360 email-prefix: '[coretutorials] [odlparent] [yangtools] [controller]'
364 name: 'coretutorials-sonar'
373 artifactDaysToKeep: '1'
374 artifactNumToKeep: '1'
382 credentials-id: '{ssh-credentials}'
388 - ssh-agent-credentials:
390 - '{ssh-credentials}'
396 maven-name: '{mvn32}'
398 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
399 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
400 settings: '{coretutorials-settings}'
401 global-settings: '{odl-global-settings}'
404 - jacoco-nojava-workaround
412 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
413 - email-notification:
414 email-prefix: '[coretutorials]'
418 name: 'coretutorials-clm'
425 daysToKeep: '{build-days-to-keep}'
426 numToKeep: '{build-num-to-keep}'
427 artifactDaysToKeep: '{build-artifact-days-to-keep}'
428 artifactNumToKeep: '{build-artifact-num-to-keep}'
436 credentials-id: '{ssh-credentials}'
442 - ssh-agent-credentials:
444 - '{ssh-credentials}'
450 - wipe-org-opendaylight-repo
453 maven-name: '{mvn32}'
455 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
456 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
457 settings: '{coretutorials-settings}'
458 global-settings: '{odl-global-settings}'
462 application-name: coretutorials
465 - email-notification:
466 email-prefix: '[coretutorials]'