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 - 'snbi-verify-{stream}'
10 - 'snbi-merge-{stream}'
11 - 'snbi-daily-{stream}'
12 - 'snbi-integration-{stream}'
16 # stream: branch with - in place of / (eg. stable-helium)
17 # branch: branch (eg. stable/helium)
22 branch: 'stable/helium'
27 # For the Job templates below replace instances of:
28 # PROJECT with your project name (eg. controller)
29 # MAVEN_GOALS with your maven goals to build
30 # MAVEN_OPTS with your maven options to build
33 name: 'snbi-verify-{stream}'
35 # Job template for ODL verify jobs
37 # The purpose of this job template is to setup a ODL verify job
40 # stream: branch with - in place of / (eg. stable-helium)
41 # 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:
79 user: '{ssh-credentials}'
82 - gerrit-trigger-patch-submitted:
87 - wipe-org-opendaylight-repo
89 maven-version: '{mvn32}'
91 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r '
93 - '-Xmx1024m -XX:MaxPermSize=256m'
94 settings: '{snbi-settings}'
95 global-settings: '{odl-global-settings}'
96 - jacoco-nojava-workaround
100 email-prefix: '[snbi]'
104 name: 'snbi-merge-{stream}'
106 # Job template for ODL merge jobs
108 # The purpose of this job template is to setup a ODL merge job
109 # and deploy artifacts to Nexus.
111 # Required Variables:
112 # stream: branch with - in place of / (eg. stable-helium)
113 # branch: branch (eg. stable/helium)
120 daysToKeep: '{build-days-to-keep}'
121 numToKeep: '{build-num-to-keep}'
122 artifactDaysToKeep: '{build-artifact-days-to-keep}'
123 artifactNumToKeep: '{build-artifact-num-to-keep}'
130 - gerrit-trigger-scm:
131 credentials-id: '{ssh-credentials}'
133 choosing-strategy: 'default'
137 - ssh-agent-credentials:
138 user: '{ssh-credentials}'
141 - gerrit-trigger-patch-merged:
146 - wipe-org-opendaylight-repo
149 maven-name: '{mvn32}'
151 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
152 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
153 settings: '{snbi-settings}'
154 global-settings: '{odl-global-settings}'
157 - jacoco-nojava-workaround
161 - email-notification:
162 email-prefix: '[snbi]'
166 deploy-unstable: false
170 name: 'snbi-daily-{stream}'
172 # Job template for daily builders
174 # The purpose of this job template is to setup a daily/nightly
175 # builder and pushes to Sonar analysis.
177 # Required Variables:
178 # stream: branch with - in place of / (eg. stable-helium)
179 # branch: branch (eg. stable/helium)
186 daysToKeep: '{build-days-to-keep}'
187 numToKeep: '{build-num-to-keep}'
188 artifactDaysToKeep: '{build-artifact-days-to-keep}'
189 artifactNumToKeep: '{build-artifact-num-to-keep}'
197 credentials-id: '{ssh-credentials}'
203 - ssh-agent-credentials:
204 user: '{ssh-credentials}'
210 - wipe-org-opendaylight-repo
213 maven-name: '{mvn32}'
215 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
216 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
217 settings: '{snbi-settings}'
218 global-settings: '{odl-global-settings}'
221 - jacoco-nojava-workaround
224 - email-notification:
225 email-prefix: '[snbi]'
229 name: 'snbi-integration-{stream}'
232 # Job template for ODL merge jobs
234 # The purpose of this job template is to setup a ODL merge job
235 # and deploy artifacts to Nexus.
237 # Required Variables:
238 # stream: branch with - in place of / (eg. stable-helium)
239 # branch: branch (eg. stable/helium)
246 daysToKeep: '{build-days-to-keep}'
247 numToKeep: '{build-num-to-keep}'
248 artifactDaysToKeep: '{build-artifact-days-to-keep}'
249 artifactNumToKeep: '{build-artifact-num-to-keep}'
257 credentials-id: '{ssh-credentials}'
263 - ssh-agent-credentials:
264 user: '{ssh-credentials}'
268 jobs: 'odlparent-merge-{stream}'
272 - wipe-org-opendaylight-repo
275 maven-name: '{mvn32}'
277 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
278 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
279 settings: '{snbi-settings}'
280 global-settings: '{odl-global-settings}'
283 - jacoco-nojava-workaround
286 - email-notification:
287 email-prefix: '[snbi] [odlparent]'
300 artifactDaysToKeep: '1'
301 artifactNumToKeep: '1'
309 credentials-id: '{ssh-credentials}'
315 - ssh-agent-credentials:
316 user: '{ssh-credentials}'
322 maven-name: '{mvn32}'
324 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
325 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
326 settings: '{snbi-settings}'
327 global-settings: '{odl-global-settings}'
330 - jacoco-nojava-workaround
335 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
336 - email-notification:
337 email-prefix: '[snbi]'