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 project: 'openflowplugin'
34 # For the Job templates below replace instances of:
35 # PROJECT with your project name (eg. controller)
36 # MAVEN_GOALS with your maven goals to build
37 # MAVEN_OPTS with your maven options to build
40 name: 'openflowplugin-verify-{stream}'
42 # Job template for ODL verify jobs
44 # The purpose of this job template is to setup a ODL verify job
47 # stream: branch with - in place of / (eg. stable-helium)
48 # branch: branch (eg. stable/helium)
65 daysToKeep: '{build-days-to-keep}'
66 numToKeep: '{build-num-to-keep}'
67 artifactDaysToKeep: '{build-artifact-days-to-keep}'
68 artifactNumToKeep: '{build-artifact-num-to-keep}'
78 credentials-id: '{ssh-credentials}'
79 refspec: '$GERRIT_REFSPEC'
80 choosing-strategy: 'gerrit'
84 - ssh-agent-credentials:
89 - gerrit-trigger-patch-submitted:
90 name: 'openflowplugin'
94 - wipe-org-opendaylight-repo
96 maven-version: '{mvn32}'
98 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate'
100 - '-Xmx1024m -XX:MaxPermSize=256m'
101 settings: '{openflowplugin-settings}'
102 global-settings: '{odl-global-settings}'
103 - jacoco-nojava-workaround
107 - email-notification:
108 email-prefix: '[openflowplugin]'
112 name: 'openflowplugin-merge-{stream}'
114 # Job template for ODL merge jobs
116 # The purpose of this job template is to setup a ODL merge job
117 # and deploy artifacts to Nexus.
119 # Required Variables:
120 # stream: branch with - in place of / (eg. stable-helium)
121 # branch: branch (eg. stable/helium)
128 daysToKeep: '{build-days-to-keep}'
129 numToKeep: '{build-num-to-keep}'
130 artifactDaysToKeep: '{build-artifact-days-to-keep}'
131 artifactNumToKeep: '{build-artifact-num-to-keep}'
138 - gerrit-trigger-scm:
139 credentials-id: '{ssh-credentials}'
141 choosing-strategy: 'default'
145 - ssh-agent-credentials:
147 - '{ssh-credentials}'
150 - gerrit-trigger-patch-merged:
151 name: 'openflowplugin'
155 - wipe-org-opendaylight-repo
158 maven-name: '{mvn32}'
160 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
161 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
162 settings: '{openflowplugin-settings}'
163 global-settings: '{odl-global-settings}'
166 - jacoco-nojava-workaround
173 artifacts: 'model/*/target/site/**'
174 - email-notification:
175 email-prefix: '[openflowplugin]'
179 deploy-unstable: false
183 name: 'openflowplugin-daily-{stream}'
185 # Job template for daily builders
187 # The purpose of this job template is to setup a daily/nightly
188 # builder and pushes to Sonar analysis.
190 # Required Variables:
191 # stream: branch with - in place of / (eg. stable-helium)
192 # branch: branch (eg. stable/helium)
199 daysToKeep: '{build-days-to-keep}'
200 numToKeep: '{build-num-to-keep}'
201 artifactDaysToKeep: '{build-artifact-days-to-keep}'
202 artifactNumToKeep: '{build-artifact-num-to-keep}'
210 credentials-id: '{ssh-credentials}'
216 - ssh-agent-credentials:
218 - '{ssh-credentials}'
224 - wipe-org-opendaylight-repo
227 maven-name: '{mvn32}'
229 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
230 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
231 settings: '{openflowplugin-settings}'
232 global-settings: '{odl-global-settings}'
235 - jacoco-nojava-workaround
241 - email-notification:
242 email-prefix: '[openflowplugin]'
246 name: 'openflowplugin-integration-{stream}'
249 # Job template for ODL integration verify jobs
251 # This is similar to a normal verify job, but it runs
252 # when a project that's a dependency of your project
253 # is successfully built.
255 # Required Variables:
256 # stream: branch with - in place of / (eg. stable-helium)
257 # branch: branch (eg. stable/helium)
264 daysToKeep: '{build-days-to-keep}'
265 numToKeep: '{build-num-to-keep}'
266 artifactDaysToKeep: '{build-artifact-days-to-keep}'
267 artifactNumToKeep: '{build-artifact-num-to-keep}'
275 credentials-id: '{ssh-credentials}'
281 - ssh-agent-credentials:
283 - '{ssh-credentials}'
287 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream}'
291 - wipe-org-opendaylight-repo
294 maven-name: '{mvn32}'
296 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
297 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
298 settings: '{openflowplugin-settings}'
299 global-settings: '{odl-global-settings}'
302 - jacoco-nojava-workaround
308 - email-notification:
309 email-prefix: '[openflowplugin] [odlparent] [yangtools] [controller] [openflowjava]'
313 name: 'openflowplugin-sonar'
322 artifactDaysToKeep: '1'
323 artifactNumToKeep: '1'
331 credentials-id: '{ssh-credentials}'
337 - ssh-agent-credentials:
339 - '{ssh-credentials}'
345 maven-name: '{mvn32}'
347 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -Dsonar'
348 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
349 settings: '{openflowplugin-settings}'
350 global-settings: '{odl-global-settings}'
353 - jacoco-nojava-workaround
361 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
362 - email-notification:
363 email-prefix: '[openflowplugin]'
367 name: 'openflowplugin-clm'
374 daysToKeep: '{build-days-to-keep}'
375 numToKeep: '{build-num-to-keep}'
376 artifactDaysToKeep: '{build-artifact-days-to-keep}'
377 artifactNumToKeep: '{build-artifact-num-to-keep}'
385 credentials-id: '{ssh-credentials}'
391 - ssh-agent-credentials:
393 - '{ssh-credentials}'
399 - wipe-org-opendaylight-repo
402 maven-name: '{mvn32}'
404 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
405 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
406 settings: '{openflowplugin-settings}'
407 global-settings: '{odl-global-settings}'
411 application-name: openflowplugin
414 - email-notification:
415 email-prefix: '[openflowplugin]'