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)
23 branch: 'stable/helium'
25 project: 'openflowplugin'
28 # For the Job templates below replace instances of:
29 # PROJECT with your project name (eg. controller)
30 # MAVEN_GOALS with your maven goals to build
31 # MAVEN_OPTS with your maven options to build
34 name: 'openflowplugin-verify-{stream}'
36 # Job template for ODL verify jobs
38 # The purpose of this job template is to setup a ODL verify job
41 # stream: branch with - in place of / (eg. stable-helium)
42 # branch: branch (eg. stable/helium)
62 daysToKeep: '{build-days-to-keep}'
63 numToKeep: '{build-num-to-keep}'
64 artifactDaysToKeep: '{build-artifact-days-to-keep}'
65 artifactNumToKeep: '{build-artifact-num-to-keep}'
75 credentials-id: '{ssh-credentials}'
76 refspec: '$GERRIT_REFSPEC'
77 choosing-strategy: 'gerrit'
81 - ssh-agent-credentials:
86 - gerrit-trigger-patch-submitted:
87 name: 'openflowplugin'
91 - wipe-org-opendaylight-repo
93 maven-version: '{mvn32}'
95 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate'
97 - '-Xmx1024m -XX:MaxPermSize=256m'
98 settings: '{openflowplugin-settings}'
99 global-settings: '{odl-global-settings}'
100 - jacoco-nojava-workaround
104 - email-notification:
105 email-prefix: '[openflowplugin]'
109 name: 'openflowplugin-merge-{stream}'
111 # Job template for ODL merge jobs
113 # The purpose of this job template is to setup a ODL merge job
114 # and deploy artifacts to Nexus.
116 # Required Variables:
117 # stream: branch with - in place of / (eg. stable-helium)
118 # branch: branch (eg. stable/helium)
125 daysToKeep: '{build-days-to-keep}'
126 numToKeep: '{build-num-to-keep}'
127 artifactDaysToKeep: '{build-artifact-days-to-keep}'
128 artifactNumToKeep: '{build-artifact-num-to-keep}'
135 - gerrit-trigger-scm:
136 credentials-id: '{ssh-credentials}'
138 choosing-strategy: 'default'
142 - ssh-agent-credentials:
144 - '{ssh-credentials}'
147 - gerrit-trigger-patch-merged:
148 name: 'openflowplugin'
152 - wipe-org-opendaylight-repo
155 maven-name: '{mvn32}'
157 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
158 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
159 settings: '{openflowplugin-settings}'
160 global-settings: '{odl-global-settings}'
163 - jacoco-nojava-workaround
170 artifacts: 'model/*/target/site/**'
171 - email-notification:
172 email-prefix: '[openflowplugin]'
176 deploy-unstable: false
180 name: 'openflowplugin-daily-{stream}'
182 # Job template for daily builders
184 # The purpose of this job template is to setup a daily/nightly
185 # builder and pushes to Sonar analysis.
187 # Required Variables:
188 # stream: branch with - in place of / (eg. stable-helium)
189 # branch: branch (eg. stable/helium)
196 daysToKeep: '{build-days-to-keep}'
197 numToKeep: '{build-num-to-keep}'
198 artifactDaysToKeep: '{build-artifact-days-to-keep}'
199 artifactNumToKeep: '{build-artifact-num-to-keep}'
207 credentials-id: '{ssh-credentials}'
213 - ssh-agent-credentials:
215 - '{ssh-credentials}'
221 - wipe-org-opendaylight-repo
224 maven-name: '{mvn32}'
226 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
227 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
228 settings: '{openflowplugin-settings}'
229 global-settings: '{odl-global-settings}'
232 - jacoco-nojava-workaround
238 - email-notification:
239 email-prefix: '[openflowplugin]'
243 name: 'openflowplugin-integration-{stream}'
246 # Job template for ODL merge jobs
248 # The purpose of this job template is to setup a ODL merge job
249 # and deploy artifacts to Nexus.
251 # Required Variables:
252 # stream: branch with - in place of / (eg. stable-helium)
253 # branch: branch (eg. stable/helium)
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}'
271 credentials-id: '{ssh-credentials}'
277 - ssh-agent-credentials:
279 - '{ssh-credentials}'
283 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream}'
287 - wipe-org-opendaylight-repo
290 maven-name: '{mvn32}'
292 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
293 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
294 settings: '{openflowplugin-settings}'
295 global-settings: '{odl-global-settings}'
298 - jacoco-nojava-workaround
304 - email-notification:
305 email-prefix: '[openflowplugin] [odlparent] [yangtools] [controller] [openflowjava]'
309 name: 'openflowplugin-sonar'
318 artifactDaysToKeep: '1'
319 artifactNumToKeep: '1'
327 credentials-id: '{ssh-credentials}'
333 - ssh-agent-credentials:
335 - '{ssh-credentials}'
341 maven-name: '{mvn32}'
343 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -Dsonar'
344 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
345 settings: '{openflowplugin-settings}'
346 global-settings: '{odl-global-settings}'
349 - jacoco-nojava-workaround
357 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
358 - email-notification:
359 email-prefix: '[openflowplugin]'
363 name: 'openflowplugin-clm'
370 daysToKeep: '{build-days-to-keep}'
371 numToKeep: '{build-num-to-keep}'
372 artifactDaysToKeep: '{build-artifact-days-to-keep}'
373 artifactNumToKeep: '{build-artifact-num-to-keep}'
381 credentials-id: '{ssh-credentials}'
387 - ssh-agent-credentials:
389 - '{ssh-credentials}'
395 - wipe-org-opendaylight-repo
398 maven-name: '{mvn32}'
400 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
401 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
402 settings: '{openflowplugin-settings}'
403 global-settings: '{odl-global-settings}'
407 application-name: openflowplugin
410 - email-notification:
411 email-prefix: '[openflowplugin]'