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 - 'netide-verify-{stream}'
10 - 'netide-merge-{stream}'
11 - 'netide-daily-{stream}'
12 - 'netide-distribution-{stream}'
13 - 'netide-integration-{stream}'
15 - 'netide-clm-{stream}'
18 # stream: release stream (eg. stable-lithium or beryllium)
19 # branch: git branch (eg. stable/lithium or master)
29 # For the Job templates below replace instances of:
30 # PROJECT with your project name (eg. controller)
31 # MAVEN_GOALS with your maven goals to build
32 # MAVEN_OPTS with your maven options to build
35 name: 'netide-verify-{stream}'
37 # Job template for ODL verify jobs
39 # The purpose of this job template is to setup a ODL verify job
42 # stream: release stream (eg. stable-lithium or beryllium)
43 # branch: git branch (eg. stable/lithium or master)
60 daysToKeep: '{build-days-to-keep}'
61 numToKeep: '{build-num-to-keep}'
62 artifactDaysToKeep: '{build-artifact-days-to-keep}'
63 artifactNumToKeep: '{build-artifact-num-to-keep}'
73 credentials-id: '{ssh-credentials}'
74 refspec: '$GERRIT_REFSPEC'
75 choosing-strategy: 'gerrit'
79 - ssh-agent-credentials:
84 - gerrit-trigger-patch-submitted:
89 - wipe-org-opendaylight-repo
90 - jacoco-nojava-workaround
92 maven-version: '{mvn33}'
94 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
96 - '-Xmx1024m -XX:MaxPermSize=256m'
97 settings: '{netide-settings}'
98 global-settings: '{odl-global-settings}'
102 - email-notification:
103 email-prefix: '[netide]'
107 name: 'netide-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: release stream (eg. stable-lithium or beryllium)
116 # branch: git branch (eg. stable/lithium or master)
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:
142 - '{ssh-credentials}'
145 - gerrit-trigger-patch-merged:
150 - wipe-org-opendaylight-repo
151 - jacoco-nojava-workaround
154 maven-name: '{mvn33}'
156 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge'
157 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
158 settings: '{netide-settings}'
159 global-settings: '{odl-global-settings}'
165 - email-notification:
166 email-prefix: '[netide]'
170 deploy-unstable: false
174 name: 'netide-daily-{stream}'
176 # Job template for daily builders
178 # The purpose of this job template is to setup a daily/nightly
179 # builder and pushes to Sonar analysis.
181 # Required Variables:
182 # stream: release stream (eg. stable-lithium or beryllium)
183 # branch: git branch (eg. stable/lithium or master)
190 daysToKeep: '{build-days-to-keep}'
191 numToKeep: '{build-num-to-keep}'
192 artifactDaysToKeep: '{build-artifact-days-to-keep}'
193 artifactNumToKeep: '{build-artifact-num-to-keep}'
201 credentials-id: '{ssh-credentials}'
207 - ssh-agent-credentials:
209 - '{ssh-credentials}'
215 - wipe-org-opendaylight-repo
216 - jacoco-nojava-workaround
219 maven-name: '{mvn33}'
221 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
222 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
223 settings: '{netide-settings}'
224 global-settings: '{odl-global-settings}'
230 - email-notification:
231 email-prefix: '[netide]'
235 name: 'netide-distribution-{stream}'
237 # Required variables:
238 # stream: release stream (eg. stable-lithium or beryllium)
239 # branch: git branch (eg. stable/lithium or master)
246 daysToKeep: '{build-days-to-keep}'
247 numToKeep: '{build-num-to-keep}'
248 artifactDaysToKeep: '{build-artifact-days-to-keep}'
249 artifactNumToKeep: '{build-artifact-num-to-keep}'
253 project: 'integration'
257 credentials-id: '{ssh-credentials}'
263 - ssh-agent-credentials:
265 - '{ssh-credentials}'
269 jobs: '{project}-merge-{stream}'
273 - wipe-org-opendaylight-repo
276 maven-name: '{mvn33}'
278 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
279 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
280 settings: '{integration-settings}'
281 global-settings: '{odl-global-settings}'
284 - email-notification:
285 email-prefix: '[{project}]'
289 deploy-unstable: false
292 name: 'netide-integration-{stream}'
295 # Job template for ODL integration verify jobs
297 # This is similar to a normal verify job, but it runs
298 # when a project that's a dependency of your project
299 # is successfully built.
301 # Required Variables:
302 # stream: release stream (eg. stable-lithium or beryllium)
303 # branch: git branch (eg. stable/lithium or master)
310 daysToKeep: '{build-days-to-keep}'
311 numToKeep: '{build-num-to-keep}'
312 artifactDaysToKeep: '{build-artifact-days-to-keep}'
313 artifactNumToKeep: '{build-artifact-num-to-keep}'
321 credentials-id: '{ssh-credentials}'
327 - ssh-agent-credentials:
329 - '{ssh-credentials}'
333 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream}'
337 - wipe-org-opendaylight-repo
338 - jacoco-nojava-workaround
341 maven-name: '{mvn33}'
343 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
344 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
345 settings: '{netide-settings}'
346 global-settings: '{odl-global-settings}'
352 - email-notification:
353 email-prefix: '[netide] [odlparent] [yangtools] [controller] [openflowjava]'
366 artifactDaysToKeep: '1'
367 artifactNumToKeep: '1'
375 credentials-id: '{ssh-credentials}'
381 - ssh-agent-credentials:
383 - '{ssh-credentials}'
387 - gerrit-trigger-patch-sonar:
391 - wipe-org-opendaylight-repo
392 - jacoco-nojava-workaround
395 maven-name: '{mvn33}'
397 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
398 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
399 settings: '{netide-settings}'
400 global-settings: '{odl-global-settings}'
408 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
409 - email-notification:
410 email-prefix: '[netide]'
414 name: 'netide-clm-{stream}'
421 daysToKeep: '{build-days-to-keep}'
422 numToKeep: '{build-num-to-keep}'
423 artifactDaysToKeep: '{build-artifact-days-to-keep}'
424 artifactNumToKeep: '{build-artifact-num-to-keep}'
432 credentials-id: '{ssh-credentials}'
438 - ssh-agent-credentials:
440 - '{ssh-credentials}'
446 - wipe-org-opendaylight-repo
449 maven-name: '{mvn33}'
451 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
452 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
453 settings: '{netide-settings}'
454 global-settings: '{odl-global-settings}'
458 application-name: netide
461 - email-notification:
462 email-prefix: '[netide]'