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_SHORTNAME with your project name (eg. circuitsw)
31 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
32 # MAVEN_GOALS with your maven goals to build
33 # MAVEN_OPTS with your maven options to build
36 name: 'netide-verify-{stream}'
38 # Job template for ODL verify jobs
40 # The purpose of this job template is to setup a ODL verify job
43 # stream: release stream (eg. stable-lithium or beryllium)
44 # branch: git branch (eg. stable/lithium or master)
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:
85 - gerrit-trigger-patch-submitted:
90 - wipe-org-opendaylight-repo
91 - jacoco-nojava-workaround
92 - provide-maven-settings:
93 global-settings-file: '{odl-global-settings}'
94 settings-file: '{netide-settings}'
96 maven-version: '{mvn33}'
98 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dstream={stream}'
100 - '-Xmx1024m -XX:MaxPermSize=256m'
101 settings: '{netide-settings}'
102 global-settings: '{odl-global-settings}'
106 - email-notification:
107 email-prefix: '[netide]'
111 name: 'netide-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: release stream (eg. stable-lithium or beryllium)
120 # branch: git branch (eg. stable/lithium or master)
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
155 - jacoco-nojava-workaround
156 - provide-maven-settings:
157 global-settings-file: '{odl-global-settings}'
158 settings-file: '{netide-settings}'
161 maven-name: '{mvn33}'
163 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dstream={stream}'
164 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
165 settings: '{netide-settings}'
166 global-settings: '{odl-global-settings}'
167 post-step-run-condition: UNSTABLE
171 condition-kind: file-exists
172 condition-filename: deploy-site.xml
173 condition-basedir: workspace
175 # The strategy here is intentional to run Maven site:deploy twice
176 # once using regular pom.xml to produce a staged-site which is
177 # then used by deploy-site.xml to push to Nexus. This is a
178 # workaround to Maven Site's default linking code which creates
179 # incorrect URLs for sites due to auto-detection assuming your
180 # project is configured in a certain way which ODL is not.
183 maven-version: '{mvn33}'
185 goals: 'site:deploy -Dstream={stream}'
188 settings: '{netide-settings}'
189 global-settings: '{odl-global-settings}'
191 maven-version: '{mvn33}'
193 goals: 'site:deploy -Dstream={stream}'
196 settings: '{netide-settings}'
197 global-settings: '{odl-global-settings}'
203 - email-notification:
204 email-prefix: '[netide]'
208 deploy-unstable: false
212 name: 'netide-daily-{stream}'
214 # Job template for daily builders
216 # The purpose of this job template is to setup a daily/nightly
217 # builder and pushes to Sonar analysis.
219 # Required Variables:
220 # stream: release stream (eg. stable-lithium or beryllium)
221 # branch: git branch (eg. stable/lithium or master)
228 daysToKeep: '{build-days-to-keep}'
229 numToKeep: '{build-num-to-keep}'
230 artifactDaysToKeep: '{build-artifact-days-to-keep}'
231 artifactNumToKeep: '{build-artifact-num-to-keep}'
239 credentials-id: '{ssh-credentials}'
245 - ssh-agent-credentials:
247 - '{ssh-credentials}'
253 - wipe-org-opendaylight-repo
254 - jacoco-nojava-workaround
255 - provide-maven-settings:
256 global-settings-file: '{odl-global-settings}'
257 settings-file: '{netide-settings}'
260 maven-name: '{mvn33}'
262 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
263 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
264 settings: '{netide-settings}'
265 global-settings: '{odl-global-settings}'
271 - email-notification:
272 email-prefix: '[netide]'
276 name: 'netide-distribution-{stream}'
278 # Required variables:
279 # stream: release stream (eg. stable-lithium or beryllium)
280 # branch: git branch (eg. stable/lithium or master)
287 daysToKeep: '{build-days-to-keep}'
288 numToKeep: '{build-num-to-keep}'
289 artifactDaysToKeep: '{build-artifact-days-to-keep}'
290 artifactNumToKeep: '{build-artifact-num-to-keep}'
294 project: 'integration/distribution'
298 credentials-id: '{ssh-credentials}'
304 - ssh-agent-credentials:
306 - '{ssh-credentials}'
310 jobs: '{project}-merge-{stream}'
314 - wipe-org-opendaylight-repo
315 - provide-maven-settings:
316 global-settings-file: '{odl-global-settings}'
317 settings-file: '{netide-settings}'
320 maven-name: '{mvn33}'
322 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
323 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
324 settings: '{integration-settings}'
325 global-settings: '{odl-global-settings}'
328 - email-notification:
329 email-prefix: '[{project}]'
333 deploy-unstable: false
336 name: 'netide-integration-{stream}'
339 # Job template for ODL integration verify jobs
341 # This is similar to a normal verify job, but it runs
342 # when a project that's a dependency of your project
343 # is successfully built.
345 # Required Variables:
346 # stream: release stream (eg. stable-lithium or beryllium)
347 # branch: git branch (eg. stable/lithium or master)
354 daysToKeep: '{build-days-to-keep}'
355 numToKeep: '{build-num-to-keep}'
356 artifactDaysToKeep: '{build-artifact-days-to-keep}'
357 artifactNumToKeep: '{build-artifact-num-to-keep}'
365 credentials-id: '{ssh-credentials}'
371 - ssh-agent-credentials:
373 - '{ssh-credentials}'
377 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream}'
381 - wipe-org-opendaylight-repo
382 - jacoco-nojava-workaround
383 - provide-maven-settings:
384 global-settings-file: '{odl-global-settings}'
385 settings-file: '{netide-settings}'
388 maven-name: '{mvn33}'
390 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
391 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
392 settings: '{netide-settings}'
393 global-settings: '{odl-global-settings}'
399 - email-notification:
400 email-prefix: '[netide] [odlparent] [yangtools] [controller] [openflowjava]'
413 artifactDaysToKeep: '1'
414 artifactNumToKeep: '1'
422 credentials-id: '{ssh-credentials}'
428 - ssh-agent-credentials:
430 - '{ssh-credentials}'
434 - gerrit-trigger-patch-sonar:
438 - wipe-org-opendaylight-repo
439 - jacoco-nojava-workaround
440 - provide-maven-settings:
441 global-settings-file: '{odl-global-settings}'
442 settings-file: '{netide-settings}'
445 maven-name: '{mvn33}'
447 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
448 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
449 settings: '{netide-settings}'
450 global-settings: '{odl-global-settings}'
458 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
459 - email-notification:
460 email-prefix: '[netide]'
464 name: 'netide-clm-{stream}'
471 daysToKeep: '{build-days-to-keep}'
472 numToKeep: '{build-num-to-keep}'
473 artifactDaysToKeep: '{build-artifact-days-to-keep}'
474 artifactNumToKeep: '{build-artifact-num-to-keep}'
482 credentials-id: '{ssh-credentials}'
488 - ssh-agent-credentials:
490 - '{ssh-credentials}'
496 - wipe-org-opendaylight-repo
497 - provide-maven-settings:
498 global-settings-file: '{odl-global-settings}'
499 settings-file: '{netide-settings}'
502 maven-name: '{mvn33}'
504 goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
505 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
506 settings: '{netide-settings}'
507 global-settings: '{odl-global-settings}'
511 application-name: netide
514 - email-notification:
515 email-prefix: '[netide]'