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:
82 user: '{ssh-credentials}'
85 - gerrit-trigger-patch-submitted:
86 name: 'openflowplugin'
90 - wipe-org-opendaylight-repo
92 maven-version: '{mvn32}'
94 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate'
96 - '-Xmx1024m -XX:MaxPermSize=256m'
97 settings: '{openflowplugin-settings}'
98 global-settings: '{odl-global-settings}'
99 - jacoco-nojava-workaround
103 - email-notification:
104 email-prefix: '[openflowplugin]'
108 name: 'openflowplugin-merge-{stream}'
110 # Job template for ODL merge jobs
112 # The purpose of this job template is to setup a ODL merge job
113 # and deploy artifacts to Nexus.
115 # Required Variables:
116 # stream: branch with - in place of / (eg. stable-helium)
117 # branch: branch (eg. stable/helium)
124 daysToKeep: '{build-days-to-keep}'
125 numToKeep: '{build-num-to-keep}'
126 artifactDaysToKeep: '{build-artifact-days-to-keep}'
127 artifactNumToKeep: '{build-artifact-num-to-keep}'
134 - gerrit-trigger-scm:
135 credentials-id: '{ssh-credentials}'
137 choosing-strategy: 'default'
141 - ssh-agent-credentials:
142 user: '{ssh-credentials}'
145 - gerrit-trigger-patch-merged:
146 name: 'openflowplugin'
150 - wipe-org-opendaylight-repo
153 maven-name: '{mvn32}'
155 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
156 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
157 settings: '{openflowplugin-settings}'
158 global-settings: '{odl-global-settings}'
161 - jacoco-nojava-workaround
168 artifacts: 'model/*/target/site/**'
169 - email-notification:
170 email-prefix: '[openflowplugin]'
174 deploy-unstable: false
178 name: 'openflowplugin-daily-{stream}'
180 # Job template for daily builders
182 # The purpose of this job template is to setup a daily/nightly
183 # builder and pushes to Sonar analysis.
185 # Required Variables:
186 # stream: branch with - in place of / (eg. stable-helium)
187 # branch: branch (eg. stable/helium)
194 daysToKeep: '{build-days-to-keep}'
195 numToKeep: '{build-num-to-keep}'
196 artifactDaysToKeep: '{build-artifact-days-to-keep}'
197 artifactNumToKeep: '{build-artifact-num-to-keep}'
205 credentials-id: '{ssh-credentials}'
211 - ssh-agent-credentials:
212 user: '{ssh-credentials}'
218 - wipe-org-opendaylight-repo
221 maven-name: '{mvn32}'
223 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
224 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
225 settings: '{openflowplugin-settings}'
226 global-settings: '{odl-global-settings}'
229 - jacoco-nojava-workaround
235 - email-notification:
236 email-prefix: '[openflowplugin]'
240 name: 'openflowplugin-integration-{stream}'
243 # Job template for ODL merge jobs
245 # The purpose of this job template is to setup a ODL merge job
246 # and deploy artifacts to Nexus.
248 # Required Variables:
249 # stream: branch with - in place of / (eg. stable-helium)
250 # branch: branch (eg. stable/helium)
257 daysToKeep: '{build-days-to-keep}'
258 numToKeep: '{build-num-to-keep}'
259 artifactDaysToKeep: '{build-artifact-days-to-keep}'
260 artifactNumToKeep: '{build-artifact-num-to-keep}'
268 credentials-id: '{ssh-credentials}'
274 - ssh-agent-credentials:
275 user: '{ssh-credentials}'
279 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream}'
283 - wipe-org-opendaylight-repo
286 maven-name: '{mvn32}'
288 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
289 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
290 settings: '{openflowplugin-settings}'
291 global-settings: '{odl-global-settings}'
294 - jacoco-nojava-workaround
300 - email-notification:
301 email-prefix: '[openflowplugin] [odlparent] [yangtools] [controller] [openflowjava]'
305 name: 'openflowplugin-sonar'
314 artifactDaysToKeep: '1'
315 artifactNumToKeep: '1'
323 credentials-id: '{ssh-credentials}'
329 - ssh-agent-credentials:
330 user: '{ssh-credentials}'
336 maven-name: '{mvn32}'
338 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -Dsonar'
339 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
340 settings: '{openflowplugin-settings}'
341 global-settings: '{odl-global-settings}'
344 - jacoco-nojava-workaround
352 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
353 - email-notification:
354 email-prefix: '[openflowplugin]'
358 name: 'openflowplugin-clm'
365 daysToKeep: '{build-days-to-keep}'
366 numToKeep: '{build-num-to-keep}'
367 artifactDaysToKeep: '{build-artifact-days-to-keep}'
368 artifactNumToKeep: '{build-artifact-num-to-keep}'
376 credentials-id: '{ssh-credentials}'
382 - ssh-agent-credentials:
383 user: '{ssh-credentials}'
389 - wipe-org-opendaylight-repo
392 maven-name: '{mvn32}'
394 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
395 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
396 settings: '{openflowplugin-settings}'
397 global-settings: '{odl-global-settings}'
401 application-name: openflowplugin
404 - email-notification:
405 email-prefix: '[openflowplugin]'