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-verify-rpm-master'
13 - 'packaging-test-rpm-master'
14 - 'packaging-test-rpm-upgrade-master'
15 - 'packaging-test-deb-master'
17 project: 'integration/packaging'
26 # common parameters required for 'lf-infra-deploy-maven-file' builder
27 group-id: 'org.opendaylight.integration-packaging'
28 upload-files-dir: '$WORKSPACE/upload_files'
29 maven-repo-url: '$NEXUS_URL/content/repositories/$REPO_ID'
32 name: 'packaging-build-rpm-{stream}'
34 node: centos7-java-builder-2c-4g
36 project-type: freestyle
43 - opendaylight-infra-properties:
47 - opendaylight-infra-parameters:
48 os-cloud: '{os-cloud}'
51 refspec: 'refs/heads/{branch}'
52 artifacts: '{archive-artifacts}'
53 - lf-infra-maven-parameters:
54 mvn-opts: '{mvn-opts}'
55 mvn-params: '{mvn-params}'
56 mvn-version: '{mvn-version}'
57 staging-profile-id: ''
60 # yamllint disable-line rule:line-length
61 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'
62 description: 'URL to ODL tarball artifact to repackage into RPM'
66 description: 'Name of person who defined RPM'
69 default: 'jenkins-donotreply@opendaylight.org'
70 description: 'Email of person who defined RPM'
73 - integration-gerrit-scm:
75 refspec: '$GERRIT_REFSPEC'
79 - opendaylight-infra-wrappers:
80 build-timeout: '{build-timeout}'
83 - shell: !include-raw: build-rpm.sh
84 - lf-infra-deploy-maven-file:
85 global-settings-file: 'global-settings'
86 settings-file: 'packaging-settings'
87 mvn-version: '{mvn-version}'
88 repo-id: 'opendaylight-{stream}-epel-7-x86_64-devel'
89 group-id: '{group-id}'
90 upload-files-dir: '{upload-files-dir}'
91 maven-repo-url: '{maven-repo-url}'
98 name: 'packaging-build-rpm-snap-{stream}'
100 node: centos7-java-builder-2c-4g
102 project-type: freestyle
109 - opendaylight-infra-properties:
110 build-days-to-keep: 7
113 - opendaylight-infra-parameters:
114 os-cloud: '{os-cloud}'
117 refspec: 'refs/heads/{branch}'
118 artifacts: '{archive-artifacts}'
119 - lf-infra-maven-parameters:
120 mvn-opts: '{mvn-opts}'
121 mvn-params: '{mvn-params}'
122 mvn-version: '{mvn-version}'
123 staging-profile-id: ''
127 description: 'Name of person who defined RPM'
129 name: CHANGELOG_EMAIL
130 default: 'jenkins-donotreply@opendaylight.org'
131 description: 'Email of person who defined RPM'
134 - integration-gerrit-scm:
136 refspec: '$GERRIT_REFSPEC'
140 - opendaylight-infra-wrappers:
141 build-timeout: '{build-timeout}'
144 - shell: !include-raw: build-rpm-snap.sh
145 - lf-infra-deploy-maven-file:
146 global-settings-file: 'global-settings'
147 settings-file: 'packaging-settings'
148 mvn-version: '{mvn-version}'
149 repo-id: 'opendaylight-{stream}-epel-7-x86_64-devel'
150 group-id: '{group-id}'
151 upload-files-dir: '{upload-files-dir}'
152 maven-repo-url: '{maven-repo-url}'
162 name: 'packaging-verify-rpm-master'
164 node: centos7-java-builder-2c-4g
166 project-type: freestyle
169 - opendaylight-infra-parameters:
170 os-cloud: '{os-cloud}'
173 refspec: 'refs/heads/{branch}'
174 artifacts: '{archive-artifacts}'
177 - integration-gerrit-scm:
179 refspec: '$GERRIT_REFSPEC'
183 - opendaylight-infra-wrappers:
184 build-timeout: '{build-timeout}'
187 # TODO: Install/test each RPM? Will require builder script changes.
188 # Test Nitrogen tarball
190 # yamllint disable-line rule:line-length
191 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'
192 - shell: !include-raw: build-rpm.sh
194 # Test Nitrogen multipatch zip (no parallel tarball available)
196 # yamllint disable-line rule:line-length
197 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'
198 - shell: !include-raw: build-rpm.sh
200 # Test latest Nitrogen snapshot
202 properties-content: 'STREAM=nitrogen'
203 - shell: !include-raw: build-rpm-snap.sh
207 server-name: '{server-name}'
209 - project-compare-type: ANT
210 project-pattern: '{project}'
212 - branch-compare-type: ANT
213 branch-pattern: '**/{branch}'
216 pattern: 'packages/**'
223 name: 'packaging-verify-full-rpm-master'
225 node: centos7-java-builder-2c-4g
227 project-type: freestyle
230 - opendaylight-infra-parameters:
231 os-cloud: '{os-cloud}'
234 refspec: 'refs/heads/{branch}'
235 artifacts: '{archive-artifacts}'
238 - integration-gerrit-scm:
240 refspec: '$GERRIT_REFSPEC'
244 - opendaylight-infra-wrappers:
245 build-timeout: '{build-timeout}'
248 # TODO: Install/test each RPM. Will require builder script changes.
249 # Test Carbon SR1 tarball
251 # yamllint disable-line rule:line-length
252 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'
253 - shell: !include-raw: build-rpm.sh
255 # Test Carbon multipatch zip (no parallel tarball available)
257 # yamllint disable-line rule:line-length
258 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'
259 - shell: !include-raw: build-rpm.sh
261 # Test latest Carbon snapshot
263 properties-content: 'STREAM=carbon'
264 - shell: !include-raw: build-rpm-snap.sh
266 # Test Nitrogen tarball
268 # yamllint disable-line rule:line-length
269 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'
270 - shell: !include-raw: build-rpm.sh
272 # Test Nitrogen multipatch zip (no parallel tarball available)
274 # yamllint disable-line rule:line-length
275 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'
276 - shell: !include-raw: build-rpm.sh
278 # Test latest Nitrogen snapshot
280 properties-content: 'STREAM=nitrogen'
281 - shell: !include-raw: build-rpm-snap.sh
283 # Test Oxygen tarball
284 # TODO: Change this to an autorelease build once available
286 # yamllint disable-line rule:line-length
287 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'
288 - shell: !include-raw: build-rpm.sh
290 # Test Oxygen multipatch zip (no parallel tarball available)
292 # yamllint disable-line rule:line-length
293 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'
294 - shell: !include-raw: build-rpm.sh
296 # Test latest Oxygen snapshot
298 properties-content: 'STREAM=oxygen'
299 - shell: !include-raw: build-rpm-snap.sh
304 server-name: '{server-name}'
306 - comment-added-contains-event:
307 comment-contains-value: 'verify-rpm-full'
309 - project-compare-type: ANT
310 project-pattern: '{project}'
312 - branch-compare-type: ANT
313 branch-pattern: '**/{branch}'
320 name: 'packaging-test-rpm-master'
322 node: centos7-java-builder-2c-4g
325 - opendaylight-infra-parameters:
326 os-cloud: '{os-cloud}'
329 refspec: 'refs/heads/{branch}'
330 artifacts: '{archive-artifacts}'
333 # yamllint disable-line rule:line-length
334 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/packages/rpm/example_repo_configs/opendaylight-60-release.repo'
335 description: 'Link to .repo or .rpm file'
338 - integration-gerrit-scm:
340 refspec: '$GERRIT_REFSPEC'
344 - opendaylight-infra-wrappers:
345 build-timeout: '{build-timeout}'
348 - shell: !include-raw: install-rpm.sh
349 - shell: !include-raw: start-odl.sh
351 # Install expect to interact with Karaf shell
352 sudo yum install -y expect
353 # Install nmap to check status of ODL's SSH port
354 sudo yum install -y nmap
355 - shell: !include-raw: test-karaf.expect
356 - shell: !include-raw: stop-odl.sh
359 # TODO: Remove the archive publisher
360 # small data should be stored on logs.opendaylight.org
361 # large data should be stored on nexus.opendaylight.org
371 name: 'packaging-test-rpm-upgrade-master'
373 node: centos7-java-builder-2c-4g
376 - opendaylight-infra-parameters:
377 os-cloud: '{os-cloud}'
380 refspec: 'refs/heads/{branch}'
381 artifacts: '{archive-artifacts}'
384 # yamllint disable-line rule:line-length
385 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/packages/rpm/example_repo_configs/opendaylight-6-release.repo'
386 description: 'Link to .repo or .rpm file'
389 # yamllint disable-line rule:line-length
390 default: 'https://raw.githubusercontent.com/opendaylight/integration-packaging/master/packages/rpm/example_repo_configs/opendaylight-6-testing.repo'
391 description: 'Link to .repo or .rpm file'
394 - integration-gerrit-scm:
396 refspec: '$GERRIT_REFSPEC'
400 - opendaylight-infra-wrappers:
401 build-timeout: '{build-timeout}'
404 - shell: !include-raw: install-rpm.sh
405 - shell: !include-raw: start-odl.sh
407 # Install expect to interact with Karaf shell
408 sudo yum install -y expect
409 # Install nmap to check status of ODL's SSH port
410 sudo yum install -y nmap
411 - shell: !include-raw: test-karaf.expect
412 - shell: !include-raw: stop-odl.sh
413 - shell: !include-raw: test-rpm-upgrade.sh
414 - shell: !include-raw: start-odl.sh
415 - shell: !include-raw: test-karaf.expect
416 - shell: !include-raw: stop-odl.sh
423 name: 'packaging-test-deb-master'
425 node: ubuntu1604-mininet-ovs-25-2c-4g
428 - opendaylight-infra-parameters:
429 os-cloud: '{os-cloud}'
432 refspec: 'refs/heads/{branch}'
433 artifacts: '{archive-artifacts}'
436 default: 'ppa:odl-team/carbon'
437 description: 'Link to .deb package or name of PPA repo'
440 - integration-gerrit-scm:
442 refspec: '$GERRIT_REFSPEC'
446 - opendaylight-infra-wrappers:
447 build-timeout: '{build-timeout}'
450 - shell: !include-raw: install-deb.sh
451 - shell: !include-raw: start-odl.sh
453 # Install expect to interact with Karaf shell
454 sudo apt-get install -y expect
455 # Install nmap to check status of ODL's SSH port
456 sudo apt-get install -y nmap
457 - shell: !include-raw: test-karaf.expect
458 - shell: !include-raw: stop-odl.sh
465 name: 'packaging-build-deb-{stream}'
467 node: ubuntu1604-mininet-ovs-25-2c-4g
469 project-type: freestyle
476 - opendaylight-infra-properties:
477 build-days-to-keep: 7
480 - opendaylight-infra-parameters:
481 os-cloud: '{os-cloud}'
484 refspec: 'refs/heads/{branch}'
485 artifacts: '{archive-artifacts}'
486 - lf-infra-maven-parameters:
487 mvn-opts: '{mvn-opts}'
488 mvn-params: '{mvn-params}'
489 mvn-version: '{mvn-version}'
490 staging-profile-id: ''
493 # yamllint disable-line rule:line-length
494 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'
495 description: 'URL to ODL tarball artifact to repackage into .deb'
499 description: 'Name of person who defined .deb'
501 name: CHANGELOG_EMAIL
502 default: 'jenkins-donotreply@opendaylight.org'
503 description: 'Email of person who defined .deb'
506 - integration-gerrit-scm:
508 refspec: '$GERRIT_REFSPEC'
512 - opendaylight-infra-wrappers:
513 build-timeout: '{build-timeout}'
516 - shell: !include-raw: build-deb.sh
517 - lf-infra-deploy-maven-file:
518 global-settings-file: 'global-settings'
519 settings-file: 'packaging-settings'
520 mvn-version: '{mvn-version}'
521 repo-id: 'opendaylight-{stream}-ubuntu-1604-x86_64-devel'
522 group-id: '{group-id}'
523 upload-files-dir: '{upload-files-dir}'
524 maven-repo-url: '{maven-repo-url}'