diff options
author | Tim Rozet <trozet@redhat.com> | 2017-09-19 02:22:13 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-09-19 02:22:13 +0000 |
commit | 5f4693d46da0599ce67eadeb1eedd311ebc27699 (patch) | |
tree | 00f97b3b13789d1cf39c6c0b417b13de3ab739b7 /jjb | |
parent | 17d3243b3d00b1707a511e500a89bb6e4448a37c (diff) | |
parent | 56bfea611737ad07e516647a656a50aa2c3febba (diff) |
Merge "Apex: add back legacy support for danube rpm"
Diffstat (limited to 'jjb')
-rwxr-xr-x | jjb/apex/apex-download-artifact.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/jjb/apex/apex-download-artifact.sh b/jjb/apex/apex-download-artifact.sh index a11fb65b8..68baf59da 100755 --- a/jjb/apex/apex-download-artifact.sh +++ b/jjb/apex/apex-download-artifact.sh @@ -39,7 +39,13 @@ else VERSION_EXTENSION=$(echo $(basename $RPM_LIST) | grep -Eo '[0-9]+\.[0-9]+-([0-9]{8}|[a-z]+-[0-9]\.[0-9]+)') # build RPM List which already includes base Apex RPM RPM_LIST+=" opnfv-apex-undercloud-${VERSION_EXTENSION}.noarch.rpm" - RPM_LIST+=" python34-opnfv-apex-${VERSION_EXTENSION}.noarch.rpm" + + # add back legacy support for danube + if [ "$BRANCH" == 'stable/danube' ]; then + RPM_LIST+=" opnfv-apex-common-${VERSION_EXTENSION}.noarch.rpm" + else + RPM_LIST+=" python34-opnfv-apex-${VERSION_EXTENSION}.noarch.rpm" + fi # remove old / install new RPMs if rpm -q opnfv-apex > /dev/null; then |