+- job-template:
+ name: 'packaging-verify-rpm-master'
+
+ node: centos7-builder-2c-8g
+
+ project-type: freestyle
+
+ parameters:
+ - opendaylight-infra-parameters:
+ os-cloud: '{os-cloud}'
+ project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
+
+ scm:
+ - integration-gerrit-scm:
+ basedir: 'packaging'
+ refspec: '$GERRIT_REFSPEC'
+ branch: 'master'
+
+ wrappers:
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ builders:
+ # TODO: Install/test each RPM? Will require builder script changes.
+ # 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: build-rpm.sh
+
+ # Test Oxygen pre-release autorelease tarball
+ - 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: build-rpm.sh
+
+ # Test Oxygen multipatch zip (no parallel tarball available)
+ - 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-20171128.175421-68.zip'
+ - shell: !include-raw: build-rpm.sh
+
+ # Test latest Oxygen snapshot
+ - inject:
+ properties-content: 'STREAM=oxygen'
+ - shell: !include-raw: build-rpm-snap.sh
+
+ triggers:
+ - gerrit:
+ server-name: '{gerrit-server-name}'
+ projects:
+ - project-compare-type: ANT
+ project-pattern: '{project}'
+ branches:
+ - branch-compare-type: ANT
+ branch-pattern: '**/{branch}'
+ file-paths:
+ - compare-type: ANT
+ pattern: 'packages/**'
+
+ publishers:
+ - lf-infra-publish
+
+
+- job-template:
+ name: 'packaging-verify-full-rpm-master'
+
+ node: centos7-builder-2c-8g
+
+ project-type: freestyle
+
+ parameters:
+ - opendaylight-infra-parameters:
+ os-cloud: '{os-cloud}'
+ project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
+
+ scm:
+ - integration-gerrit-scm:
+ basedir: 'packaging'
+ refspec: '$GERRIT_REFSPEC'
+ branch: 'master'
+
+ wrappers:
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ builders:
+ # TODO: Install/test each RPM. Will require builder script changes.
+ # 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: build-rpm.sh
+
+ # 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: build-rpm.sh
+
+ # Test latest Carbon snapshot
+ - inject:
+ properties-content: 'STREAM=carbon'
+ - shell: !include-raw: build-rpm-snap.sh
+
+ # 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: build-rpm.sh
+
+ # 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: build-rpm.sh
+
+ # 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: build-rpm.sh
+
+ # Test latest Nitrogen snapshot
+ - inject:
+ properties-content: 'STREAM=nitrogen'
+ - shell: !include-raw: build-rpm-snap.sh
+
+ # 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: build-rpm.sh
+
+ # Test Oxygen 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.8.0-SNAPSHOT/karaf-0.8.0-20180111.030942-90.zip'
+ - shell: !include-raw: build-rpm.sh
+
+ # Test latest Oxygen snapshot
+ - inject:
+ properties-content: 'STREAM=oxygen'
+ - shell: !include-raw: build-rpm-snap.sh
+
+ 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}'
+
+ publishers:
+ - lf-infra-publish
+
+