summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Liu <pliu@redhat.com>2017-09-18 16:01:04 +0800
committerTim Rozet <trozet@redhat.com>2017-09-18 15:46:04 -0400
commit56bfea611737ad07e516647a656a50aa2c3febba (patch)
tree61991c7f503eab9200d23663853a5be97a965b8e
parentcf7a4aa78910d8c401d018a769863097e63b7f4a (diff)
Apex: add back legacy support for danube rpm
Change-Id: I2f4a8c57bf056fcc266a0757b291309671ecc151 Signed-off-by: Peng Liu <pliu@redhat.com>
-rwxr-xr-xjjb/apex/apex-download-artifact.sh8
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