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 - 'centinel-verify-{stream}'
10 - 'centinel-merge-{stream}'
11 - 'centinel-daily-{stream}'
12 - 'centinel-distribution-{stream}'
13 - 'centinel-integration-{stream}'
15 - 'centinel-clm-{stream}'
18 # stream: release stream (eg. stable-lithium or beryllium)
19 # branch: git branch (eg. stable/lithium or master)
30 # For the Job templates below replace instances of:
31 # PROJECT with your project name (eg. controller)
32 # MAVEN_GOALS with your maven goals to build
33 # MAVEN_OPTS with your maven options to build
36 name: 'centinel-verify-{stream}'
38 # Job template for ODL verify jobs
40 # The purpose of this job template is to setup a ODL verify job
43 # stream: release stream (eg. stable-lithium or beryllium)
44 # branch: git branch (eg. stable/lithium or master)
61 daysToKeep: '{build-days-to-keep}'
62 numToKeep: '{build-num-to-keep}'
63 artifactDaysToKeep: '{build-artifact-days-to-keep}'
64 artifactNumToKeep: '{build-artifact-num-to-keep}'
74 credentials-id: '{ssh-credentials}'
75 refspec: '$GERRIT_REFSPEC'
76 choosing-strategy: 'gerrit'
80 - ssh-agent-credentials:
85 - gerrit-trigger-patch-submitted:
90 - wipe-org-opendaylight-repo
91 - jacoco-nojava-workaround
93 maven-version: '{mvn33}'
95 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
97 - '-Xmx1024m -XX:MaxPermSize=256m'
98 settings: '{centinel-settings}'
99 global-settings: '{odl-global-settings}'
103 - email-notification:
104 email-prefix: '[centinel]'
108 name: 'centinel-merge-{stream}'
110 # Job template for ODL merge jobs
112 # The purpose of this job template is to setup a ODL merge job
113 # and deploy artifacts to Nexus.
115 # Required Variables:
116 # stream: release stream (eg. stable-lithium or beryllium)
117 # branch: git branch (eg. stable/lithium or master)
124 daysToKeep: '{build-days-to-keep}'
125 numToKeep: '{build-num-to-keep}'
126 artifactDaysToKeep: '{build-artifact-days-to-keep}'
127 artifactNumToKeep: '{build-artifact-num-to-keep}'
134 - gerrit-trigger-scm:
135 credentials-id: '{ssh-credentials}'
137 choosing-strategy: 'default'
141 - ssh-agent-credentials:
143 - '{ssh-credentials}'
146 - gerrit-trigger-patch-merged:
151 - wipe-org-opendaylight-repo
152 - jacoco-nojava-workaround
155 maven-name: '{mvn33}'
157 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge'
158 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
159 settings: '{centinel-settings}'
160 global-settings: '{odl-global-settings}'
166 - email-notification:
167 email-prefix: '[centinel]'
171 deploy-unstable: false
175 name: 'centinel-daily-{stream}'
177 # Job template for daily builders
179 # The purpose of this job template is to setup a daily/nightly
180 # builder and pushes to Sonar analysis.
182 # Required Variables:
183 # stream: release stream (eg. stable-lithium or beryllium)
184 # branch: git branch (eg. stable/lithium or master)
191 daysToKeep: '{build-days-to-keep}'
192 numToKeep: '{build-num-to-keep}'
193 artifactDaysToKeep: '{build-artifact-days-to-keep}'
194 artifactNumToKeep: '{build-artifact-num-to-keep}'
202 credentials-id: '{ssh-credentials}'
208 - ssh-agent-credentials:
210 - '{ssh-credentials}'
216 - wipe-org-opendaylight-repo
217 - jacoco-nojava-workaround
220 maven-name: '{mvn33}'
222 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
223 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
224 settings: '{centinel-settings}'
225 global-settings: '{odl-global-settings}'
231 - email-notification:
232 email-prefix: '[centinel]'
236 name: 'centinel-distribution-{stream}'
238 # Required variables:
239 # stream: release stream (eg. stable-lithium or beryllium)
240 # branch: git branch (eg. stable/lithium or master)
247 daysToKeep: '{build-days-to-keep}'
248 numToKeep: '{build-num-to-keep}'
249 artifactDaysToKeep: '{build-artifact-days-to-keep}'
250 artifactNumToKeep: '{build-artifact-num-to-keep}'
254 project: 'integration'
258 credentials-id: '{ssh-credentials}'
264 - ssh-agent-credentials:
266 - '{ssh-credentials}'
270 jobs: '{project}-merge-{stream}'
274 - wipe-org-opendaylight-repo
277 maven-name: '{mvn33}'
279 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
280 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
281 settings: '{integration-settings}'
282 global-settings: '{odl-global-settings}'
285 - email-notification:
286 email-prefix: '[{project}]'
290 deploy-unstable: false
293 name: 'centinel-integration-{stream}'
296 # Job template for ODL integration verify jobs
298 # This is similar to a normal verify job, but it runs
299 # when a project that's a dependency of your project
300 # is successfully built.
302 # Required Variables:
303 # stream: release stream (eg. stable-lithium or beryllium)
304 # branch: git branch (eg. stable/lithium or master)
311 daysToKeep: '{build-days-to-keep}'
312 numToKeep: '{build-num-to-keep}'
313 artifactDaysToKeep: '{build-artifact-days-to-keep}'
314 artifactNumToKeep: '{build-artifact-num-to-keep}'
322 credentials-id: '{ssh-credentials}'
328 - ssh-agent-credentials:
330 - '{ssh-credentials}'
334 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream}'
338 - wipe-org-opendaylight-repo
339 - jacoco-nojava-workaround
342 maven-name: '{mvn33}'
344 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
345 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
346 settings: '{centinel-settings}'
347 global-settings: '{odl-global-settings}'
353 - email-notification:
354 email-prefix: '[centinel] [odlparent] [controller] [yangtools]'
358 name: 'centinel-sonar'
367 artifactDaysToKeep: '1'
368 artifactNumToKeep: '1'
376 credentials-id: '{ssh-credentials}'
382 - ssh-agent-credentials:
384 - '{ssh-credentials}'
388 - gerrit-trigger-patch-sonar:
392 - wipe-org-opendaylight-repo
393 - jacoco-nojava-workaround
396 maven-name: '{mvn33}'
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: '{centinel-settings}'
401 global-settings: '{odl-global-settings}'
409 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
410 - email-notification:
411 email-prefix: '[centinel]'
415 name: 'centinel-clm-{stream}'
422 daysToKeep: '{build-days-to-keep}'
423 numToKeep: '{build-num-to-keep}'
424 artifactDaysToKeep: '{build-artifact-days-to-keep}'
425 artifactNumToKeep: '{build-artifact-num-to-keep}'
433 credentials-id: '{ssh-credentials}'
439 - ssh-agent-credentials:
441 - '{ssh-credentials}'
447 - wipe-org-opendaylight-repo
450 maven-name: '{mvn33}'
452 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
453 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
454 settings: '{centinel-settings}'
455 global-settings: '{odl-global-settings}'
459 application-name: centinel
462 - email-notification:
463 email-prefix: '[centinel]'