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 - 'yangtools-merge-{stream}'
10 - 'yangtools-daily-{stream}'
11 - 'yangtools-distribution-{stream}'
12 - 'yangtools-integration-{stream}'
14 - 'yangtools-clm-{stream}'
17 # stream: release stream (eg. stable-lithium or beryllium)
18 # branch: git branch (eg. stable/lithium or master)
27 branch: 'stable/lithium'
33 branch: 'stable/helium'
40 # For the Job templates below replace instances of:
41 # PROJECT_SHORTNAME with your project name (eg. circuitsw)
42 # PROJECT_PATH with your project name (eg. ofextensions/circuitsw)
43 # MAVEN_GOALS with your maven goals to build
44 # MAVEN_OPTS with your maven options to build
47 name: 'yangtools-merge-{stream}'
49 # Job template for ODL merge jobs
51 # The purpose of this job template is to setup a ODL merge job
52 # and deploy artifacts to Nexus.
55 # stream: release stream (eg. stable-lithium or beryllium)
56 # branch: git branch (eg. stable/lithium or master)
63 daysToKeep: '{build-days-to-keep}'
64 numToKeep: '{build-num-to-keep}'
65 artifactDaysToKeep: '{build-artifact-days-to-keep}'
66 artifactNumToKeep: '{build-artifact-num-to-keep}'
74 credentials-id: '{ssh-credentials}'
76 choosing-strategy: 'default'
80 - ssh-agent-credentials:
85 - gerrit-trigger-patch-merged:
90 - wipe-org-opendaylight-repo
91 - jacoco-nojava-workaround
92 - provide-maven-settings:
93 global-settings-file: '{odl-global-settings}'
94 settings-file: '{yangtools-settings}'
99 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge -Dstream={stream}'
100 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
101 settings: '{yangtools-settings}'
102 global-settings: '{odl-global-settings}'
103 post-step-run-condition: UNSTABLE
107 condition-kind: file-exists
108 condition-filename: deploy-site.xml
109 condition-basedir: workspace
111 # The strategy here is intentional to run Maven site:deploy twice
112 # once using regular pom.xml to produce a staged-site which is
113 # then used by deploy-site.xml to push to Nexus. This is a
114 # workaround to Maven Site's default linking code which creates
115 # incorrect URLs for sites due to auto-detection assuming your
116 # project is configured in a certain way which ODL is not.
119 maven-version: '{mvn33}'
121 goals: 'site:deploy -Dstream={stream}'
124 settings: '{yangtools-settings}'
125 global-settings: '{odl-global-settings}'
127 maven-version: '{mvn33}'
129 goals: 'site:deploy -Dstream={stream}'
132 settings: '{yangtools-settings}'
133 global-settings: '{odl-global-settings}'
139 - email-notification:
140 email-prefix: '[yangtools]'
144 deploy-unstable: false
148 name: 'yangtools-daily-{stream}'
150 # Job template for daily builders
152 # The purpose of this job template is to setup a daily/nightly
153 # builder and pushes to Sonar analysis.
155 # Required Variables:
156 # stream: release stream (eg. stable-lithium or beryllium)
157 # branch: git branch (eg. stable/lithium or master)
164 daysToKeep: '{build-days-to-keep}'
165 numToKeep: '{build-num-to-keep}'
166 artifactDaysToKeep: '{build-artifact-days-to-keep}'
167 artifactNumToKeep: '{build-artifact-num-to-keep}'
175 credentials-id: '{ssh-credentials}'
181 - ssh-agent-credentials:
183 - '{ssh-credentials}'
189 - wipe-org-opendaylight-repo
190 - jacoco-nojava-workaround
191 - provide-maven-settings:
192 global-settings-file: '{odl-global-settings}'
193 settings-file: '{yangtools-settings}'
196 maven-name: '{mvn33}'
198 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
199 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
200 settings: '{yangtools-settings}'
201 global-settings: '{odl-global-settings}'
207 - email-notification:
208 email-prefix: '[yangtools]'
212 name: 'yangtools-distribution-{stream}'
214 # Required variables:
215 # stream: release stream (eg. stable-lithium or beryllium)
216 # branch: git branch (eg. stable/lithium or master)
223 daysToKeep: '{build-days-to-keep}'
224 numToKeep: '{build-num-to-keep}'
225 artifactDaysToKeep: '{build-artifact-days-to-keep}'
226 artifactNumToKeep: '{build-artifact-num-to-keep}'
230 project: 'integration/distribution'
234 credentials-id: '{ssh-credentials}'
240 - ssh-agent-credentials:
242 - '{ssh-credentials}'
246 jobs: '{project}-merge-{stream}'
250 - wipe-org-opendaylight-repo
251 - provide-maven-settings:
252 global-settings-file: '{odl-global-settings}'
253 settings-file: '{yangtools-settings}'
256 maven-name: '{mvn33}'
258 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
259 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
260 settings: '{integration-settings}'
261 global-settings: '{odl-global-settings}'
264 - email-notification:
265 email-prefix: '[{project}]'
269 deploy-unstable: false
272 name: 'yangtools-integration-{stream}'
275 # Job template for ODL integration verify jobs
277 # This is similar to a normal verify job, but it runs
278 # when a project that's a dependency of your project
279 # is successfully built.
281 # Required Variables:
282 # stream: release stream (eg. stable-lithium or beryllium)
283 # branch: git branch (eg. stable/lithium or master)
290 daysToKeep: '{build-days-to-keep}'
291 numToKeep: '{build-num-to-keep}'
292 artifactDaysToKeep: '{build-artifact-days-to-keep}'
293 artifactNumToKeep: '{build-artifact-num-to-keep}'
301 credentials-id: '{ssh-credentials}'
307 - ssh-agent-credentials:
309 - '{ssh-credentials}'
313 jobs: 'odlparent-merge-{stream}'
317 - wipe-org-opendaylight-repo
318 - jacoco-nojava-workaround
319 - provide-maven-settings:
320 global-settings-file: '{odl-global-settings}'
321 settings-file: '{yangtools-settings}'
324 maven-name: '{mvn33}'
326 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
327 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
328 settings: '{yangtools-settings}'
329 global-settings: '{odl-global-settings}'
335 - email-notification:
336 email-prefix: '[yangtools] [odlparent]'
340 name: 'yangtools-sonar'
349 artifactDaysToKeep: '1'
350 artifactNumToKeep: '1'
358 credentials-id: '{ssh-credentials}'
364 - ssh-agent-credentials:
366 - '{ssh-credentials}'
370 - gerrit-trigger-patch-sonar:
374 - wipe-org-opendaylight-repo
375 - jacoco-nojava-workaround
376 - provide-maven-settings:
377 global-settings-file: '{odl-global-settings}'
378 settings-file: '{yangtools-settings}'
381 maven-name: '{mvn33}'
383 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
384 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
385 settings: '{yangtools-settings}'
386 global-settings: '{odl-global-settings}'
394 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
395 - email-notification:
396 email-prefix: '[yangtools]'
400 name: 'yangtools-clm-{stream}'
407 daysToKeep: '{build-days-to-keep}'
408 numToKeep: '{build-num-to-keep}'
409 artifactDaysToKeep: '{build-artifact-days-to-keep}'
410 artifactNumToKeep: '{build-artifact-num-to-keep}'
418 credentials-id: '{ssh-credentials}'
424 - ssh-agent-credentials:
426 - '{ssh-credentials}'
432 - wipe-org-opendaylight-repo
433 - provide-maven-settings:
434 global-settings-file: '{odl-global-settings}'
435 settings-file: '{yangtools-settings}'
438 maven-name: '{mvn33}'
440 goals: 'clean install com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
441 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
442 settings: '{yangtools-settings}'
443 global-settings: '{odl-global-settings}'
447 application-name: yangtools
450 - email-notification:
451 email-prefix: '[yangtools]'