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 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: 'yangtools-merge-{stream}'
48 # Job template for ODL merge jobs
50 # The purpose of this job template is to setup a ODL merge job
51 # and deploy artifacts to Nexus.
54 # stream: release stream (eg. stable-lithium or beryllium)
55 # branch: git branch (eg. stable/lithium or master)
62 daysToKeep: '{build-days-to-keep}'
63 numToKeep: '{build-num-to-keep}'
64 artifactDaysToKeep: '{build-artifact-days-to-keep}'
65 artifactNumToKeep: '{build-artifact-num-to-keep}'
73 credentials-id: '{ssh-credentials}'
75 choosing-strategy: 'default'
79 - ssh-agent-credentials:
84 - gerrit-trigger-patch-merged:
89 - wipe-org-opendaylight-repo
90 - jacoco-nojava-workaround
95 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dmerge'
96 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
97 settings: '{yangtools-settings}'
98 global-settings: '{odl-global-settings}'
104 - email-notification:
105 email-prefix: '[yangtools]'
109 deploy-unstable: false
113 name: 'yangtools-daily-{stream}'
115 # Job template for daily builders
117 # The purpose of this job template is to setup a daily/nightly
118 # builder and pushes to Sonar analysis.
120 # Required Variables:
121 # stream: release stream (eg. stable-lithium or beryllium)
122 # branch: git branch (eg. stable/lithium or master)
129 daysToKeep: '{build-days-to-keep}'
130 numToKeep: '{build-num-to-keep}'
131 artifactDaysToKeep: '{build-artifact-days-to-keep}'
132 artifactNumToKeep: '{build-artifact-num-to-keep}'
140 credentials-id: '{ssh-credentials}'
146 - ssh-agent-credentials:
148 - '{ssh-credentials}'
154 - wipe-org-opendaylight-repo
155 - jacoco-nojava-workaround
158 maven-name: '{mvn33}'
160 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
161 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
162 settings: '{yangtools-settings}'
163 global-settings: '{odl-global-settings}'
169 - email-notification:
170 email-prefix: '[yangtools]'
174 name: 'yangtools-distribution-{stream}'
176 # Required variables:
177 # stream: release stream (eg. stable-lithium or beryllium)
178 # branch: git branch (eg. stable/lithium or master)
185 daysToKeep: '{build-days-to-keep}'
186 numToKeep: '{build-num-to-keep}'
187 artifactDaysToKeep: '{build-artifact-days-to-keep}'
188 artifactNumToKeep: '{build-artifact-num-to-keep}'
192 project: 'integration'
196 credentials-id: '{ssh-credentials}'
202 - ssh-agent-credentials:
204 - '{ssh-credentials}'
208 jobs: '{project}-merge-{stream}'
212 - wipe-org-opendaylight-repo
215 maven-name: '{mvn33}'
217 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install'
218 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
219 settings: '{integration-settings}'
220 global-settings: '{odl-global-settings}'
223 - email-notification:
224 email-prefix: '[{project}]'
228 deploy-unstable: false
231 name: 'yangtools-integration-{stream}'
234 # Job template for ODL integration verify jobs
236 # This is similar to a normal verify job, but it runs
237 # when a project that's a dependency of your project
238 # is successfully built.
240 # Required Variables:
241 # stream: release stream (eg. stable-lithium or beryllium)
242 # branch: git branch (eg. stable/lithium or master)
249 daysToKeep: '{build-days-to-keep}'
250 numToKeep: '{build-num-to-keep}'
251 artifactDaysToKeep: '{build-artifact-days-to-keep}'
252 artifactNumToKeep: '{build-artifact-num-to-keep}'
260 credentials-id: '{ssh-credentials}'
266 - ssh-agent-credentials:
268 - '{ssh-credentials}'
272 jobs: 'odlparent-merge-{stream}'
276 - wipe-org-opendaylight-repo
277 - jacoco-nojava-workaround
280 maven-name: '{mvn33}'
282 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
283 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
284 settings: '{yangtools-settings}'
285 global-settings: '{odl-global-settings}'
291 - email-notification:
292 email-prefix: '[yangtools] [odlparent]'
296 name: 'yangtools-sonar'
305 artifactDaysToKeep: '1'
306 artifactNumToKeep: '1'
314 credentials-id: '{ssh-credentials}'
320 - ssh-agent-credentials:
322 - '{ssh-credentials}'
326 - gerrit-trigger-patch-sonar:
330 - wipe-org-opendaylight-repo
331 - jacoco-nojava-workaround
334 maven-name: '{mvn33}'
336 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
337 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
338 settings: '{yangtools-settings}'
339 global-settings: '{odl-global-settings}'
347 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
348 - email-notification:
349 email-prefix: '[yangtools]'
353 name: 'yangtools-clm-{stream}'
360 daysToKeep: '{build-days-to-keep}'
361 numToKeep: '{build-num-to-keep}'
362 artifactDaysToKeep: '{build-artifact-days-to-keep}'
363 artifactNumToKeep: '{build-artifact-num-to-keep}'
371 credentials-id: '{ssh-credentials}'
377 - ssh-agent-credentials:
379 - '{ssh-credentials}'
385 - wipe-org-opendaylight-repo
388 maven-name: '{mvn33}'
390 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
391 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
392 settings: '{yangtools-settings}'
393 global-settings: '{odl-global-settings}'
397 application-name: yangtools
400 - email-notification:
401 email-prefix: '[yangtools]'