+ # Test Carbon SR2 tarball
+ - inject:
+ # yamllint disable-line rule:line-length
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.6.2-Carbon/distribution-karaf-0.6.2-Carbon.tar.gz'
+ - shell: !include-raw-escape: build-rpm.sh
+ - install-test-uninstall-rpm
+
+ # Test Carbon multipatch zip (no parallel tarball available)
+ # NB: This will need to be updated as old builds expire
+ - inject:
+ # yamllint disable-line rule:line-length
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/distribution-karaf/0.6.3-SNAPSHOT/distribution-karaf-0.6.3-20180115.181738-1.zip'
+ - shell: !include-raw-escape: build-rpm.sh
+ - install-test-uninstall-rpm
+
+ # Test latest Carbon snapshot
+ - inject:
+ properties-content: 'STREAM=carbon'
+ - shell: !include-raw: build-rpm-snap.sh
+ - install-test-uninstall-rpm
+
+ # Test Nitrogen tarball
+ - inject:
+ # yamllint disable-line rule:line-length
+ 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'
+ - shell: !include-raw-escape: build-rpm.sh
+ - install-test-uninstall-rpm
+
+ # Test Nitrogen SR1 tarball
+ - inject:
+ # yamllint disable-line rule:line-length
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/karaf/0.7.1/karaf-0.7.1.tar.gz'
+ - shell: !include-raw-escape: build-rpm.sh
+ - install-test-uninstall-rpm
+
+ # Test Nitrogen multipatch zip (no parallel tarball available)
+ # NB: This will need to be updated as old builds expire
+ - inject:
+ # yamllint disable-line rule:line-length
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/integration/integration/distribution/karaf/0.7.2-SNAPSHOT/karaf-0.7.2-20180115.183312-2.zip'
+ - shell: !include-raw-escape: build-rpm.sh
+ - install-test-uninstall-rpm
+
+ # Test latest Nitrogen snapshot
+ - inject:
+ properties-content: 'STREAM=nitrogen'
+ - shell: !include-raw: build-rpm-snap.sh
+ - install-test-uninstall-rpm
+
+ # Test Oxygen pre-release autorelease tarball
+ # NB: This will need to be updated as old builds expire
+ - inject:
+ # yamllint disable-line rule:line-length
+ properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/autorelease-2052/org/opendaylight/integration/karaf/0.8.0/karaf-0.8.0.tar.gz'
+ - shell: !include-raw-escape: build-rpm.sh
+ - install-test-uninstall-rpm
+
+ # Test Oxygen multipatch zip (no parallel tarball available)
+ # FIXME: Something is wrong with current Oxygen multipatch builds
+ # NB: This will need to be updated as old builds expire
+ # - inject:
+ # yamllint disable-line rule:line-length
+ # 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-20180111.030942-90.zip'
+ # - shell: !include-raw: build-rpm.sh
+ # - install-test-uninstall-rpm
+
+ # Test latest Oxygen snapshot
+ - inject:
+ properties-content: 'STREAM=oxygen'
+ - shell: !include-raw: build-rpm-snap.sh
+ - install-test-uninstall-rpm
+
+ triggers:
+ - timed: '@daily'
+ - gerrit:
+ server-name: '{gerrit-server-name}'
+ trigger-on:
+ - comment-added-contains-event:
+ comment-contains-value: 'verify-rpm-full'
+ projects:
+ - project-compare-type: ANT
+ project-pattern: '{project}'
+ branches:
+ - branch-compare-type: ANT
+ branch-pattern: '**/{branch}'