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)
26 # For the Job templates below replace instances of:
27 # PROJECT with your project name (eg. controller)
28 # MAVEN_GOALS with your maven goals to build
29 # MAVEN_OPTS with your maven options to build
32 name: 'neutron-verify-{stream}'
34 # Job template for ODL verify jobs
36 # The purpose of this job template is to setup a ODL verify job
39 # stream: branch with - in place of / (eg. stable-helium)
40 # branch: branch (eg. stable/helium)
59 daysToKeep: '{build-days-to-keep}'
60 numToKeep: '{build-num-to-keep}'
61 artifactDaysToKeep: '{build-artifact-days-to-keep}'
62 artifactNumToKeep: '{build-artifact-num-to-keep}'
72 credentials-id: '{ssh-credentials}'
73 refspec: '$GERRIT_REFSPEC'
74 choosing-strategy: 'gerrit'
78 - ssh-agent-credentials:
83 - gerrit-trigger-patch-submitted:
88 - wipe-org-opendaylight-repo
90 maven-version: '{mvn32}'
92 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
94 - '-Xmx1024m -XX:MaxPermSize=256m'
95 settings: '{neutron-settings}'
96 global-settings: '{odl-global-settings}'
97 - jacoco-nojava-workaround
101 - email-notification:
102 email-prefix: '[neutron]'
106 name: 'neutron-merge-{stream}'
108 # Job template for ODL merge jobs
110 # The purpose of this job template is to setup a ODL merge job
111 # and deploy artifacts to Nexus.
113 # Required Variables:
114 # stream: branch with - in place of / (eg. stable-helium)
115 # branch: branch (eg. stable/helium)
122 daysToKeep: '{build-days-to-keep}'
123 numToKeep: '{build-num-to-keep}'
124 artifactDaysToKeep: '{build-artifact-days-to-keep}'
125 artifactNumToKeep: '{build-artifact-num-to-keep}'
132 - gerrit-trigger-scm:
133 credentials-id: '{ssh-credentials}'
135 choosing-strategy: 'default'
139 - ssh-agent-credentials:
141 - '{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: '{neutron-settings}'
157 global-settings: '{odl-global-settings}'
160 - jacoco-nojava-workaround
167 - email-notification:
168 email-prefix: '[neutron]'
172 deploy-unstable: false
176 name: 'neutron-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:
211 - '{ssh-credentials}'
217 - wipe-org-opendaylight-repo
220 maven-name: '{mvn32}'
222 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
223 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
224 settings: '{neutron-settings}'
225 global-settings: '{odl-global-settings}'
228 - jacoco-nojava-workaround
234 - email-notification:
235 email-prefix: '[neutron]'
239 name: 'neutron-integration-{stream}'
242 # Job template for ODL merge jobs
244 # The purpose of this job template is to setup a ODL merge job
245 # and deploy artifacts to Nexus.
247 # Required Variables:
248 # stream: branch with - in place of / (eg. stable-helium)
249 # branch: branch (eg. stable/helium)
256 daysToKeep: '{build-days-to-keep}'
257 numToKeep: '{build-num-to-keep}'
258 artifactDaysToKeep: '{build-artifact-days-to-keep}'
259 artifactNumToKeep: '{build-artifact-num-to-keep}'
267 credentials-id: '{ssh-credentials}'
273 - ssh-agent-credentials:
275 - '{ssh-credentials}'
279 jobs: 'odlparent-merge-{stream}'
283 - wipe-org-opendaylight-repo
286 maven-name: '{mvn32}'
288 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
289 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
290 settings: '{neutron-settings}'
291 global-settings: '{odl-global-settings}'
294 - jacoco-nojava-workaround
300 - email-notification:
301 email-prefix: '[neutron] [odlparent]'
305 name: 'neutron-sonar'
314 artifactDaysToKeep: '1'
315 artifactNumToKeep: '1'
323 credentials-id: '{ssh-credentials}'
329 - ssh-agent-credentials:
331 - '{ssh-credentials}'
337 maven-name: '{mvn32}'
339 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
340 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
341 settings: '{neutron-settings}'
342 global-settings: '{odl-global-settings}'
345 - jacoco-nojava-workaround
353 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
354 - email-notification:
355 email-prefix: '[neutron]'
366 daysToKeep: '{build-days-to-keep}'
367 numToKeep: '{build-num-to-keep}'
368 artifactDaysToKeep: '{build-artifact-days-to-keep}'
369 artifactNumToKeep: '{build-artifact-num-to-keep}'
377 credentials-id: '{ssh-credentials}'
383 - ssh-agent-credentials:
385 - '{ssh-credentials}'
391 - wipe-org-opendaylight-repo
394 maven-name: '{mvn32}'
396 goals: 'com.sonatype.clm:clm-maven-plugin:index -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
397 maven-opts: '-Xmx4096m -XX:MaxPermSize=512m'
398 settings: '{neutron-settings}'
399 global-settings: '{odl-global-settings}'
403 application-name: neutron
406 - email-notification:
407 email-prefix: '[neutron]'