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: branch with - in place of / (eg. stable-helium)
19 # branch: branch (eg. stable/helium)
28 branch: 'stable/helium'
33 branch: 'stable/lithium'
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: branch with - in place of / (eg. stable-helium)
55 # branch: branch (eg. stable/helium)
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: branch with - in place of / (eg. stable-helium)
128 # branch: branch (eg. stable/helium)
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: branch with - in place of / (eg. stable-helium)
197 # branch: branch (eg. stable/helium)
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}'
256 daysToKeep: '{build-days-to-keep}'
257 numToKeep: '{build-num-to-keep}'
258 artifactDaysToKeep: '{build-artifact-days-to-keep}'
259 artifactNumToKeep: '{build-artifact-num-to-keep}'
263 project: 'integration'
267 credentials-id: '{ssh-credentials}'
273 - ssh-agent-credentials:
275 - '{ssh-credentials}'
279 jobs: '{project}-merge-{stream}'
283 - wipe-org-opendaylight-repo
286 maven-name: '{mvn33}'
288 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
289 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
290 settings: '{integration-settings}'
291 global-settings: '{odl-global-settings}'
294 - email-notification:
295 email-prefix: '[{project}]'
299 deploy-unstable: false
302 name: 'openflowplugin-integration-{stream}'
305 # Job template for ODL integration verify jobs
307 # This is similar to a normal verify job, but it runs
308 # when a project that's a dependency of your project
309 # is successfully built.
311 # Required Variables:
312 # stream: branch with - in place of / (eg. stable-helium)
313 # branch: branch (eg. stable/helium)
320 daysToKeep: '{build-days-to-keep}'
321 numToKeep: '{build-num-to-keep}'
322 artifactDaysToKeep: '{build-artifact-days-to-keep}'
323 artifactNumToKeep: '{build-artifact-num-to-keep}'
331 credentials-id: '{ssh-credentials}'
337 - ssh-agent-credentials:
339 - '{ssh-credentials}'
343 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream}'
347 - wipe-org-opendaylight-repo
348 - jacoco-nojava-workaround
351 maven-name: '{mvn33}'
353 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate'
354 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
355 settings: '{openflowplugin-settings}'
356 global-settings: '{odl-global-settings}'
362 - email-notification:
363 email-prefix: '[openflowplugin] [odlparent] [yangtools] [controller] [openflowjava]'
367 name: 'openflowplugin-sonar'
376 artifactDaysToKeep: '1'
377 artifactNumToKeep: '1'
385 credentials-id: '{ssh-credentials}'
391 - ssh-agent-credentials:
393 - '{ssh-credentials}'
399 - wipe-org-opendaylight-repo
400 - jacoco-nojava-workaround
403 maven-name: '{mvn33}'
405 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -Dsonar'
406 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
407 settings: '{openflowplugin-settings}'
408 global-settings: '{odl-global-settings}'
416 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
417 - email-notification:
418 email-prefix: '[openflowplugin]'
422 name: 'openflowplugin-clm-{stream}'
429 daysToKeep: '{build-days-to-keep}'
430 numToKeep: '{build-num-to-keep}'
431 artifactDaysToKeep: '{build-artifact-days-to-keep}'
432 artifactNumToKeep: '{build-artifact-num-to-keep}'
440 credentials-id: '{ssh-credentials}'
446 - ssh-agent-credentials:
448 - '{ssh-credentials}'
454 - wipe-org-opendaylight-repo
457 maven-name: '{mvn33}'
459 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
460 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
461 settings: '{openflowplugin-settings}'
462 global-settings: '{odl-global-settings}'
466 application-name: openflowplugin
469 - email-notification:
470 email-prefix: '[openflowplugin]'