Add pkg build job param for pkg version override
[releng/builder.git] / jjb / packaging / packaging.yaml
index fd0ce972ef79fcc50a49e9fce403a7901911da13..87ba4a9a769c0c747e535c62f434c2facba9ce40 100644 (file)
           name: DEPLOY_TO_REPO
           default: 'opendaylight-{stream}-epel-7-x86_64-devel'
           description: 'Repository to deploy resulting package to'
+      - string:
+          name: PKG_VERSION_OVERRIDE
+          default: ''
+          description: 'Override autodetected package component of RPM version (maj.min.pat-pkg)'
 
     scm:
       - integration-gerrit-scm:
       - shell: !include-raw: build-rpm-snap.sh
       - install-test-uninstall-rpm
 
+      # Test Fluorine ('Managed Release Common Distro') release tarball
+      - inject:
+          # yamllint disable-line rule:line-length
+          properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/public/org/opendaylight/integration/opendaylight/0.9.0/opendaylight-0.9.0.tar.gz'
+      - shell: !include-raw-escape: build-rpm.sh
+      - install-test-uninstall-rpm
+
       # Test Fluorine pre-release autorelease tarball
       # NB: This will need to be updated as old builds expire
       - inject:
       - shell: !include-raw: build-rpm-snap.sh
       - install-test-uninstall-rpm
 
+      # Test Fluorine ('Managed Release Common Distro') release tarball
+      - inject:
+          # yamllint disable-line rule:line-length
+          properties-content: 'DOWNLOAD_URL=https://nexus.opendaylight.org/content/repositories/public/org/opendaylight/integration/opendaylight/0.9.0/opendaylight-0.9.0.tar.gz'
+      - shell: !include-raw-escape: build-rpm.sh
+      - install-test-uninstall-rpm
+
       # Test Fluorine pre-release autorelease tarball
       # NB: This will need to be updated as old builds expire
       - inject:
           name: CHANGELOG_EMAIL
           default: 'jenkins-donotreply@opendaylight.org'
           description: 'Email of person who defined .deb'
+      - string:
+          name: PKG_VERSION_OVERRIDE
+          default: ''
+          description: 'Override autodetected package component of RPM version (maj.min.pat-pkg)'
 
     scm:
       - integration-gerrit-scm: