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 - 'iotdm-verify-{stream}'
10 - 'iotdm-merge-{stream}'
11 - 'iotdm-daily-{stream}'
12 - 'iotdm-integration-{stream}'
17 # stream: branch with - in place of / (eg. stable-helium)
18 # branch: branch (eg. stable/helium)
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: 'iotdm-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: branch with - in place of / (eg. stable-helium)
43 # branch: branch (eg. stable/helium)
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
91 maven-version: '{mvn32}'
93 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
95 - '-Xmx1024m -XX:MaxPermSize=256m'
96 settings: '{iotdm-settings}'
97 global-settings: '{odl-global-settings}'
98 - jacoco-nojava-workaround
102 - email-notification:
103 email-prefix: '[iotdm]'
107 name: 'iotdm-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: branch with - in place of / (eg. stable-helium)
116 # branch: branch (eg. stable/helium)
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
153 maven-name: '{mvn32}'
155 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
156 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
157 settings: '{iotdm-settings}'
158 global-settings: '{odl-global-settings}'
161 - jacoco-nojava-workaround
168 - email-notification:
169 email-prefix: '[iotdm]'
173 deploy-unstable: false
177 name: 'iotdm-daily-{stream}'
179 # Job template for daily builders
181 # The purpose of this job template is to setup a daily/nightly
182 # builder and pushes to Sonar analysis.
184 # Required Variables:
185 # stream: branch with - in place of / (eg. stable-helium)
186 # branch: branch (eg. stable/helium)
193 daysToKeep: '{build-days-to-keep}'
194 numToKeep: '{build-num-to-keep}'
195 artifactDaysToKeep: '{build-artifact-days-to-keep}'
196 artifactNumToKeep: '{build-artifact-num-to-keep}'
204 credentials-id: '{ssh-credentials}'
210 - ssh-agent-credentials:
212 - '{ssh-credentials}'
218 - wipe-org-opendaylight-repo
221 maven-name: '{mvn32}'
223 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
224 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
225 settings: '{iotdm-settings}'
226 global-settings: '{odl-global-settings}'
229 - jacoco-nojava-workaround
235 - email-notification:
236 email-prefix: '[iotdm]'
240 name: 'iotdm-integration-{stream}'
243 # Job template for ODL merge jobs
245 # The purpose of this job template is to setup a ODL merge job
246 # and deploy artifacts to Nexus.
248 # Required Variables:
249 # stream: branch with - in place of / (eg. stable-helium)
250 # branch: branch (eg. stable/helium)
257 daysToKeep: '{build-days-to-keep}'
258 numToKeep: '{build-num-to-keep}'
259 artifactDaysToKeep: '{build-artifact-days-to-keep}'
260 artifactNumToKeep: '{build-artifact-num-to-keep}'
268 credentials-id: '{ssh-credentials}'
274 - ssh-agent-credentials:
276 - '{ssh-credentials}'
280 jobs: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream},aaa-merge-{stream}'
284 - wipe-org-opendaylight-repo
287 maven-name: '{mvn32}'
289 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
290 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
291 settings: '{iotdm-settings}'
292 global-settings: '{odl-global-settings}'
295 - jacoco-nojava-workaround
301 - email-notification:
302 email-prefix: '[iotdm] [controller] [yangtools] [odlparent] [aaa]'
315 artifactDaysToKeep: '1'
316 artifactNumToKeep: '1'
324 credentials-id: '{ssh-credentials}'
330 - ssh-agent-credentials:
332 - '{ssh-credentials}'
338 maven-name: '{mvn32}'
340 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
341 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
342 settings: '{iotdm-settings}'
343 global-settings: '{odl-global-settings}'
346 - jacoco-nojava-workaround
354 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
355 - email-notification:
356 email-prefix: '[iotdm]'
367 daysToKeep: '{build-days-to-keep}'
368 numToKeep: '{build-num-to-keep}'
369 artifactDaysToKeep: '{build-artifact-days-to-keep}'
370 artifactNumToKeep: '{build-artifact-num-to-keep}'
378 credentials-id: '{ssh-credentials}'
384 - ssh-agent-credentials:
386 - '{ssh-credentials}'
392 - wipe-org-opendaylight-repo
395 maven-name: '{mvn32}'
397 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
398 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
399 settings: '{iotdm-settings}'
400 global-settings: '{odl-global-settings}'
404 application-name: iotdm
407 - email-notification:
408 email-prefix: '[iotdm]'