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
103 maven-version: '{mvn33}'
105 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate'
107 - '-Xmx1024m -XX:MaxPermSize=256m'
108 settings: '{openflowplugin-settings}'
109 global-settings: '{odl-global-settings}'
110 - jacoco-nojava-workaround
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
165 maven-name: '{mvn33}'
167 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar -Dmerge'
168 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
169 settings: '{openflowplugin-settings}'
170 global-settings: '{odl-global-settings}'
173 - jacoco-nojava-workaround
180 artifacts: 'model/*/target/site/**'
181 - email-notification:
182 email-prefix: '[openflowplugin]'
186 deploy-unstable: false
190 name: 'openflowplugin-daily-{stream}'
192 # Job template for daily builders
194 # The purpose of this job template is to setup a daily/nightly
195 # builder and pushes to Sonar analysis.
197 # Required Variables:
198 # stream: branch with - in place of / (eg. stable-helium)
199 # branch: branch (eg. stable/helium)
206 daysToKeep: '{build-days-to-keep}'
207 numToKeep: '{build-num-to-keep}'
208 artifactDaysToKeep: '{build-artifact-days-to-keep}'
209 artifactNumToKeep: '{build-artifact-num-to-keep}'
217 credentials-id: '{ssh-credentials}'
223 - ssh-agent-credentials:
225 - '{ssh-credentials}'
231 - wipe-org-opendaylight-repo
234 maven-name: '{mvn33}'
236 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
237 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
238 settings: '{openflowplugin-settings}'
239 global-settings: '{odl-global-settings}'
242 - jacoco-nojava-workaround
248 - email-notification:
249 email-prefix: '[openflowplugin]'
253 name: 'openflowplugin-distribution-{stream}'
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 source:jar javadoc:jar'
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: branch with - in place of / (eg. stable-helium)
317 # branch: branch (eg. stable/helium)
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
354 maven-name: '{mvn33}'
356 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
357 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
358 settings: '{openflowplugin-settings}'
359 global-settings: '{odl-global-settings}'
362 - jacoco-nojava-workaround
368 - email-notification:
369 email-prefix: '[openflowplugin] [odlparent] [yangtools] [controller] [openflowjava]'
373 name: 'openflowplugin-sonar'
382 artifactDaysToKeep: '1'
383 artifactNumToKeep: '1'
391 credentials-id: '{ssh-credentials}'
397 - ssh-agent-credentials:
399 - '{ssh-credentials}'
405 maven-name: '{mvn33}'
407 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -Dsonar'
408 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
409 settings: '{openflowplugin-settings}'
410 global-settings: '{odl-global-settings}'
413 - jacoco-nojava-workaround
421 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
422 - email-notification:
423 email-prefix: '[openflowplugin]'
427 name: 'openflowplugin-clm-{stream}'
434 daysToKeep: '{build-days-to-keep}'
435 numToKeep: '{build-num-to-keep}'
436 artifactDaysToKeep: '{build-artifact-days-to-keep}'
437 artifactNumToKeep: '{build-artifact-num-to-keep}'
445 credentials-id: '{ssh-credentials}'
451 - ssh-agent-credentials:
453 - '{ssh-credentials}'
459 - wipe-org-opendaylight-repo
462 maven-name: '{mvn33}'
464 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
465 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
466 settings: '{openflowplugin-settings}'
467 global-settings: '{odl-global-settings}'
471 application-name: openflowplugin
474 - email-notification:
475 email-prefix: '[openflowplugin]'