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 -Dstream={stream}'
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 -Dstream={stream}'
176 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
177 settings: '{openflowplugin-settings}'
178 global-settings: '{odl-global-settings}'
179 post-step-run-condition: UNSTABLE
183 condition-kind: file-exists
184 condition-filename: deploy-site.xml
185 condition-basedir: workspace
187 # The strategy here is intentional to run Maven site:deploy twice
188 # once using regular pom.xml to produce a staged-site which is
189 # then used by deploy-site.xml to push to Nexus. This is a
190 # workaround to Maven Site's default linking code which creates
191 # incorrect URLs for sites due to auto-detection assuming your
192 # project is configured in a certain way which ODL is not.
195 maven-version: '{mvn33}'
197 goals: 'site:deploy -Dstream={stream}'
200 settings: '{openflowplugin-settings}'
201 global-settings: '{odl-global-settings}'
203 maven-version: '{mvn33}'
205 goals: 'site:deploy -Dstream={stream}'
208 settings: '{openflowplugin-settings}'
209 global-settings: '{odl-global-settings}'
216 artifacts: 'model/*/target/site/**'
217 - email-notification:
218 email-prefix: '[openflowplugin]'
222 deploy-unstable: false
226 name: 'openflowplugin-daily-{stream}'
228 # Job template for daily builders
230 # The purpose of this job template is to setup a daily/nightly
231 # builder and pushes to Sonar analysis.
233 # Required Variables:
234 # stream: release stream (eg. stable-lithium or beryllium)
235 # branch: git branch (eg. stable/lithium or master)
242 daysToKeep: '{build-days-to-keep}'
243 numToKeep: '{build-num-to-keep}'
244 artifactDaysToKeep: '{build-artifact-days-to-keep}'
245 artifactNumToKeep: '{build-artifact-num-to-keep}'
253 credentials-id: '{ssh-credentials}'
259 - ssh-agent-credentials:
261 - '{ssh-credentials}'
267 - wipe-org-opendaylight-repo
268 - jacoco-nojava-workaround
269 - provide-maven-settings:
270 global-settings-file: '{odl-global-settings}'
271 settings-file: '{openflowplugin-settings}'
274 maven-name: '{mvn33}'
276 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate'
277 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
278 settings: '{openflowplugin-settings}'
279 global-settings: '{odl-global-settings}'
285 - email-notification:
286 email-prefix: '[openflowplugin]'
290 name: 'openflowplugin-distribution-{stream}'
292 # Required variables:
293 # stream: release stream (eg. stable-lithium or beryllium)
294 # branch: git branch (eg. stable/lithium or master)
301 daysToKeep: '{build-days-to-keep}'
302 numToKeep: '{build-num-to-keep}'
303 artifactDaysToKeep: '{build-artifact-days-to-keep}'
304 artifactNumToKeep: '{build-artifact-num-to-keep}'
308 project: 'integration/distribution'
312 credentials-id: '{ssh-credentials}'
318 - ssh-agent-credentials:
320 - '{ssh-credentials}'
324 jobs: '{project}-merge-{stream}'
328 - wipe-org-opendaylight-repo
329 - provide-maven-settings:
330 global-settings-file: '{odl-global-settings}'
331 settings-file: '{openflowplugin-settings}'
334 maven-name: '{mvn33}'
336 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
337 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
338 settings: '{integration-settings}'
339 global-settings: '{odl-global-settings}'
342 - email-notification:
343 email-prefix: '[{project}]'
347 deploy-unstable: false
350 name: 'openflowplugin-integration-{stream}'
353 # Job template for ODL integration verify jobs
355 # This is similar to a normal verify job, but it runs
356 # when a project that's a dependency of your project
357 # is successfully built.
359 # Required Variables:
360 # stream: release stream (eg. stable-lithium or beryllium)
361 # branch: git branch (eg. stable/lithium or master)
368 daysToKeep: '{build-days-to-keep}'
369 numToKeep: '{build-num-to-keep}'
370 artifactDaysToKeep: '{build-artifact-days-to-keep}'
371 artifactNumToKeep: '{build-artifact-num-to-keep}'
379 credentials-id: '{ssh-credentials}'
385 - ssh-agent-credentials:
387 - '{ssh-credentials}'
391 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream}'
395 - wipe-org-opendaylight-repo
396 - jacoco-nojava-workaround
397 - provide-maven-settings:
398 global-settings-file: '{odl-global-settings}'
399 settings-file: '{openflowplugin-settings}'
402 maven-name: '{mvn33}'
404 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate'
405 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
406 settings: '{openflowplugin-settings}'
407 global-settings: '{odl-global-settings}'
413 - email-notification:
414 email-prefix: '[openflowplugin] [odlparent] [yangtools] [controller] [openflowjava]'
418 name: 'openflowplugin-sonar'
427 artifactDaysToKeep: '1'
428 artifactNumToKeep: '1'
436 credentials-id: '{ssh-credentials}'
442 - ssh-agent-credentials:
444 - '{ssh-credentials}'
448 - gerrit-trigger-patch-sonar:
449 name: 'openflowplugin'
452 - wipe-org-opendaylight-repo
453 - jacoco-nojava-workaround
454 - provide-maven-settings:
455 global-settings-file: '{odl-global-settings}'
456 settings-file: '{openflowplugin-settings}'
459 maven-name: '{mvn33}'
461 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -Dsonar'
462 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
463 settings: '{openflowplugin-settings}'
464 global-settings: '{odl-global-settings}'
472 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
473 - email-notification:
474 email-prefix: '[openflowplugin]'
478 name: 'openflowplugin-clm-{stream}'
485 daysToKeep: '{build-days-to-keep}'
486 numToKeep: '{build-num-to-keep}'
487 artifactDaysToKeep: '{build-artifact-days-to-keep}'
488 artifactNumToKeep: '{build-artifact-num-to-keep}'
496 credentials-id: '{ssh-credentials}'
502 - ssh-agent-credentials:
504 - '{ssh-credentials}'
510 - wipe-org-opendaylight-repo
511 - provide-maven-settings:
512 global-settings-file: '{odl-global-settings}'
513 settings-file: '{openflowplugin-settings}'
516 maven-name: '{mvn33}'
518 goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
519 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
520 settings: '{openflowplugin-settings}'
521 global-settings: '{odl-global-settings}'
525 application-name: openflowplugin
528 - email-notification:
529 email-prefix: '[openflowplugin]'