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 - 'neutron-verify-{stream}'
10 - 'neutron-merge-{stream}'
11 - 'neutron-daily-{stream}'
12 - 'neutron-integration-{stream}'
17 # stream: branch with - in place of / (eg. stable-helium)
18 # branch: branch (eg. stable/helium)
27 branch: 'stable/lithium'
35 # For the Job templates below replace instances of:
36 # PROJECT with your project name (eg. controller)
37 # MAVEN_GOALS with your maven goals to build
38 # MAVEN_OPTS with your maven options to build
41 name: 'neutron-verify-{stream}'
43 # Job template for ODL verify jobs
45 # The purpose of this job template is to setup a ODL verify job
48 # stream: branch with - in place of / (eg. stable-helium)
49 # branch: branch (eg. stable/helium)
66 daysToKeep: '{build-days-to-keep}'
67 numToKeep: '{build-num-to-keep}'
68 artifactDaysToKeep: '{build-artifact-days-to-keep}'
69 artifactNumToKeep: '{build-artifact-num-to-keep}'
79 credentials-id: '{ssh-credentials}'
80 refspec: '$GERRIT_REFSPEC'
81 choosing-strategy: 'gerrit'
85 - ssh-agent-credentials:
90 - gerrit-trigger-patch-submitted:
95 - wipe-org-opendaylight-repo
97 maven-version: '{mvn32}'
99 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
101 - '-Xmx1024m -XX:MaxPermSize=256m'
102 settings: '{neutron-settings}'
103 global-settings: '{odl-global-settings}'
104 - jacoco-nojava-workaround
108 - email-notification:
109 email-prefix: '[neutron]'
113 name: 'neutron-merge-{stream}'
115 # Job template for ODL merge jobs
117 # The purpose of this job template is to setup a ODL merge job
118 # and deploy artifacts to Nexus.
120 # Required Variables:
121 # stream: branch with - in place of / (eg. stable-helium)
122 # branch: branch (eg. stable/helium)
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}'
139 - gerrit-trigger-scm:
140 credentials-id: '{ssh-credentials}'
142 choosing-strategy: 'default'
146 - ssh-agent-credentials:
148 - '{ssh-credentials}'
151 - gerrit-trigger-patch-merged:
156 - wipe-org-opendaylight-repo
159 maven-name: '{mvn32}'
161 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
162 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
163 settings: '{neutron-settings}'
164 global-settings: '{odl-global-settings}'
167 - jacoco-nojava-workaround
174 - email-notification:
175 email-prefix: '[neutron]'
179 deploy-unstable: false
183 name: 'neutron-daily-{stream}'
185 # Job template for daily builders
187 # The purpose of this job template is to setup a daily/nightly
188 # builder and pushes to Sonar analysis.
190 # Required Variables:
191 # stream: branch with - in place of / (eg. stable-helium)
192 # branch: branch (eg. stable/helium)
199 daysToKeep: '{build-days-to-keep}'
200 numToKeep: '{build-num-to-keep}'
201 artifactDaysToKeep: '{build-artifact-days-to-keep}'
202 artifactNumToKeep: '{build-artifact-num-to-keep}'
210 credentials-id: '{ssh-credentials}'
216 - ssh-agent-credentials:
218 - '{ssh-credentials}'
224 - wipe-org-opendaylight-repo
227 maven-name: '{mvn32}'
229 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
230 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
231 settings: '{neutron-settings}'
232 global-settings: '{odl-global-settings}'
235 - jacoco-nojava-workaround
241 - email-notification:
242 email-prefix: '[neutron]'
246 name: 'neutron-integration-{stream}'
249 # Job template for ODL integration verify jobs
251 # This is similar to a normal verify job, but it runs
252 # when a project that's a dependency of your project
253 # is successfully built.
255 # Required Variables:
256 # stream: branch with - in place of / (eg. stable-helium)
257 # branch: branch (eg. stable/helium)
264 daysToKeep: '{build-days-to-keep}'
265 numToKeep: '{build-num-to-keep}'
266 artifactDaysToKeep: '{build-artifact-days-to-keep}'
267 artifactNumToKeep: '{build-artifact-num-to-keep}'
275 credentials-id: '{ssh-credentials}'
281 - ssh-agent-credentials:
283 - '{ssh-credentials}'
287 jobs: 'odlparent-merge-{stream}'
291 - wipe-org-opendaylight-repo
294 maven-name: '{mvn32}'
296 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
297 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
298 settings: '{neutron-settings}'
299 global-settings: '{odl-global-settings}'
302 - jacoco-nojava-workaround
308 - email-notification:
309 email-prefix: '[neutron] [odlparent]'
313 name: 'neutron-sonar'
322 artifactDaysToKeep: '1'
323 artifactNumToKeep: '1'
331 credentials-id: '{ssh-credentials}'
337 - ssh-agent-credentials:
339 - '{ssh-credentials}'
345 maven-name: '{mvn32}'
347 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
348 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
349 settings: '{neutron-settings}'
350 global-settings: '{odl-global-settings}'
353 - jacoco-nojava-workaround
361 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
362 - email-notification:
363 email-prefix: '[neutron]'
374 daysToKeep: '{build-days-to-keep}'
375 numToKeep: '{build-num-to-keep}'
376 artifactDaysToKeep: '{build-artifact-days-to-keep}'
377 artifactNumToKeep: '{build-artifact-num-to-keep}'
385 credentials-id: '{ssh-credentials}'
391 - ssh-agent-credentials:
393 - '{ssh-credentials}'
399 - wipe-org-opendaylight-repo
402 maven-name: '{mvn32}'
404 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
405 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
406 settings: '{neutron-settings}'
407 global-settings: '{odl-global-settings}'
411 application-name: neutron
414 - email-notification:
415 email-prefix: '[neutron]'