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 - 'odlparent-verify-{stream}'
10 - 'odlparent-merge-{stream}'
11 - 'odlparent-daily-{stream}'
12 - 'odlparent-integration-{stream}'
16 # stream: branch with - in place of / (eg. stable-helium)
17 # branch: branch (eg. stable/helium)
22 branch: 'stable/helium'
24 branch: 'stable/lithium'
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: 'odlparent-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)
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}'
75 credentials-id: '{ssh-credentials}'
76 refspec: '$GERRIT_REFSPEC'
77 choosing-strategy: 'gerrit'
81 - ssh-agent-credentials:
82 user: '{ssh-credentials}'
85 - gerrit-trigger-patch-submitted:
90 - wipe-org-opendaylight-repo
92 maven-version: '{mvn32}'
94 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
96 - '-Xmx1024m -XX:MaxPermSize=256m'
97 settings: '{odlparent-settings}'
98 global-settings: '{odl-global-settings}'
99 - jacoco-nojava-workaround
102 - email-notification:
103 email-prefix: '[odlparent]'
107 name: 'odlparent-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:
141 user: '{ssh-credentials}'
144 - gerrit-trigger-patch-merged:
149 - wipe-org-opendaylight-repo
152 maven-name: '{mvn32}'
154 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
155 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
156 settings: '{odlparent-settings}'
157 global-settings: '{odl-global-settings}'
160 - jacoco-nojava-workaround
167 - email-notification:
168 email-prefix: '[odlparent]'
172 deploy-unstable: false
176 name: 'odlparent-daily-{stream}'
178 # Job template for daily builders
180 # The purpose of this job template is to setup a daily/nightly
181 # builder and pushes to Sonar analysis.
183 # Required Variables:
184 # stream: branch with - in place of / (eg. stable-helium)
185 # branch: branch (eg. stable/helium)
192 daysToKeep: '{build-days-to-keep}'
193 numToKeep: '{build-num-to-keep}'
194 artifactDaysToKeep: '{build-artifact-days-to-keep}'
195 artifactNumToKeep: '{build-artifact-num-to-keep}'
203 credentials-id: '{ssh-credentials}'
209 - ssh-agent-credentials:
210 user: '{ssh-credentials}'
216 - wipe-org-opendaylight-repo
219 maven-name: '{mvn32}'
221 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
222 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
223 settings: '{odlparent-settings}'
224 global-settings: '{odl-global-settings}'
227 - jacoco-nojava-workaround
233 - email-notification:
234 email-prefix: '[odlparent]'
238 name: 'odlparent-integration-{stream}'
241 # Job template for ODL merge jobs
243 # The purpose of this job template is to setup a ODL merge job
244 # and deploy artifacts to Nexus.
246 # Required Variables:
247 # stream: branch with - in place of / (eg. stable-helium)
248 # branch: branch (eg. stable/helium)
255 daysToKeep: '{build-days-to-keep}'
256 numToKeep: '{build-num-to-keep}'
257 artifactDaysToKeep: '{build-artifact-days-to-keep}'
258 artifactNumToKeep: '{build-artifact-num-to-keep}'
266 credentials-id: '{ssh-credentials}'
272 - ssh-agent-credentials:
273 user: '{ssh-credentials}'
277 jobs: 'odlparent-merge-{stream}'
281 - wipe-org-opendaylight-repo
284 maven-name: '{mvn32}'
286 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
287 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
288 settings: '{odlparent-settings}'
289 global-settings: '{odl-global-settings}'
292 - jacoco-nojava-workaround
298 - email-notification:
299 email-prefix: '[odlparent] [odlparent]'
303 name: 'odlparent-sonar'
312 artifactDaysToKeep: '1'
313 artifactNumToKeep: '1'
321 credentials-id: '{ssh-credentials}'
327 - ssh-agent-credentials:
328 user: '{ssh-credentials}'
334 maven-name: '{mvn32}'
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: '{odlparent-settings}'
339 global-settings: '{odl-global-settings}'
342 - jacoco-nojava-workaround
350 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
351 - email-notification:
352 email-prefix: '[odlparent]'