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-integration-{stream}'
13 - 'openflowplugin-sonar'
14 - 'openflowplugin-clm'
17 # stream: branch with - in place of / (eg. stable-helium)
18 # branch: branch (eg. stable/helium)
27 branch: 'stable/helium'
32 branch: 'stable/lithium'
38 project: 'openflowplugin'
40 # For the Job templates below replace instances of:
41 # PROJECT with your project name (eg. controller)
42 # MAVEN_GOALS with your maven goals to build
43 # MAVEN_OPTS with your maven options to build
46 name: 'openflowplugin-verify-{stream}'
48 # Job template for ODL verify jobs
50 # The purpose of this job template is to setup a ODL verify job
53 # stream: branch with - in place of / (eg. stable-helium)
54 # branch: branch (eg. stable/helium)
71 daysToKeep: '{build-days-to-keep}'
72 numToKeep: '{build-num-to-keep}'
73 artifactDaysToKeep: '{build-artifact-days-to-keep}'
74 artifactNumToKeep: '{build-artifact-num-to-keep}'
84 credentials-id: '{ssh-credentials}'
85 refspec: '$GERRIT_REFSPEC'
86 choosing-strategy: 'gerrit'
90 - ssh-agent-credentials:
95 - gerrit-trigger-patch-submitted:
96 name: 'openflowplugin'
100 - wipe-org-opendaylight-repo
102 maven-version: '{mvn32}'
104 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate'
106 - '-Xmx1024m -XX:MaxPermSize=256m'
107 settings: '{openflowplugin-settings}'
108 global-settings: '{odl-global-settings}'
109 - jacoco-nojava-workaround
113 - email-notification:
114 email-prefix: '[openflowplugin]'
118 name: 'openflowplugin-merge-{stream}'
120 # Job template for ODL merge jobs
122 # The purpose of this job template is to setup a ODL merge job
123 # and deploy artifacts to Nexus.
125 # Required Variables:
126 # stream: branch with - in place of / (eg. stable-helium)
127 # branch: branch (eg. stable/helium)
134 daysToKeep: '{build-days-to-keep}'
135 numToKeep: '{build-num-to-keep}'
136 artifactDaysToKeep: '{build-artifact-days-to-keep}'
137 artifactNumToKeep: '{build-artifact-num-to-keep}'
144 - gerrit-trigger-scm:
145 credentials-id: '{ssh-credentials}'
147 choosing-strategy: 'default'
151 - ssh-agent-credentials:
153 - '{ssh-credentials}'
156 - gerrit-trigger-patch-merged:
157 name: 'openflowplugin'
161 - wipe-org-opendaylight-repo
164 maven-name: '{mvn32}'
166 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
167 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
168 settings: '{openflowplugin-settings}'
169 global-settings: '{odl-global-settings}'
172 - jacoco-nojava-workaround
179 artifacts: 'model/*/target/site/**'
180 - email-notification:
181 email-prefix: '[openflowplugin]'
185 deploy-unstable: false
189 name: 'openflowplugin-daily-{stream}'
191 # Job template for daily builders
193 # The purpose of this job template is to setup a daily/nightly
194 # builder and pushes to Sonar analysis.
196 # Required Variables:
197 # stream: branch with - in place of / (eg. stable-helium)
198 # branch: branch (eg. stable/helium)
205 daysToKeep: '{build-days-to-keep}'
206 numToKeep: '{build-num-to-keep}'
207 artifactDaysToKeep: '{build-artifact-days-to-keep}'
208 artifactNumToKeep: '{build-artifact-num-to-keep}'
216 credentials-id: '{ssh-credentials}'
222 - ssh-agent-credentials:
224 - '{ssh-credentials}'
230 - wipe-org-opendaylight-repo
233 maven-name: '{mvn32}'
235 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
236 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
237 settings: '{openflowplugin-settings}'
238 global-settings: '{odl-global-settings}'
241 - jacoco-nojava-workaround
247 - email-notification:
248 email-prefix: '[openflowplugin]'
252 name: 'openflowplugin-integration-{stream}'
255 # Job template for ODL integration verify jobs
257 # This is similar to a normal verify job, but it runs
258 # when a project that's a dependency of your project
259 # is successfully built.
261 # Required Variables:
262 # stream: branch with - in place of / (eg. stable-helium)
263 # branch: branch (eg. stable/helium)
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}'
281 credentials-id: '{ssh-credentials}'
287 - ssh-agent-credentials:
289 - '{ssh-credentials}'
293 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream}'
297 - wipe-org-opendaylight-repo
300 maven-name: '{mvn32}'
302 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
303 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
304 settings: '{openflowplugin-settings}'
305 global-settings: '{odl-global-settings}'
308 - jacoco-nojava-workaround
314 - email-notification:
315 email-prefix: '[openflowplugin] [odlparent] [yangtools] [controller] [openflowjava]'
319 name: 'openflowplugin-sonar'
328 artifactDaysToKeep: '1'
329 artifactNumToKeep: '1'
337 credentials-id: '{ssh-credentials}'
343 - ssh-agent-credentials:
345 - '{ssh-credentials}'
351 maven-name: '{mvn32}'
353 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -Dsonar'
354 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
355 settings: '{openflowplugin-settings}'
356 global-settings: '{odl-global-settings}'
359 - jacoco-nojava-workaround
367 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
368 - email-notification:
369 email-prefix: '[openflowplugin]'
373 name: 'openflowplugin-clm'
380 daysToKeep: '{build-days-to-keep}'
381 numToKeep: '{build-num-to-keep}'
382 artifactDaysToKeep: '{build-artifact-days-to-keep}'
383 artifactNumToKeep: '{build-artifact-num-to-keep}'
391 credentials-id: '{ssh-credentials}'
397 - ssh-agent-credentials:
399 - '{ssh-credentials}'
405 - wipe-org-opendaylight-repo
408 maven-name: '{mvn32}'
410 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
411 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
412 settings: '{openflowplugin-settings}'
413 global-settings: '{odl-global-settings}'
417 application-name: openflowplugin
420 - email-notification:
421 email-prefix: '[openflowplugin]'