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 - 'sfc-verify-{stream}'
10 - 'sfc-merge-{stream}'
11 - 'sfc-daily-{stream}'
12 - 'sfc-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: 'sfc-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)
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:
80 user: '{ssh-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 -Dmaven.compile.fork=true'
95 settings: '{sfc-settings}'
96 global-settings: '{odl-global-settings}'
97 - jacoco-nojava-workaround
100 - email-notification:
101 email-prefix: '[sfc]'
105 name: 'sfc-merge-{stream}'
107 # Job template for ODL merge jobs
109 # The purpose of this job template is to setup a ODL merge job
110 # and deploy artifacts to Nexus.
112 # Required Variables:
113 # stream: branch with - in place of / (eg. stable-helium)
114 # branch: branch (eg. stable/helium)
121 daysToKeep: '{build-days-to-keep}'
122 numToKeep: '{build-num-to-keep}'
123 artifactDaysToKeep: '{build-artifact-days-to-keep}'
124 artifactNumToKeep: '{build-artifact-num-to-keep}'
131 - gerrit-trigger-scm:
132 credentials-id: '{ssh-credentials}'
134 choosing-strategy: 'default'
138 - ssh-agent-credentials:
139 user: '{ssh-credentials}'
142 - gerrit-trigger-patch-merged:
147 - wipe-org-opendaylight-repo
150 maven-name: '{mvn32}'
152 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
153 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
154 settings: '{sfc-settings}'
155 global-settings: '{odl-global-settings}'
158 - jacoco-nojava-workaround
162 - email-notification:
163 email-prefix: '[sfc]'
167 deploy-unstable: false
171 name: 'sfc-daily-{stream}'
173 # Job template for daily builders
175 # The purpose of this job template is to setup a daily/nightly
176 # builder and pushes to Sonar analysis.
178 # Required Variables:
179 # stream: branch with - in place of / (eg. stable-helium)
180 # branch: branch (eg. stable/helium)
187 daysToKeep: '{build-days-to-keep}'
188 numToKeep: '{build-num-to-keep}'
189 artifactDaysToKeep: '{build-artifact-days-to-keep}'
190 artifactNumToKeep: '{build-artifact-num-to-keep}'
198 credentials-id: '{ssh-credentials}'
204 - ssh-agent-credentials:
205 user: '{ssh-credentials}'
211 - wipe-org-opendaylight-repo
214 maven-name: '{mvn32}'
216 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
217 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
218 settings: '{sfc-settings}'
219 global-settings: '{odl-global-settings}'
222 - jacoco-nojava-workaround
225 - email-notification:
226 email-prefix: '[sfc]'
230 name: 'sfc-integration-{stream}'
233 # Job template for ODL merge jobs
235 # The purpose of this job template is to setup a ODL merge job
236 # and deploy artifacts to Nexus.
238 # Required Variables:
239 # stream: branch with - in place of / (eg. stable-helium)
240 # branch: branch (eg. stable/helium)
247 daysToKeep: '{build-days-to-keep}'
248 numToKeep: '{build-num-to-keep}'
249 artifactDaysToKeep: '{build-artifact-days-to-keep}'
250 artifactNumToKeep: '{build-artifact-num-to-keep}'
258 credentials-id: '{ssh-credentials}'
264 - ssh-agent-credentials:
265 user: '{ssh-credentials}'
269 jobs: 'odlparent-merge-{stream},yangtools-merge-{stream},controller-merge-{stream},openflowplugin-merge-{stream},ovsdb-merge-{stream},lispflowmapping-merge-{stream}'
273 - wipe-org-opendaylight-repo
276 maven-name: '{mvn32}'
278 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
279 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
280 settings: '{sfc-settings}'
281 global-settings: '{odl-global-settings}'
284 - jacoco-nojava-workaround
287 - email-notification:
288 email-prefix: '[sfc] [odlparent] [yangtools] [controller] [openflowplugin] [ovsdb] [lispflowmapping]'
301 artifactDaysToKeep: '1'
302 artifactNumToKeep: '1'
310 credentials-id: '{ssh-credentials}'
316 - ssh-agent-credentials:
317 user: '{ssh-credentials}'
323 maven-name: '{mvn32}'
325 goals: 'clean install -V -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r -Dsonar'
326 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
327 settings: '{sfc-settings}'
328 global-settings: '{odl-global-settings}'
331 - jacoco-nojava-workaround
336 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
337 - email-notification:
338 email-prefix: '[sfc]'