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 - 'openflowplugin-verify-{stream}'
10 - 'openflowplugin-merge-{stream}'
11 - 'openflowplugin-daily-{stream}'
12 - 'openflowplugin-integration-{stream}'
13 - 'openflowplugin-sonar'
16 # stream: branch with - in place of / (eg. stable-helium)
17 # branch: branch (eg. stable/helium)
22 branch: 'stable/helium'
24 project: 'openflowplugin'
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: 'openflowplugin-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)
61 daysToKeep: '{build-days-to-keep}'
62 numToKeep: '{build-num-to-keep}'
63 artifactDaysToKeep: '{build-artifact-days-to-keep}'
64 artifactNumToKeep: '{build-artifact-num-to-keep}'
74 credentials-id: '{ssh-credentials}'
75 refspec: '$GERRIT_REFSPEC'
76 choosing-strategy: 'gerrit'
80 - ssh-agent-credentials:
81 user: '{ssh-credentials}'
84 - gerrit-trigger-patch-submitted:
85 name: 'openflowplugin'
89 - wipe-org-opendaylight-repo
91 maven-version: '{mvn32}'
93 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate'
95 - '-Xmx1024m -XX:MaxPermSize=256m'
96 settings: '{openflowplugin-settings}'
97 global-settings: '{odl-global-settings}'
98 - jacoco-nojava-workaround
101 - email-notification:
102 email-prefix: '[openflowplugin]'
106 name: 'openflowplugin-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:
140 user: '{ssh-credentials}'
143 - gerrit-trigger-patch-merged:
144 name: 'openflowplugin'
148 - wipe-org-opendaylight-repo
151 maven-name: '{mvn32}'
153 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
154 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
155 settings: '{openflowplugin-settings}'
156 global-settings: '{odl-global-settings}'
159 - jacoco-nojava-workaround
166 artifacts: 'model/*/target/site/**'
167 - email-notification:
168 email-prefix: '[openflowplugin]'
172 deploy-unstable: false
176 name: 'openflowplugin-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: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
222 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
223 settings: '{openflowplugin-settings}'
224 global-settings: '{odl-global-settings}'
227 - jacoco-nojava-workaround
233 - email-notification:
234 email-prefix: '[openflowplugin]'
238 name: 'openflowplugin-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},yangtools-merge-{stream},controller-merge-{stream},openflowjava-merge-{stream}'
281 - wipe-org-opendaylight-repo
284 maven-name: '{mvn32}'
286 goals: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate source:jar javadoc:jar'
287 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
288 settings: '{openflowplugin-settings}'
289 global-settings: '{odl-global-settings}'
292 - jacoco-nojava-workaround
298 - email-notification:
299 email-prefix: '[openflowplugin] [odlparent] [yangtools] [controller] [openflowjava]'
303 name: 'openflowplugin-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: '-Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r clean install javadoc:aggregate -Dsonar'
337 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m'
338 settings: '{openflowplugin-settings}'
339 global-settings: '{odl-global-settings}'
342 - jacoco-nojava-workaround
350 maven-opts: '-Xmx6144m -XX:MaxPermSize=1024m'
351 - email-notification:
352 email-prefix: '[openflowplugin]'