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 integration verify jobs
245 # This is similar to a normal verify job, but it runs
246 # when a project that's a dependency of your project
247 # is successfully built.
249 # Required Variables:
250 # stream: branch with - in place of / (eg. stable-helium)
251 # branch: branch (eg. stable/helium)
258 daysToKeep: '{build-days-to-keep}'
259 numToKeep: '{build-num-to-keep}'
260 artifactDaysToKeep: '{build-artifact-days-to-keep}'
261 artifactNumToKeep: '{build-artifact-num-to-keep}'
269 credentials-id: '{ssh-credentials}'
275 - ssh-agent-credentials:
277 - '{ssh-credentials}'
281 jobs: 'controller-merge-{stream},yangtools-merge-{stream},odlparent-merge-{stream},aaa-merge-{stream}'
285 - wipe-org-opendaylight-repo
288 maven-name: '{mvn32}'
290 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
291 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
292 settings: '{iotdm-settings}'
293 global-settings: '{odl-global-settings}'
296 - jacoco-nojava-workaround
302 - email-notification:
303 email-prefix: '[iotdm] [controller] [yangtools] [odlparent] [aaa]'
316 artifactDaysToKeep: '1'
317 artifactNumToKeep: '1'
325 credentials-id: '{ssh-credentials}'
331 - ssh-agent-credentials:
333 - '{ssh-credentials}'
339 maven-name: '{mvn32}'
341 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
342 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
343 settings: '{iotdm-settings}'
344 global-settings: '{odl-global-settings}'
347 - jacoco-nojava-workaround
355 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
356 - email-notification:
357 email-prefix: '[iotdm]'
368 daysToKeep: '{build-days-to-keep}'
369 numToKeep: '{build-num-to-keep}'
370 artifactDaysToKeep: '{build-artifact-days-to-keep}'
371 artifactNumToKeep: '{build-artifact-num-to-keep}'
379 credentials-id: '{ssh-credentials}'
385 - ssh-agent-credentials:
387 - '{ssh-credentials}'
393 - wipe-org-opendaylight-repo
396 maven-name: '{mvn32}'
398 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
399 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
400 settings: '{iotdm-settings}'
401 global-settings: '{odl-global-settings}'
405 application-name: iotdm
408 - email-notification:
409 email-prefix: '[iotdm]'