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}'
18 branch: 'stable/lithium'
21 branch: 'stable/helium'
27 name: 'integration-distribution-verify-{stream}'
35 daysToKeep: '{build-days-to-keep}'
36 numToKeep: '{build-num-to-keep}'
37 artifactDaysToKeep: '{build-artifact-days-to-keep}'
38 artifactNumToKeep: '{build-artifact-num-to-keep}'
42 project: 'integration/distribution'
45 - integration-patch-refspec:
46 branch: '$GERRIT_REFSPEC'
50 credentials-id: '{ssh-credentials}'
51 refspec: '$PATCHREFSPEC'
52 choosing-strategy: 'gerrit'
56 - ssh-agent-credentials:
61 - gerrit-trigger-patch-submitted:
62 name: 'integration/distribution'
66 - integration-get-bundle-url-root
68 properties-file: 'bundle.txt'
69 - wipe-org-opendaylight-repo
74 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
75 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
76 settings: '{integration-settings}'
77 global-settings: '{odl-global-settings}'
78 ignore-upstream-changes: true
79 post-step-run-condition: 'SUCCESS'
83 - project: 'integration-distribution-deploy-{stream}'
85 predefined-parameters:
90 email-prefix: '[integration]'
93 name: 'integration-distribution-merge-{stream}'
100 daysToKeep: '{build-days-to-keep}'
101 numToKeep: '{build-num-to-keep}'
102 artifactDaysToKeep: '{build-artifact-days-to-keep}'
103 artifactNumToKeep: '{build-artifact-num-to-keep}'
107 project: 'integration/distribution'
110 - gerrit-trigger-scm:
111 credentials-id: '{ssh-credentials}'
113 choosing-strategy: 'default'
117 - ssh-agent-credentials:
119 - '{ssh-credentials}'
122 - gerrit-trigger-patch-merged:
123 name: 'integration/distribution'
127 - wipe-org-opendaylight-repo
130 maven-name: '{mvn33}'
132 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r source:jar javadoc:jar'
133 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
134 settings: '{integration-settings}'
135 global-settings: '{odl-global-settings}'
138 - email-notification:
139 email-prefix: '[integration]'
143 deploy-unstable: false
145 # Template: integration-distribution-deploy-{stream}
146 # Goal: Verify distribution starts with no issues when all features are loaded
147 # Operation: This job deploys the controller installing odl-integration-all
150 name: 'integration-distribution-deploy-{stream}'
152 project-type: freestyle
153 node: dynamic_controller
156 daysToKeep: '{build-days-to-keep}'
157 numToKeep: '{build-num-to-keep}'
158 artifactDaysToKeep: '{build-artifact-days-to-keep}'
159 artifactNumToKeep: '{build-artifact-num-to-keep}'
163 project: 'integration/distribution'
164 - integration-branch:
166 - integration-bundleurl:
171 - ssh-agent-credentials:
173 - '{ssh-credentials}'
179 - integration-get-bundle-vars
181 properties-file: 'bundle_vars.txt'
182 - integration-deploy-controller-verify
186 artifacts: 'karaf.log'
187 - email-notification:
188 email-prefix: '[integration]'
190 # Template: integration-distribution-offline-{stream}
191 # Goal: Verify distribution can start with no internet connection
192 # Operation: This job deploys the controller removing any external repository definition
195 name: 'integration-distribution-offline-{stream}'
197 project-type: freestyle
198 node: dynamic_controller
201 daysToKeep: '{build-days-to-keep}'
202 numToKeep: '{build-num-to-keep}'
203 artifactDaysToKeep: '{build-artifact-days-to-keep}'
204 artifactNumToKeep: '{build-artifact-num-to-keep}'
208 project: 'integration/distribution'
209 - integration-branch:
211 - integration-bundleurl:
216 - ssh-agent-credentials:
218 - '{ssh-credentials}'
224 - integration-get-bundle-vars
226 properties-file: 'bundle_vars.txt'
227 - integration-deploy-controller-offline
231 artifacts: 'karaf.log'
232 - email-notification:
233 email-prefix: '[integration]'
235 # Template: integration-patch-distribution-{stream}
236 # Goal: Build a patch and make sure the distribution can deploy with this change
237 # Operation: This job template builds a patch, creates a distribution containing the patch, and
238 # triggers the distribution deploy test
241 name: 'integration-patch-distribution-{stream}'
248 daysToKeep: '{build-days-to-keep}'
249 numToKeep: '{build-num-to-keep}'
250 artifactDaysToKeep: '{build-artifact-days-to-keep}'
251 artifactNumToKeep: '{build-artifact-num-to-keep}'
254 - gerrit-project-parameter:
255 project: '$GERRIT_PROJECT'
256 - gerrit-refspec-parameter:
257 refspec: '$GERRIT_REFSPEC'
259 project: '$GERRIT_PROJECT'
260 - integration-distribution-git-url
263 - integration-gerrit-scm:
264 credentials-id: '{ssh-credentials}'
265 basedir: '$GERRIT_PROJECT'
266 refspec: '$GERRIT_REFSPEC'
268 - integration-distribution-scm:
269 credentials-id: '{ssh-credentials}'
274 - ssh-agent-credentials:
276 - '{ssh-credentials}'
280 server-name: 'OpenDaylight'
282 - comment-added-contains-event:
283 comment-contains-value: 'test-distribution'
285 - project-compare-type: 'ANT'
286 project-pattern: '**'
288 - branch-compare-type: 'ANT'
289 branch-pattern: '**/{branch}'
297 - integration-get-bundle-url
299 properties-file: 'bundle.txt'
300 - wipe-org-opendaylight-repo
302 maven-version: '{mvn33}'
303 pom: '$GERRIT_PROJECT/pom.xml'
304 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'
306 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
307 settings: '{integration-settings}'
308 global-settings: '{odl-global-settings}'
311 maven-name: '{mvn33}'
312 root-pom: 'distribution/pom.xml'
313 goals: 'clean install -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
314 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
315 settings: '{integration-settings}'
316 global-settings: '{odl-global-settings}'
317 ignore-upstream-changes: true
318 post-step-run-condition: 'SUCCESS'
322 - project: 'integration-distribution-deploy-{stream}'
324 predefined-parameters:
328 - email-notification:
329 email-prefix: '[$GERRIT_PROJECT]'