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 - 'tcpmd5-verify-{stream}'
10 - 'tcpmd5-merge-{stream}'
11 - 'tcpmd5-daily-{stream}'
12 - 'tcpmd5-integration-{stream}'
17 # stream: branch with - in place of / (eg. stable-helium)
18 # branch: branch (eg. stable/helium)
27 branch: 'stable/helium'
32 branch: 'stable/lithium'
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: 'tcpmd5-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:
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 -DrepoBuild install javadoc:aggregate'
106 - '-Xmx1024m -XX:MaxPermSize=256m'
107 settings: '{tcpmd5-settings}'
108 global-settings: '{odl-global-settings}'
109 - jacoco-nojava-workaround
113 - email-notification:
114 email-prefix: '[tcpmd5]'
118 name: 'tcpmd5-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:
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 -DrepoBuild install javadoc:aggregate source:jar javadoc:jar'
167 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
168 settings: '{tcpmd5-settings}'
169 global-settings: '{odl-global-settings}'
172 - jacoco-nojava-workaround
179 - email-notification:
180 email-prefix: '[tcpmd5]'
184 deploy-unstable: false
188 name: 'tcpmd5-daily-{stream}'
190 # Job template for daily builders
192 # The purpose of this job template is to setup a daily/nightly
193 # builder and pushes to Sonar analysis.
195 # Required Variables:
196 # stream: branch with - in place of / (eg. stable-helium)
197 # branch: branch (eg. stable/helium)
204 daysToKeep: '{build-days-to-keep}'
205 numToKeep: '{build-num-to-keep}'
206 artifactDaysToKeep: '{build-artifact-days-to-keep}'
207 artifactNumToKeep: '{build-artifact-num-to-keep}'
215 credentials-id: '{ssh-credentials}'
221 - ssh-agent-credentials:
223 - '{ssh-credentials}'
229 - wipe-org-opendaylight-repo
232 maven-name: '{mvn32}'
234 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate source:jar javadoc:jar'
235 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
236 settings: '{tcpmd5-settings}'
237 global-settings: '{odl-global-settings}'
240 - jacoco-nojava-workaround
246 - email-notification:
247 email-prefix: '[tcpmd5]'
251 name: 'tcpmd5-integration-{stream}'
254 # Job template for ODL integration verify jobs
256 # This is similar to a normal verify job, but it runs
257 # when a project that's a dependency of your project
258 # is successfully built.
260 # Required Variables:
261 # stream: branch with - in place of / (eg. stable-helium)
262 # branch: branch (eg. stable/helium)
269 daysToKeep: '{build-days-to-keep}'
270 numToKeep: '{build-num-to-keep}'
271 artifactDaysToKeep: '{build-artifact-days-to-keep}'
272 artifactNumToKeep: '{build-artifact-num-to-keep}'
280 credentials-id: '{ssh-credentials}'
286 - ssh-agent-credentials:
288 - '{ssh-credentials}'
292 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream}'
296 - wipe-org-opendaylight-repo
299 maven-name: '{mvn32}'
301 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate source:jar javadoc:jar'
302 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
303 settings: '{tcpmd5-settings}'
304 global-settings: '{odl-global-settings}'
307 - jacoco-nojava-workaround
313 - email-notification:
314 email-prefix: '[tcpmd5] [odlparent] [yangtools] [controller]'
327 artifactDaysToKeep: '1'
328 artifactNumToKeep: '1'
336 credentials-id: '{ssh-credentials}'
342 - ssh-agent-credentials:
344 - '{ssh-credentials}'
350 maven-name: '{mvn32}'
352 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean -DrepoBuild install javadoc:aggregate -Dsonar'
353 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
354 settings: '{tcpmd5-settings}'
355 global-settings: '{odl-global-settings}'
358 - jacoco-nojava-workaround
366 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
367 - email-notification:
368 email-prefix: '[tcpmd5]'
379 daysToKeep: '{build-days-to-keep}'
380 numToKeep: '{build-num-to-keep}'
381 artifactDaysToKeep: '{build-artifact-days-to-keep}'
382 artifactNumToKeep: '{build-artifact-num-to-keep}'
390 credentials-id: '{ssh-credentials}'
396 - ssh-agent-credentials:
398 - '{ssh-credentials}'
404 - wipe-org-opendaylight-repo
407 maven-name: '{mvn32}'
409 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
410 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
411 settings: '{tcpmd5-settings}'
412 global-settings: '{odl-global-settings}'
416 application-name: tcpmd5
419 - email-notification:
420 email-prefix: '[tcpmd5]'