3 name: integration-distribution-jobs
5 - 'integration-distribution-verify-{stream}'
6 - 'integration-distribution-merge-{stream}'
7 - 'integration-distribution-deploy-{stream}'
8 - 'integration-distribution-offline-{stream}'
9 - 'integration-patch-distribution-{stream}'
16 branch: 'stable/lithium'
19 branch: 'stable/helium'
25 name: 'integration-distribution-verify-{stream}'
33 daysToKeep: '{build-days-to-keep}'
34 numToKeep: '{build-num-to-keep}'
35 artifactDaysToKeep: '{build-artifact-days-to-keep}'
36 artifactNumToKeep: '{build-artifact-num-to-keep}'
40 project: 'integration/distribution'
43 - integration-patch-refspec:
44 branch: '$GERRIT_REFSPEC'
48 credentials-id: '{ssh-credentials}'
49 refspec: '$PATCHREFSPEC'
50 choosing-strategy: 'gerrit'
54 - ssh-agent-credentials:
59 - gerrit-trigger-patch-submitted:
60 name: 'integration/distribution'
64 - integration-get-bundle-url-root
66 properties-file: 'bundle.txt'
67 - wipe-org-opendaylight-repo
72 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
73 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
74 settings: '{integration-settings}'
75 global-settings: '{odl-global-settings}'
76 ignore-upstream-changes: true
77 post-step-run-condition: 'SUCCESS'
81 - project: 'integration-distribution-deploy-{stream}'
83 predefined-parameters:
88 email-prefix: '[integration]'
91 name: 'integration-distribution-merge-{stream}'
98 daysToKeep: '{build-days-to-keep}'
99 numToKeep: '{build-num-to-keep}'
100 artifactDaysToKeep: '{build-artifact-days-to-keep}'
101 artifactNumToKeep: '{build-artifact-num-to-keep}'
105 project: 'integration/distribution'
108 - gerrit-trigger-scm:
109 credentials-id: '{ssh-credentials}'
111 choosing-strategy: 'default'
115 - ssh-agent-credentials:
117 - '{ssh-credentials}'
120 - gerrit-trigger-patch-merged:
121 name: 'integration/distribution'
125 - wipe-org-opendaylight-repo
128 maven-name: '{mvn33}'
130 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
131 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
132 settings: '{integration-settings}'
133 global-settings: '{odl-global-settings}'
136 - email-notification:
137 email-prefix: '[integration]'
141 deploy-unstable: false
143 # Template: integration-distribution-deploy-{stream}
144 # Goal: Verify distribution starts with no issues when all features are loaded
145 # Operation: This job deploys the controller installing odl-integration-all
148 name: 'integration-distribution-deploy-{stream}'
150 project-type: freestyle
151 node: dynamic_controller
154 daysToKeep: '{build-days-to-keep}'
155 numToKeep: '{build-num-to-keep}'
156 artifactDaysToKeep: '{build-artifact-days-to-keep}'
157 artifactNumToKeep: '{build-artifact-num-to-keep}'
161 project: 'integration/distribution'
162 - integration-branch:
164 - integration-bundleurl:
169 - ssh-agent-credentials:
171 - '{ssh-credentials}'
177 - integration-get-bundle-vars
179 properties-file: 'bundle_vars.txt'
180 - integration-deploy-controller-verify
184 artifacts: 'karaf.log'
185 - email-notification:
186 email-prefix: '[integration]'
188 # Template: integration-distribution-offline-{stream}
189 # Goal: Verify distribution can start with no internet connection
190 # Operation: This job deploys the controller removing any external repository definition
193 name: 'integration-distribution-offline-{stream}'
195 project-type: freestyle
196 node: dynamic_controller
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}'
206 project: 'integration/distribution'
207 - integration-branch:
209 - integration-bundleurl:
214 - ssh-agent-credentials:
216 - '{ssh-credentials}'
222 - integration-get-bundle-vars
224 properties-file: 'bundle_vars.txt'
225 - integration-deploy-controller-offline
229 artifacts: 'karaf.log'
230 - email-notification:
231 email-prefix: '[integration]'
233 # Template: integration-patch-distribution-{stream}
234 # Goal: Build a patch and make sure the distribution can deploy with this change
235 # Operation: This job template builds a patch, creates a distribution containing the patch, and
236 # triggers the distribution deploy test
239 name: 'integration-patch-distribution-{stream}'
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}'
252 - gerrit-project-parameter:
253 project: '$GERRIT_PROJECT'
254 - gerrit-refspec-parameter:
255 refspec: '$GERRIT_REFSPEC'
257 project: '$GERRIT_PROJECT'
258 - integration-distribution-git-url
261 - integration-gerrit-scm:
262 credentials-id: '{ssh-credentials}'
263 basedir: '$GERRIT_PROJECT'
264 refspec: '$GERRIT_REFSPEC'
266 - integration-distribution-scm:
267 credentials-id: '{ssh-credentials}'
272 - ssh-agent-credentials:
274 - '{ssh-credentials}'
278 server-name: 'OpenDaylight'
280 - comment-added-contains-event:
281 comment-contains-value: 'test-distribution'
283 - project-compare-type: 'ANT'
284 project-pattern: '**'
286 - branch-compare-type: 'ANT'
287 branch-pattern: '**/{branch}'
295 - integration-get-bundle-url
297 properties-file: 'bundle.txt'
298 - wipe-org-opendaylight-repo
300 maven-version: '{mvn33}'
301 pom: '$GERRIT_PROJECT/pom.xml'
302 goals: 'clean install -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dmaven.site.skip=true -DgenerateReports=false -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
304 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
305 settings: '{integration-settings}'
306 global-settings: '{odl-global-settings}'
309 maven-name: '{mvn33}'
310 root-pom: 'distribution/pom.xml'
311 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
312 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
313 settings: '{integration-settings}'
314 global-settings: '{odl-global-settings}'
315 ignore-upstream-changes: true
316 post-step-run-condition: 'SUCCESS'
320 - project: 'integration-distribution-deploy-{stream}'
322 predefined-parameters:
326 - email-notification:
327 email-prefix: '[$GERRIT_PROJECT]'