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 - 'capwap-verify-{stream}'
10 - 'capwap-merge-{stream}'
11 - 'capwap-daily-{stream}'
12 - 'capwap-distribution-{stream}'
13 - 'capwap-integration-{stream}'
18 # stream: branch with - in place of / (eg. stable-helium)
19 # branch: branch (eg. stable/helium)
29 # For the Job templates below replace instances of:
30 # PROJECT with your project name (eg. controller)
31 # MAVEN_GOALS with your maven goals to build
32 # MAVEN_OPTS with your maven options to build
35 name: 'capwap-verify-{stream}'
37 # Job template for ODL verify jobs
39 # The purpose of this job template is to setup a ODL verify job
42 # stream: branch with - in place of / (eg. stable-helium)
43 # branch: branch (eg. stable/helium)
60 daysToKeep: '{build-days-to-keep}'
61 numToKeep: '{build-num-to-keep}'
62 artifactDaysToKeep: '{build-artifact-days-to-keep}'
63 artifactNumToKeep: '{build-artifact-num-to-keep}'
73 credentials-id: '{ssh-credentials}'
74 refspec: '$GERRIT_REFSPEC'
75 choosing-strategy: 'gerrit'
79 - ssh-agent-credentials:
84 - gerrit-trigger-patch-submitted:
89 - wipe-org-opendaylight-repo
91 maven-version: '{mvn32}'
93 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
95 - '-Xmx1024m -XX:MaxPermSize=256m'
96 settings: '{capwap-settings}'
97 global-settings: '{odl-global-settings}'
98 - jacoco-nojava-workaround
102 - email-notification:
103 email-prefix: '[capwap]'
107 name: 'capwap-merge-{stream}'
109 # Job template for ODL merge jobs
111 # The purpose of this job template is to setup a ODL merge job
112 # and deploy artifacts to Nexus.
114 # Required Variables:
115 # stream: branch with - in place of / (eg. stable-helium)
116 # branch: branch (eg. stable/helium)
123 daysToKeep: '{build-days-to-keep}'
124 numToKeep: '{build-num-to-keep}'
125 artifactDaysToKeep: '{build-artifact-days-to-keep}'
126 artifactNumToKeep: '{build-artifact-num-to-keep}'
133 - gerrit-trigger-scm:
134 credentials-id: '{ssh-credentials}'
136 choosing-strategy: 'default'
140 - ssh-agent-credentials:
142 - '{ssh-credentials}'
145 - gerrit-trigger-patch-merged:
150 - wipe-org-opendaylight-repo
153 maven-name: '{mvn32}'
155 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
156 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
157 settings: '{capwap-settings}'
158 global-settings: '{odl-global-settings}'
161 - jacoco-nojava-workaround
168 - email-notification:
169 email-prefix: '[capwap]'
173 deploy-unstable: false
177 name: 'capwap-daily-{stream}'
179 # Job template for daily builders
181 # The purpose of this job template is to setup a daily/nightly
182 # builder and pushes to Sonar analysis.
184 # Required Variables:
185 # stream: branch with - in place of / (eg. stable-helium)
186 # branch: branch (eg. stable/helium)
193 daysToKeep: '{build-days-to-keep}'
194 numToKeep: '{build-num-to-keep}'
195 artifactDaysToKeep: '{build-artifact-days-to-keep}'
196 artifactNumToKeep: '{build-artifact-num-to-keep}'
204 credentials-id: '{ssh-credentials}'
210 - ssh-agent-credentials:
212 - '{ssh-credentials}'
218 - wipe-org-opendaylight-repo
221 maven-name: '{mvn32}'
223 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
224 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
225 settings: '{capwap-settings}'
226 global-settings: '{odl-global-settings}'
229 - jacoco-nojava-workaround
235 - email-notification:
236 email-prefix: '[capwap]'
240 name: 'capwap-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: '{mvn32}'
279 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install source:jar javadoc:jar'
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: 'capwap-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: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream}'
338 - wipe-org-opendaylight-repo
341 maven-name: '{mvn32}'
343 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
344 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
345 settings: '{capwap-settings}'
346 global-settings: '{odl-global-settings}'
349 - jacoco-nojava-workaround
355 - email-notification:
356 email-prefix: '[capwap] [controller] [yangtools] [odlparent]'
369 artifactDaysToKeep: '1'
370 artifactNumToKeep: '1'
378 credentials-id: '{ssh-credentials}'
384 - ssh-agent-credentials:
386 - '{ssh-credentials}'
392 maven-name: '{mvn32}'
394 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
395 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
396 settings: '{capwap-settings}'
397 global-settings: '{odl-global-settings}'
400 - jacoco-nojava-workaround
408 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
409 - email-notification:
410 email-prefix: '[capwap]'
421 daysToKeep: '{build-days-to-keep}'
422 numToKeep: '{build-num-to-keep}'
423 artifactDaysToKeep: '{build-artifact-days-to-keep}'
424 artifactNumToKeep: '{build-artifact-num-to-keep}'
432 credentials-id: '{ssh-credentials}'
438 - ssh-agent-credentials:
440 - '{ssh-credentials}'
446 - wipe-org-opendaylight-repo
449 maven-name: '{mvn32}'
451 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
452 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
453 settings: '{capwap-settings}'
454 global-settings: '{odl-global-settings}'
458 application-name: capwap
461 - email-notification:
462 email-prefix: '[capwap]'