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 - 'ttp-verify-{stream}'
10 - 'ttp-merge-{stream}'
11 - 'ttp-daily-{stream}'
12 - 'ttp-integration-{stream}'
17 # stream: branch with - in place of / (eg. stable-helium)
18 # branch: branch (eg. stable/helium)
26 branch: 'stable/helium'
33 # For the Job templates below replace instances of:
34 # PROJECT with your project name (eg. controller)
35 # MAVEN_GOALS with your maven goals to build
36 # MAVEN_OPTS with your maven options to build
39 name: 'ttp-verify-{stream}'
41 # Job template for ODL verify jobs
43 # The purpose of this job template is to setup a ODL verify job
46 # stream: branch with - in place of / (eg. stable-helium)
47 # branch: branch (eg. stable/helium)
64 daysToKeep: '{build-days-to-keep}'
65 numToKeep: '{build-num-to-keep}'
66 artifactDaysToKeep: '{build-artifact-days-to-keep}'
67 artifactNumToKeep: '{build-artifact-num-to-keep}'
77 credentials-id: '{ssh-credentials}'
78 refspec: '$GERRIT_REFSPEC'
79 choosing-strategy: 'gerrit'
83 - ssh-agent-credentials:
88 - gerrit-trigger-patch-submitted:
93 - wipe-org-opendaylight-repo
95 maven-version: '{mvn32}'
97 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
99 - '-Xmx1024m -XX:MaxPermSize=256m'
100 settings: '{ttp-settings}'
101 global-settings: '{odl-global-settings}'
102 - jacoco-nojava-workaround
106 - email-notification:
107 email-prefix: '[ttp]'
111 name: 'ttp-merge-{stream}'
113 # Job template for ODL merge jobs
115 # The purpose of this job template is to setup a ODL merge job
116 # and deploy artifacts to Nexus.
118 # Required Variables:
119 # stream: branch with - in place of / (eg. stable-helium)
120 # branch: branch (eg. stable/helium)
127 daysToKeep: '{build-days-to-keep}'
128 numToKeep: '{build-num-to-keep}'
129 artifactDaysToKeep: '{build-artifact-days-to-keep}'
130 artifactNumToKeep: '{build-artifact-num-to-keep}'
137 - gerrit-trigger-scm:
138 credentials-id: '{ssh-credentials}'
140 choosing-strategy: 'default'
144 - ssh-agent-credentials:
146 - '{ssh-credentials}'
149 - gerrit-trigger-patch-merged:
154 - wipe-org-opendaylight-repo
157 maven-name: '{mvn32}'
159 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
160 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
161 settings: '{ttp-settings}'
162 global-settings: '{odl-global-settings}'
165 - jacoco-nojava-workaround
172 - email-notification:
173 email-prefix: '[ttp]'
177 deploy-unstable: false
181 name: 'ttp-daily-{stream}'
183 # Job template for daily builders
185 # The purpose of this job template is to setup a daily/nightly
186 # builder and pushes to Sonar analysis.
188 # Required Variables:
189 # stream: branch with - in place of / (eg. stable-helium)
190 # branch: branch (eg. stable/helium)
197 daysToKeep: '{build-days-to-keep}'
198 numToKeep: '{build-num-to-keep}'
199 artifactDaysToKeep: '{build-artifact-days-to-keep}'
200 artifactNumToKeep: '{build-artifact-num-to-keep}'
208 credentials-id: '{ssh-credentials}'
214 - ssh-agent-credentials:
216 - '{ssh-credentials}'
222 - wipe-org-opendaylight-repo
225 maven-name: '{mvn32}'
227 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
228 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
229 settings: '{ttp-settings}'
230 global-settings: '{odl-global-settings}'
233 - jacoco-nojava-workaround
239 - email-notification:
240 email-prefix: '[ttp]'
244 name: 'ttp-integration-{stream}'
247 # Job template for ODL integration verify jobs
249 # This is similar to a normal verify job, but it runs
250 # when a project that's a dependency of your project
251 # is successfully built.
253 # Required Variables:
254 # stream: branch with - in place of / (eg. stable-helium)
255 # branch: branch (eg. stable/helium)
262 daysToKeep: '{build-days-to-keep}'
263 numToKeep: '{build-num-to-keep}'
264 artifactDaysToKeep: '{build-artifact-days-to-keep}'
265 artifactNumToKeep: '{build-artifact-num-to-keep}'
273 credentials-id: '{ssh-credentials}'
279 - ssh-agent-credentials:
281 - '{ssh-credentials}'
285 jobs: 'odlparent-merge-{stream}'
289 - wipe-org-opendaylight-repo
292 maven-name: '{mvn32}'
294 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
295 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
296 settings: '{ttp-settings}'
297 global-settings: '{odl-global-settings}'
300 - jacoco-nojava-workaround
306 - email-notification:
307 email-prefix: '[ttp] [odlparent]'
320 artifactDaysToKeep: '1'
321 artifactNumToKeep: '1'
329 credentials-id: '{ssh-credentials}'
335 - ssh-agent-credentials:
337 - '{ssh-credentials}'
343 maven-name: '{mvn32}'
345 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
346 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
347 settings: '{ttp-settings}'
348 global-settings: '{odl-global-settings}'
351 - jacoco-nojava-workaround
359 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
360 - email-notification:
361 email-prefix: '[ttp]'
372 daysToKeep: '{build-days-to-keep}'
373 numToKeep: '{build-num-to-keep}'
374 artifactDaysToKeep: '{build-artifact-days-to-keep}'
375 artifactNumToKeep: '{build-artifact-num-to-keep}'
383 credentials-id: '{ssh-credentials}'
389 - ssh-agent-credentials:
391 - '{ssh-credentials}'
397 - wipe-org-opendaylight-repo
400 maven-name: '{mvn32}'
402 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
403 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
404 settings: '{ttp-settings}'
405 global-settings: '{odl-global-settings}'
409 application-name: ttp
412 - email-notification:
413 email-prefix: '[ttp]'