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 with your project name (eg. controller)
43 # MAVEN_GOALS with your maven goals to build
44 # MAVEN_OPTS with your maven options to build
47 name: 'openflowplugin-verify-{stream}'
49 # Job template for ODL verify jobs
51 # The purpose of this job template is to setup a ODL verify job
54 # stream: release stream (eg. stable-lithium or beryllium)
55 # branch: git branch (eg. stable/lithium or master)
72 daysToKeep: '{build-days-to-keep}'
73 numToKeep: '{build-num-to-keep}'
74 artifactDaysToKeep: '{build-artifact-days-to-keep}'
75 artifactNumToKeep: '{build-artifact-num-to-keep}'
85 credentials-id: '{ssh-credentials}'
86 refspec: '$GERRIT_REFSPEC'
87 choosing-strategy: 'gerrit'
91 - ssh-agent-credentials:
96 - gerrit-trigger-patch-submitted:
97 name: 'openflowplugin'
101 - wipe-org-opendaylight-repo
102 - jacoco-nojava-workaround
104 maven-version: '{mvn33}'
106 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate'
108 - '-Xmx1024m -XX:MaxPermSize=256m'
109 settings: '{openflowplugin-settings}'
110 global-settings: '{odl-global-settings}'
114 - email-notification:
115 email-prefix: '[openflowplugin]'
119 name: 'openflowplugin-merge-{stream}'
121 # Job template for ODL merge jobs
123 # The purpose of this job template is to setup a ODL merge job
124 # and deploy artifacts to Nexus.
126 # Required Variables:
127 # stream: release stream (eg. stable-lithium or beryllium)
128 # branch: git branch (eg. stable/lithium or master)
135 daysToKeep: '{build-days-to-keep}'
136 numToKeep: '{build-num-to-keep}'
137 artifactDaysToKeep: '{build-artifact-days-to-keep}'
138 artifactNumToKeep: '{build-artifact-num-to-keep}'
145 - gerrit-trigger-scm:
146 credentials-id: '{ssh-credentials}'
148 choosing-strategy: 'default'
152 - ssh-agent-credentials:
154 - '{ssh-credentials}'
157 - gerrit-trigger-patch-merged:
158 name: 'openflowplugin'
162 - wipe-org-opendaylight-repo
163 - jacoco-nojava-workaround
166 maven-name: '{mvn33}'
168 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -Dmerge'
169 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
170 settings: '{openflowplugin-settings}'
171 global-settings: '{odl-global-settings}'
178 artifacts: 'model/*/target/site/**'
179 - email-notification:
180 email-prefix: '[openflowplugin]'
184 deploy-unstable: false
188 name: 'openflowplugin-daily-{stream}'
190 # Job template for daily builders
192 # The purpose of this job template is to setup a daily/nightly
193 # builder and pushes to Sonar analysis.
195 # Required Variables:
196 # stream: release stream (eg. stable-lithium or beryllium)
197 # branch: git branch (eg. stable/lithium or master)
204 daysToKeep: '{build-days-to-keep}'
205 numToKeep: '{build-num-to-keep}'
206 artifactDaysToKeep: '{build-artifact-days-to-keep}'
207 artifactNumToKeep: '{build-artifact-num-to-keep}'
215 credentials-id: '{ssh-credentials}'
221 - ssh-agent-credentials:
223 - '{ssh-credentials}'
229 - wipe-org-opendaylight-repo
230 - jacoco-nojava-workaround
233 maven-name: '{mvn33}'
235 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate'
236 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
237 settings: '{openflowplugin-settings}'
238 global-settings: '{odl-global-settings}'
244 - email-notification:
245 email-prefix: '[openflowplugin]'
249 name: 'openflowplugin-distribution-{stream}'
251 # Required variables:
252 # stream: release stream (eg. stable-lithium or beryllium)
253 # branch: git branch (eg. stable/lithium or master)
260 daysToKeep: '{build-days-to-keep}'
261 numToKeep: '{build-num-to-keep}'
262 artifactDaysToKeep: '{build-artifact-days-to-keep}'
263 artifactNumToKeep: '{build-artifact-num-to-keep}'
267 project: 'integration'
271 credentials-id: '{ssh-credentials}'
277 - ssh-agent-credentials:
279 - '{ssh-credentials}'
283 jobs: '{project}-merge-{stream}'
287 - wipe-org-opendaylight-repo
290 maven-name: '{mvn33}'
292 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
293 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
294 settings: '{integration-settings}'
295 global-settings: '{odl-global-settings}'
298 - email-notification:
299 email-prefix: '[{project}]'
303 deploy-unstable: false
306 name: 'openflowplugin-integration-{stream}'
309 # Job template for ODL integration verify jobs
311 # This is similar to a normal verify job, but it runs
312 # when a project that's a dependency of your project
313 # is successfully built.
315 # Required Variables:
316 # stream: release stream (eg. stable-lithium or beryllium)
317 # branch: git branch (eg. stable/lithium or master)
324 daysToKeep: '{build-days-to-keep}'
325 numToKeep: '{build-num-to-keep}'
326 artifactDaysToKeep: '{build-artifact-days-to-keep}'
327 artifactNumToKeep: '{build-artifact-num-to-keep}'
335 credentials-id: '{ssh-credentials}'
341 - ssh-agent-credentials:
343 - '{ssh-credentials}'
347 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream}'
351 - wipe-org-opendaylight-repo
352 - jacoco-nojava-workaround
355 maven-name: '{mvn33}'
357 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate'
358 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
359 settings: '{openflowplugin-settings}'
360 global-settings: '{odl-global-settings}'
366 - email-notification:
367 email-prefix: '[openflowplugin] [odlparent] [yangtools] [controller] [openflowjava]'
371 name: 'openflowplugin-sonar'
380 artifactDaysToKeep: '1'
381 artifactNumToKeep: '1'
389 credentials-id: '{ssh-credentials}'
395 - ssh-agent-credentials:
397 - '{ssh-credentials}'
401 - gerrit-trigger-patch-sonar:
402 name: 'openflowplugin'
405 - wipe-org-opendaylight-repo
406 - jacoco-nojava-workaround
409 maven-name: '{mvn33}'
411 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -Dsonar'
412 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
413 settings: '{openflowplugin-settings}'
414 global-settings: '{odl-global-settings}'
422 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
423 - email-notification:
424 email-prefix: '[openflowplugin]'
428 name: 'openflowplugin-clm-{stream}'
435 daysToKeep: '{build-days-to-keep}'
436 numToKeep: '{build-num-to-keep}'
437 artifactDaysToKeep: '{build-artifact-days-to-keep}'
438 artifactNumToKeep: '{build-artifact-num-to-keep}'
446 credentials-id: '{ssh-credentials}'
452 - ssh-agent-credentials:
454 - '{ssh-credentials}'
460 - wipe-org-opendaylight-repo
463 maven-name: '{mvn33}'
465 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
466 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
467 settings: '{openflowplugin-settings}'
468 global-settings: '{odl-global-settings}'
472 application-name: openflowplugin
475 - email-notification:
476 email-prefix: '[openflowplugin]'