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 -Djenkins -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 -Djenkins -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'
188 artifacts: 'karaf_console.log'
189 - email-notification:
190 email-prefix: '[integration]'
192 # Template: integration-distribution-offline-{stream}
193 # Goal: Verify distribution can start with no internet connection
194 # Operation: This job deploys the controller removing any external repository definition
197 name: 'integration-distribution-offline-{stream}'
199 project-type: freestyle
200 node: dynamic_controller
203 daysToKeep: '{build-days-to-keep}'
204 numToKeep: '{build-num-to-keep}'
205 artifactDaysToKeep: '{build-artifact-days-to-keep}'
206 artifactNumToKeep: '{build-artifact-num-to-keep}'
210 project: 'integration/distribution'
211 - integration-branch:
213 - integration-bundleurl:
218 - ssh-agent-credentials:
220 - '{ssh-credentials}'
226 - integration-get-bundle-vars
228 properties-file: 'bundle_vars.txt'
229 - integration-deploy-controller-offline
233 artifacts: 'karaf.log'
234 - email-notification:
235 email-prefix: '[integration]'
237 # Template: integration-patch-distribution-{stream}
238 # Goal: Build a patch and make sure the distribution can deploy with this change
239 # Operation: This job template builds a patch, creates a distribution containing the patch, and
240 # triggers the distribution deploy test
243 name: 'integration-patch-distribution-{stream}'
250 daysToKeep: '{build-days-to-keep}'
251 numToKeep: '{build-num-to-keep}'
252 artifactDaysToKeep: '{build-artifact-days-to-keep}'
253 artifactNumToKeep: '{build-artifact-num-to-keep}'
256 - gerrit-project-parameter:
257 project: '$GERRIT_PROJECT'
258 - gerrit-refspec-parameter:
259 refspec: '$GERRIT_REFSPEC'
261 project: '$GERRIT_PROJECT'
262 - integration-distribution-git-url
265 - integration-gerrit-scm:
266 credentials-id: '{ssh-credentials}'
267 basedir: '$GERRIT_PROJECT'
268 refspec: '$GERRIT_REFSPEC'
270 - integration-distribution-scm:
271 credentials-id: '{ssh-credentials}'
276 - ssh-agent-credentials:
278 - '{ssh-credentials}'
282 server-name: 'OpenDaylight'
284 - comment-added-contains-event:
285 comment-contains-value: 'test-distribution'
287 - project-compare-type: 'ANT'
288 project-pattern: '**'
290 - branch-compare-type: 'ANT'
291 branch-pattern: '**/{branch}'
299 - integration-get-bundle-url
301 properties-file: 'bundle.txt'
302 - wipe-org-opendaylight-repo
304 maven-version: '{mvn33}'
305 pom: '$GERRIT_PROJECT/pom.xml'
306 goals: 'clean install -Djenkins -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 -Dstream={stream}'
308 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
309 settings: '{integration-settings}'
310 global-settings: '{odl-global-settings}'
313 maven-name: '{mvn33}'
314 root-pom: 'distribution/pom.xml'
315 goals: 'clean install -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
316 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
317 settings: '{integration-settings}'
318 global-settings: '{odl-global-settings}'
319 ignore-upstream-changes: true
320 post-step-run-condition: 'SUCCESS'
324 - project: 'integration-distribution-deploy-{stream}'
326 predefined-parameters:
330 - email-notification:
331 email-prefix: '[$GERRIT_PROJECT]'