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 - 'openflowplugin-verify-{stream}'
10 - 'openflowplugin-merge-{stream}'
11 - 'openflowplugin-daily-{stream}'
12 - 'openflowplugin-distribution-{stream}'
13 - 'openflowplugin-integration-{stream}'
14 - 'openflowplugin-sonar'
15 - 'openflowplugin-clm-{stream}'
18 # stream: release stream (eg. stable-lithium or beryllium)
19 # branch: git branch (eg. stable/lithium or master)
28 branch: 'stable/lithium'
34 branch: 'stable/helium'
39 project: 'openflowplugin'
41 # For the Job templates below replace instances of:
42 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
43 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
44 # MAVEN_GOALS with your maven goals to build
45 # MAVEN_OPTS with your maven options to build
48 name: 'openflowplugin-verify-{stream}'
50 # Job template for ODL verify jobs
52 # The purpose of this job template is to setup a ODL verify job
55 # stream: release stream (eg. stable-lithium or beryllium)
56 # branch: git branch (eg. stable/lithium or master)
73 daysToKeep: '{build-days-to-keep}'
74 numToKeep: '{build-num-to-keep}'
75 artifactDaysToKeep: '{build-artifact-days-to-keep}'
76 artifactNumToKeep: '{build-artifact-num-to-keep}'
86 credentials-id: '{ssh-credentials}'
87 refspec: '$GERRIT_REFSPEC'
88 choosing-strategy: 'gerrit'
92 - ssh-agent-credentials:
97 - gerrit-trigger-patch-submitted:
98 name: 'openflowplugin'
102 - wipe-org-opendaylight-repo
103 - jacoco-nojava-workaround
104 - provide-maven-settings:
105 global-settings-file: '{odl-global-settings}'
106 settings-file: '{openflowplugin-settings}'
108 maven-version: '{mvn33}'
110 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate'
112 - '-Xmx1024m -XX:MaxPermSize=256m'
113 settings: '{openflowplugin-settings}'
114 global-settings: '{odl-global-settings}'
118 - email-notification:
119 email-prefix: '[openflowplugin]'
123 name: 'openflowplugin-merge-{stream}'
125 # Job template for ODL merge jobs
127 # The purpose of this job template is to setup a ODL merge job
128 # and deploy artifacts to Nexus.
130 # Required Variables:
131 # stream: release stream (eg. stable-lithium or beryllium)
132 # branch: git branch (eg. stable/lithium or master)
139 daysToKeep: '{build-days-to-keep}'
140 numToKeep: '{build-num-to-keep}'
141 artifactDaysToKeep: '{build-artifact-days-to-keep}'
142 artifactNumToKeep: '{build-artifact-num-to-keep}'
149 - gerrit-trigger-scm:
150 credentials-id: '{ssh-credentials}'
152 choosing-strategy: 'default'
156 - ssh-agent-credentials:
158 - '{ssh-credentials}'
161 - gerrit-trigger-patch-merged:
162 name: 'openflowplugin'
166 - wipe-org-opendaylight-repo
167 - jacoco-nojava-workaround
168 - provide-maven-settings:
169 global-settings-file: '{odl-global-settings}'
170 settings-file: '{openflowplugin-settings}'
173 maven-name: '{mvn33}'
175 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -Dmerge'
176 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
177 settings: '{openflowplugin-settings}'
178 global-settings: '{odl-global-settings}'
185 artifacts: 'model/*/target/site/**'
186 - email-notification:
187 email-prefix: '[openflowplugin]'
191 deploy-unstable: false
195 name: 'openflowplugin-daily-{stream}'
197 # Job template for daily builders
199 # The purpose of this job template is to setup a daily/nightly
200 # builder and pushes to Sonar analysis.
202 # Required Variables:
203 # stream: release stream (eg. stable-lithium or beryllium)
204 # branch: git branch (eg. stable/lithium or master)
211 daysToKeep: '{build-days-to-keep}'
212 numToKeep: '{build-num-to-keep}'
213 artifactDaysToKeep: '{build-artifact-days-to-keep}'
214 artifactNumToKeep: '{build-artifact-num-to-keep}'
222 credentials-id: '{ssh-credentials}'
228 - ssh-agent-credentials:
230 - '{ssh-credentials}'
236 - wipe-org-opendaylight-repo
237 - jacoco-nojava-workaround
238 - provide-maven-settings:
239 global-settings-file: '{odl-global-settings}'
240 settings-file: '{openflowplugin-settings}'
243 maven-name: '{mvn33}'
245 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate'
246 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
247 settings: '{openflowplugin-settings}'
248 global-settings: '{odl-global-settings}'
254 - email-notification:
255 email-prefix: '[openflowplugin]'
259 name: 'openflowplugin-distribution-{stream}'
261 # Required variables:
262 # stream: release stream (eg. stable-lithium or beryllium)
263 # branch: git branch (eg. stable/lithium or master)
270 daysToKeep: '{build-days-to-keep}'
271 numToKeep: '{build-num-to-keep}'
272 artifactDaysToKeep: '{build-artifact-days-to-keep}'
273 artifactNumToKeep: '{build-artifact-num-to-keep}'
277 project: 'integration'
281 credentials-id: '{ssh-credentials}'
287 - ssh-agent-credentials:
289 - '{ssh-credentials}'
293 jobs: '{project}-merge-{stream}'
297 - wipe-org-opendaylight-repo
298 - provide-maven-settings:
299 global-settings-file: '{odl-global-settings}'
300 settings-file: '{openflowplugin-settings}'
303 maven-name: '{mvn33}'
305 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
306 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
307 settings: '{integration-settings}'
308 global-settings: '{odl-global-settings}'
311 - email-notification:
312 email-prefix: '[{project}]'
316 deploy-unstable: false
319 name: 'openflowplugin-integration-{stream}'
322 # Job template for ODL integration verify jobs
324 # This is similar to a normal verify job, but it runs
325 # when a project that's a dependency of your project
326 # is successfully built.
328 # Required Variables:
329 # stream: release stream (eg. stable-lithium or beryllium)
330 # branch: git branch (eg. stable/lithium or master)
337 daysToKeep: '{build-days-to-keep}'
338 numToKeep: '{build-num-to-keep}'
339 artifactDaysToKeep: '{build-artifact-days-to-keep}'
340 artifactNumToKeep: '{build-artifact-num-to-keep}'
348 credentials-id: '{ssh-credentials}'
354 - ssh-agent-credentials:
356 - '{ssh-credentials}'
360 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream}'
364 - wipe-org-opendaylight-repo
365 - jacoco-nojava-workaround
366 - provide-maven-settings:
367 global-settings-file: '{odl-global-settings}'
368 settings-file: '{openflowplugin-settings}'
371 maven-name: '{mvn33}'
373 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate'
374 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
375 settings: '{openflowplugin-settings}'
376 global-settings: '{odl-global-settings}'
382 - email-notification:
383 email-prefix: '[openflowplugin] [odlparent] [yangtools] [controller] [openflowjava]'
387 name: 'openflowplugin-sonar'
396 artifactDaysToKeep: '1'
397 artifactNumToKeep: '1'
405 credentials-id: '{ssh-credentials}'
411 - ssh-agent-credentials:
413 - '{ssh-credentials}'
417 - gerrit-trigger-patch-sonar:
418 name: 'openflowplugin'
421 - wipe-org-opendaylight-repo
422 - jacoco-nojava-workaround
423 - provide-maven-settings:
424 global-settings-file: '{odl-global-settings}'
425 settings-file: '{openflowplugin-settings}'
428 maven-name: '{mvn33}'
430 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -Dsonar'
431 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
432 settings: '{openflowplugin-settings}'
433 global-settings: '{odl-global-settings}'
441 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
442 - email-notification:
443 email-prefix: '[openflowplugin]'
447 name: 'openflowplugin-clm-{stream}'
454 daysToKeep: '{build-days-to-keep}'
455 numToKeep: '{build-num-to-keep}'
456 artifactDaysToKeep: '{build-artifact-days-to-keep}'
457 artifactNumToKeep: '{build-artifact-num-to-keep}'
465 credentials-id: '{ssh-credentials}'
471 - ssh-agent-credentials:
473 - '{ssh-credentials}'
479 - wipe-org-opendaylight-repo
480 - provide-maven-settings:
481 global-settings-file: '{odl-global-settings}'
482 settings-file: '{openflowplugin-settings}'
485 maven-name: '{mvn33}'
487 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
488 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
489 settings: '{openflowplugin-settings}'
490 global-settings: '{odl-global-settings}'
494 application-name: openflowplugin
497 - email-notification:
498 email-prefix: '[openflowplugin]'