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
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:
168 - integration-jdk-version:
169 jdkversion: 'openjdk7'
173 - ssh-agent-credentials:
175 - '{ssh-credentials}'
181 - integration-get-bundle-vars
183 properties-file: 'bundle_vars.txt'
184 - integration-deploy-controller-verify
188 artifacts: 'karaf.log'
190 artifacts: 'karaf_console.log'
191 - email-notification:
192 email-prefix: '[integration]'
194 # Template: integration-distribution-offline-{stream}
195 # Goal: Verify distribution can start with no internet connection
196 # Operation: This job deploys the controller removing any external repository definition
199 name: 'integration-distribution-offline-{stream}'
201 project-type: freestyle
205 daysToKeep: '{build-days-to-keep}'
206 numToKeep: '{build-num-to-keep}'
207 artifactDaysToKeep: '{build-artifact-days-to-keep}'
208 artifactNumToKeep: '{build-artifact-num-to-keep}'
212 project: 'integration/distribution'
213 - integration-branch:
215 - integration-bundleurl:
217 - integration-jdk-version:
218 jdkversion: 'openjdk7'
222 - ssh-agent-credentials:
224 - '{ssh-credentials}'
230 - integration-get-bundle-vars
232 properties-file: 'bundle_vars.txt'
233 - integration-deploy-controller-offline
237 artifacts: 'karaf.log'
238 - email-notification:
239 email-prefix: '[integration]'
241 # Template: integration-patch-distribution-{stream}
242 # Goal: Build a patch and make sure the distribution can deploy with this change
243 # Operation: This job template builds a patch, creates a distribution containing the patch, and
244 # triggers the distribution deploy test
247 name: 'integration-patch-distribution-{stream}'
254 daysToKeep: '{build-days-to-keep}'
255 numToKeep: '{build-num-to-keep}'
256 artifactDaysToKeep: '{build-artifact-days-to-keep}'
257 artifactNumToKeep: '{build-artifact-num-to-keep}'
260 - gerrit-project-parameter:
261 project: '$GERRIT_PROJECT'
262 - gerrit-refspec-parameter:
263 refspec: '$GERRIT_REFSPEC'
265 project: '$GERRIT_PROJECT'
266 - integration-distribution-git-url
269 - integration-gerrit-scm:
270 credentials-id: '{ssh-credentials}'
271 basedir: '$GERRIT_PROJECT'
272 refspec: '$GERRIT_REFSPEC'
274 - integration-distribution-scm:
275 credentials-id: '{ssh-credentials}'
280 - ssh-agent-credentials:
282 - '{ssh-credentials}'
286 server-name: 'OpenDaylight'
288 - comment-added-contains-event:
289 comment-contains-value: 'test-distribution'
291 - project-compare-type: 'ANT'
292 project-pattern: '**'
294 - branch-compare-type: 'ANT'
295 branch-pattern: '**/{branch}'
303 - integration-get-bundle-url
305 properties-file: 'bundle.txt'
306 - wipe-org-opendaylight-repo
308 maven-version: '{mvn33}'
309 pom: '$GERRIT_PROJECT/pom.xml'
310 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}'
312 - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
313 settings: '{integration-settings}'
314 global-settings: '{odl-global-settings}'
317 maven-name: '{mvn33}'
318 root-pom: 'distribution/pom.xml'
319 goals: 'clean install -Djenkins -Dmaven.repo.local=/tmp/r -Dorg.ops4j.pax.url.mvn.localRepository=/tmp/r'
320 maven-opts: '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
321 settings: '{integration-settings}'
322 global-settings: '{odl-global-settings}'
323 ignore-upstream-changes: true
324 post-step-run-condition: 'SUCCESS'
328 - project: 'integration-distribution-deploy-{stream}'
330 predefined-parameters:
334 - email-notification:
335 email-prefix: '[$GERRIT_PROJECT]'