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 - 'snmp-verify-{stream}'
10 - 'snmp-merge-{stream}'
11 - 'snmp-daily-{stream}'
12 - 'snmp-distribution-{stream}'
13 - 'snmp-integration-{stream}'
18 # stream: branch with - in place of / (eg. stable-helium)
19 # branch: branch (eg. stable/helium)
27 branch: 'stable/lithium'
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: 'snmp-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
95 - jacoco-nojava-workaround
97 maven-version: '{mvn33}'
99 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
101 - '-Xmx1024m -XX:MaxPermSize=256m'
102 settings: '{snmp-settings}'
103 global-settings: '{odl-global-settings}'
107 - email-notification:
108 email-prefix: '[snmp]'
112 name: 'snmp-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:
155 - wipe-org-opendaylight-repo
156 - jacoco-nojava-workaround
159 maven-name: '{mvn33}'
161 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge'
162 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
163 settings: '{snmp-settings}'
164 global-settings: '{odl-global-settings}'
170 - email-notification:
171 email-prefix: '[snmp]'
175 deploy-unstable: false
179 name: 'snmp-daily-{stream}'
181 # Job template for daily builders
183 # The purpose of this job template is to setup a daily/nightly
184 # builder and pushes to Sonar analysis.
186 # Required Variables:
187 # stream: branch with - in place of / (eg. stable-helium)
188 # branch: branch (eg. stable/helium)
195 daysToKeep: '{build-days-to-keep}'
196 numToKeep: '{build-num-to-keep}'
197 artifactDaysToKeep: '{build-artifact-days-to-keep}'
198 artifactNumToKeep: '{build-artifact-num-to-keep}'
206 credentials-id: '{ssh-credentials}'
212 - ssh-agent-credentials:
214 - '{ssh-credentials}'
220 - wipe-org-opendaylight-repo
221 - jacoco-nojava-workaround
224 maven-name: '{mvn33}'
226 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
227 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
228 settings: '{snmp-settings}'
229 global-settings: '{odl-global-settings}'
235 - email-notification:
236 email-prefix: '[snmp]'
240 name: 'snmp-distribution-{stream}'
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: 'snmp-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: branch with - in place of / (eg. stable-helium)
304 # branch: branch (eg. stable/helium)
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}'
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: '{snmp-settings}'
347 global-settings: '{odl-global-settings}'
353 - email-notification:
354 email-prefix: '[snmp] [odlparent]'
367 artifactDaysToKeep: '1'
368 artifactNumToKeep: '1'
376 credentials-id: '{ssh-credentials}'
382 - ssh-agent-credentials:
384 - '{ssh-credentials}'
390 - wipe-org-opendaylight-repo
391 - jacoco-nojava-workaround
394 maven-name: '{mvn33}'
396 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
397 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
398 settings: '{snmp-settings}'
399 global-settings: '{odl-global-settings}'
407 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
408 - email-notification:
409 email-prefix: '[snmp]'
413 name: 'snmp-clm-{stream}'
420 daysToKeep: '{build-days-to-keep}'
421 numToKeep: '{build-num-to-keep}'
422 artifactDaysToKeep: '{build-artifact-days-to-keep}'
423 artifactNumToKeep: '{build-artifact-num-to-keep}'
431 credentials-id: '{ssh-credentials}'
437 - ssh-agent-credentials:
439 - '{ssh-credentials}'
445 - wipe-org-opendaylight-repo
448 maven-name: '{mvn33}'
450 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
451 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
452 settings: '{snmp-settings}'
453 global-settings: '{odl-global-settings}'
457 application-name: snmp
460 - email-notification:
461 email-prefix: '[snmp]'