4 project-name: packaging
7 - '{project-name}-verify-tox-master'
8 - 'packaging-build-rpm-{stream}'
9 - 'packaging-build-rpm-snap-{stream}'
10 - 'packaging-build-deb-{stream}'
11 - 'packaging-verify-full-rpm-master'
12 - 'packaging-test-rpm-master'
13 - 'packaging-test-rpm-upgrade-master'
14 - 'packaging-test-deb-master'
16 project: 'integration/packaging'
24 # common parameters required for 'lf-infra-deploy-maven-file' builder
25 group-id: 'org.opendaylight.integration-packaging'
26 upload-files-dir: '$WORKSPACE/upload_files'
27 maven-repo-url: '$NEXUS_URL/content/repositories/$REPO_ID'
30 name: 'packaging-build-rpm-{stream}'
32 node: centos7-java-builder-2c-4g
34 project-type: freestyle
41 - opendaylight-infra-properties:
45 - opendaylight-infra-parameters:
46 os-cloud: '{os-cloud}'
49 refspec: 'refs/heads/{branch}'
50 artifacts: '{archive-artifacts}'
51 - lf-infra-maven-parameters:
52 mvn-opts: '{mvn-opts}'
53 mvn-params: '{mvn-params}'
54 mvn-version: '{mvn-version}'
55 staging-profile-id: ''
58 # yamllint disable-line rule:line-length
59 default: 'https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.6.0-Carbon/distribution-karaf-0.6.0-Carbon.tar.gz'
60 description: 'URL to ODL tarball artifact to repackage into RPM'
64 description: 'Name of person who defined RPM'
67 default: 'jenkins-donotreply@opendaylight.org'
68 description: 'Email of person who defined RPM'
71 - integration-gerrit-scm:
73 refspec: '$GERRIT_REFSPEC'
77 - opendaylight-infra-wrappers:
78 build-timeout: '{build-timeout}'
81 - shell: !include-raw: build-rpm.sh
82 - lf-infra-deploy-maven-file:
83 global-settings-file: 'global-settings'
84 settings-file: 'packaging-settings'
85 mvn-version: '{mvn-version}'
86 repo-id: 'opendaylight-{stream}-epel-7-x86_64-devel'
87 group-id: '{group-id}'
88 upload-files-dir: '{upload-files-dir}'
89 maven-repo-url: '{maven-repo-url}'
96 name: 'packaging-build-rpm-snap-{stream}'
98 node: centos7-java-builder-2c-4g
100 project-type: freestyle
107 - opendaylight-infra-properties:
108 build-days-to-keep: 7
111 - opendaylight-infra-parameters:
112 os-cloud: '{os-cloud}'
115 refspec: 'refs/heads/{branch}'
116 artifacts: '{archive-artifacts}'
117 - lf-infra-maven-parameters:
118 mvn-opts: '{mvn-opts}'
119 mvn-params: '{mvn-params}'
120 mvn-version: '{mvn-version}'
121 staging-profile-id: ''
125 description: 'Name of person who defined RPM'
127 name: CHANGELOG_EMAIL
128 default: 'jenkins-donotreply@opendaylight.org'
129 description: 'Email of person who defined RPM'
132 - integration-gerrit-scm:
134 refspec: '$GERRIT_REFSPEC'
138 - opendaylight-infra-wrappers:
139 build-timeout: '{build-timeout}'
142 - shell: !include-raw: build-rpm-snap.sh
143 - lf-infra-deploy-maven-file:
144 global-settings-file: 'global-settings'
145 settings-file: 'packaging-settings'
146 mvn-version: '{mvn-version}'
147 repo-id: 'opendaylight-{stream}-epel-7-x86_64-devel'
148 group-id: '{group-id}'
149 upload-files-dir: '{upload-files-dir}'
150 maven-repo-url: '{maven-repo-url}'
160 name: 'packaging-verify-full-rpm-master'
162 node: centos7-java-builder-2c-4g
164 project-type: freestyle
167 - opendaylight-infra-parameters:
168 os-cloud: '{os-cloud}'
171 refspec: 'refs/heads/{branch}'
172 artifacts: '{archive-artifacts}'
175 - integration-gerrit-scm:
177 refspec: '$GERRIT_REFSPEC'
181 - opendaylight-infra-wrappers:
182 build-timeout: '{build-timeout}'
185 # TODO: Install/test each RPM. Will require builder script changes.
186 # Test Carbon SR1 tarball
188 # yamllint disable-line rule:line-length
189 properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.6.1-Carbon/distribution-karaf-0.6.1-Carbon.tar.gz'
190 - shell: !include-raw: build-rpm.sh
192 # Test Carbon multipatch zip (no parallel tarball available)
194 # yamllint disable-line rule:line-length
195 properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/distribution-karaf/0.6.2-SNAPSHOT/distribution-karaf-0.6.2-20171002.113256-59.zip'
196 - shell: !include-raw: build-rpm.sh
198 # Test latest Carbon snapshot
200 properties-content: 'STREAM=carbon'
201 - shell: !include-raw: build-rpm-snap.sh
203 # Test Nitrogen tarball
205 # yamllint disable-line rule:line-length
206 properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/karaf/0.7.0/karaf-0.7.0.tar.gz'
207 - shell: !include-raw: build-rpm.sh
209 # Test Nitrogen multipatch zip (no parallel tarball available)
211 # yamllint disable-line rule:line-length
212 properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.7.1-SNAPSHOT/karaf-0.7.1-20171003.134117-9.zip'
213 - shell: !include-raw: build-rpm.sh
215 # Test latest Nitrogen snapshot
217 properties-content: 'STREAM=nitrogen'
218 - shell: !include-raw: build-rpm-snap.sh
220 # Test Oxygen tarball
221 # TODO: Change this to an autorelease build once available
223 # yamllint disable-line rule:line-length
224 properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/karaf/0.8.0-SNAPSHOT/karaf-0.8.0-20170928.142221-597.tar.gz'
225 - shell: !include-raw: build-rpm.sh
227 # Test Oxygen multipatch zip (no parallel tarball available)
229 # yamllint disable-line rule:line-length
230 properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.8.0-SNAPSHOT/karaf-0.8.0-20171003.122621-24.zip'
231 - shell: !include-raw: build-rpm.sh
233 # Test latest Oxygen snapshot
235 properties-content: 'STREAM=oxygen'
236 - shell: !include-raw: build-rpm-snap.sh
241 server-name: '{server-name}'
243 - comment-added-contains-event:
244 comment-contains-value: 'verify-rpm-full'
246 - project-compare-type: ANT
247 project-pattern: '{project}'
249 - branch-compare-type: ANT
250 branch-pattern: '**/{branch}'
257 name: 'packaging-test-rpm-master'
259 node: centos7-java-builder-2c-4g
262 - opendaylight-infra-parameters:
263 os-cloud: '{os-cloud}'
266 refspec: 'refs/heads/{branch}'
267 artifacts: '{archive-artifacts}'
270 # yamllint disable-line rule:line-length
271 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/packages/rpm/example_repo_configs/opendaylight-60-release.repo'
272 description: 'Link to .repo or .rpm file'
275 - integration-gerrit-scm:
277 refspec: '$GERRIT_REFSPEC'
281 - opendaylight-infra-wrappers:
282 build-timeout: '{build-timeout}'
285 - shell: !include-raw: install-rpm.sh
286 - shell: !include-raw: start-odl.sh
288 # Install expect to interact with Karaf shell
289 sudo yum install -y expect
290 # Install nmap to check status of ODL's SSH port
291 sudo yum install -y nmap
292 - shell: !include-raw: test-karaf.expect
293 - shell: !include-raw: stop-odl.sh
296 # TODO: Remove the archive publisher
297 # small data should be stored on logs.opendaylight.org
298 # large data should be stored on nexus.opendaylight.org
308 name: 'packaging-test-rpm-upgrade-master'
310 node: centos7-java-builder-2c-4g
313 - opendaylight-infra-parameters:
314 os-cloud: '{os-cloud}'
317 refspec: 'refs/heads/{branch}'
318 artifacts: '{archive-artifacts}'
321 # yamllint disable-line rule:line-length
322 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/packages/rpm/example_repo_configs/opendaylight-6-release.repo'
323 description: 'Link to .repo or .rpm file'
326 # yamllint disable-line rule:line-length
327 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/packages/rpm/example_repo_configs/opendaylight-6-testing.repo'
328 description: 'Link to .repo or .rpm file'
331 - integration-gerrit-scm:
333 refspec: '$GERRIT_REFSPEC'
337 - opendaylight-infra-wrappers:
338 build-timeout: '{build-timeout}'
341 - shell: !include-raw: install-rpm.sh
342 - shell: !include-raw: start-odl.sh
344 # Install expect to interact with Karaf shell
345 sudo yum install -y expect
346 # Install nmap to check status of ODL's SSH port
347 sudo yum install -y nmap
348 - shell: !include-raw: test-karaf.expect
349 - shell: !include-raw: stop-odl.sh
350 - shell: !include-raw: test-rpm-upgrade.sh
351 - shell: !include-raw: start-odl.sh
352 - shell: !include-raw: test-karaf.expect
353 - shell: !include-raw: stop-odl.sh
360 name: 'packaging-test-deb-master'
362 node: ubuntu1604-mininet-ovs-25-2c-4g
365 - opendaylight-infra-parameters:
366 os-cloud: '{os-cloud}'
369 refspec: 'refs/heads/{branch}'
370 artifacts: '{archive-artifacts}'
373 default: 'ppa:odl-team/carbon'
374 description: 'Link to .deb package or name of PPA repo'
377 - integration-gerrit-scm:
379 refspec: '$GERRIT_REFSPEC'
383 - opendaylight-infra-wrappers:
384 build-timeout: '{build-timeout}'
387 - shell: !include-raw: install-deb.sh
388 - shell: !include-raw: start-odl.sh
390 # Install expect to interact with Karaf shell
391 sudo apt-get install -y expect
392 # Install nmap to check status of ODL's SSH port
393 sudo apt-get install -y nmap
394 - shell: !include-raw: test-karaf.expect
395 - shell: !include-raw: stop-odl.sh
402 name: 'packaging-build-deb-{stream}'
404 node: ubuntu1604-mininet-ovs-25-2c-4g
406 project-type: freestyle
413 - opendaylight-infra-properties:
414 build-days-to-keep: 7
417 - opendaylight-infra-parameters:
418 os-cloud: '{os-cloud}'
421 refspec: 'refs/heads/{branch}'
422 artifacts: '{archive-artifacts}'
423 - lf-infra-maven-parameters:
424 mvn-opts: '{mvn-opts}'
425 mvn-params: '{mvn-params}'
426 mvn-version: '{mvn-version}'
427 staging-profile-id: ''
430 # FIXME: Update the default value to an active stream.
431 # yamllint disable-line rule:line-length
432 default: 'https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.5.3-Boron-SR3/distribution-karaf-0.5.3-Boron-SR3.tar.gz'
433 description: 'URL to ODL tarball artifact to repackage into .deb'
437 description: 'Name of person who defined .deb'
439 name: CHANGELOG_EMAIL
440 default: 'jenkins-donotreply@opendaylight.org'
441 description: 'Email of person who defined .deb'
444 - integration-gerrit-scm:
446 refspec: '$GERRIT_REFSPEC'
450 - opendaylight-infra-wrappers:
451 build-timeout: '{build-timeout}'
454 - shell: !include-raw: build-deb.sh
455 - lf-infra-deploy-maven-file:
456 global-settings-file: 'global-settings'
457 settings-file: 'packaging-settings'
458 mvn-version: '{mvn-version}'
459 repo-id: 'opendaylight-{stream}-ubuntu-1604-x86_64-devel'
460 group-id: '{group-id}'
461 upload-files-dir: '{upload-files-dir}'
462 maven-repo-url: '{maven-repo-url}'