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 - 'sxp-verify-{stream}'
10 - 'sxp-merge-{stream}'
11 - 'sxp-daily-{stream}'
12 - 'sxp-integration-{stream}'
17 # stream: branch with - in place of / (eg. stable-helium)
18 # branch: branch (eg. stable/helium)
23 branch: 'stable/helium'
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: 'sxp-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)
61 daysToKeep: '{build-days-to-keep}'
62 numToKeep: '{build-num-to-keep}'
63 artifactDaysToKeep: '{build-artifact-days-to-keep}'
64 artifactNumToKeep: '{build-artifact-num-to-keep}'
74 credentials-id: '{ssh-credentials}'
75 refspec: '$GERRIT_REFSPEC'
76 choosing-strategy: 'gerrit'
80 - ssh-agent-credentials:
81 user: '{ssh-credentials}'
84 - gerrit-trigger-patch-submitted:
89 - wipe-org-opendaylight-repo
91 maven-version: '{mvn32}'
93 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
95 - '-Xmx1024m -XX:MaxPermSize=256m'
96 settings: '{sxp-settings}'
97 global-settings: '{odl-global-settings}'
98 - jacoco-nojava-workaround
102 - email-notification:
103 email-prefix: '[sxp]'
107 name: 'sxp-merge-{stream}'
109 # Job template for ODL merge jobs
111 # The purpose of this job template is to setup a ODL merge job
112 # and deploy artifacts to Nexus.
114 # Required Variables:
115 # stream: branch with - in place of / (eg. stable-helium)
116 # branch: branch (eg. stable/helium)
123 daysToKeep: '{build-days-to-keep}'
124 numToKeep: '{build-num-to-keep}'
125 artifactDaysToKeep: '{build-artifact-days-to-keep}'
126 artifactNumToKeep: '{build-artifact-num-to-keep}'
133 - gerrit-trigger-scm:
134 credentials-id: '{ssh-credentials}'
136 choosing-strategy: 'default'
140 - ssh-agent-credentials:
141 user: '{ssh-credentials}'
144 - gerrit-trigger-patch-merged:
149 - wipe-org-opendaylight-repo
152 maven-name: '{mvn32}'
154 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
155 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
156 settings: '{sxp-settings}'
157 global-settings: '{odl-global-settings}'
160 - jacoco-nojava-workaround
167 - email-notification:
168 email-prefix: '[sxp]'
172 deploy-unstable: false
176 name: 'sxp-daily-{stream}'
178 # Job template for daily builders
180 # The purpose of this job template is to setup a daily/nightly
181 # builder and pushes to Sonar analysis.
183 # Required Variables:
184 # stream: branch with - in place of / (eg. stable-helium)
185 # branch: branch (eg. stable/helium)
192 daysToKeep: '{build-days-to-keep}'
193 numToKeep: '{build-num-to-keep}'
194 artifactDaysToKeep: '{build-artifact-days-to-keep}'
195 artifactNumToKeep: '{build-artifact-num-to-keep}'
203 credentials-id: '{ssh-credentials}'
209 - ssh-agent-credentials:
210 user: '{ssh-credentials}'
216 - wipe-org-opendaylight-repo
219 maven-name: '{mvn32}'
221 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
222 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
223 settings: '{sxp-settings}'
224 global-settings: '{odl-global-settings}'
227 - jacoco-nojava-workaround
233 - email-notification:
234 email-prefix: '[sxp]'
238 name: 'sxp-integration-{stream}'
241 # Job template for ODL merge jobs
243 # The purpose of this job template is to setup a ODL merge job
244 # and deploy artifacts to Nexus.
246 # Required Variables:
247 # stream: branch with - in place of / (eg. stable-helium)
248 # branch: branch (eg. stable/helium)
255 daysToKeep: '{build-days-to-keep}'
256 numToKeep: '{build-num-to-keep}'
257 artifactDaysToKeep: '{build-artifact-days-to-keep}'
258 artifactNumToKeep: '{build-artifact-num-to-keep}'
266 credentials-id: '{ssh-credentials}'
272 - ssh-agent-credentials:
273 user: '{ssh-credentials}'
277 jobs: 'odlparent-merge-{stream},controller-merge-{stream},yangtools-merge-{stream},tcpmd5-merge-{stream}'
281 - wipe-org-opendaylight-repo
284 maven-name: '{mvn32}'
286 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
287 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
288 settings: '{sxp-settings}'
289 global-settings: '{odl-global-settings}'
292 - jacoco-nojava-workaround
298 - email-notification:
299 email-prefix: '[sxp] [odlparent] [controller] [yangtools] [tcpmd5]'
312 artifactDaysToKeep: '1'
313 artifactNumToKeep: '1'
321 credentials-id: '{ssh-credentials}'
327 - ssh-agent-credentials:
328 user: '{ssh-credentials}'
334 maven-name: '{mvn32}'
336 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
337 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
338 settings: '{sxp-settings}'
339 global-settings: '{odl-global-settings}'
342 - jacoco-nojava-workaround
350 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
351 - email-notification:
352 email-prefix: '[sxp]'
363 daysToKeep: '{build-days-to-keep}'
364 numToKeep: '{build-num-to-keep}'
365 artifactDaysToKeep: '{build-artifact-days-to-keep}'
366 artifactNumToKeep: '{build-artifact-num-to-keep}'
374 credentials-id: '{ssh-credentials}'
380 - ssh-agent-credentials:
381 user: '{ssh-credentials}'
387 - wipe-org-opendaylight-repo
390 maven-name: '{mvn32}'
392 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
393 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
394 settings: '{sxp-settings}'
395 global-settings: '{odl-global-settings}'
399 application-name: sxp
402 - email-notification:
403 email-prefix: '[sxp]'