summaryrefslogtreecommitdiffstats
path: root/jjb/compass4nfv/compass-deploy.sh
diff options
context:
space:
mode:
authormeimei <meimei@huawei.com>2016-11-22 09:32:20 +0800
committermeimei <meimei@huawei.com>2016-11-22 09:36:56 +0800
commit7f8a17e1a855ff94be820f7e147b80b1d83ba609 (patch)
tree614386c39db860f259aca5dd3e471c82096c1858 /jjb/compass4nfv/compass-deploy.sh
parent93fa3c572de6d7d249343b50ccd7bfb4ce8d43da (diff)
don't set newton as default value for the moment
Change-Id: I6137f9dbeed1b15c3e6fc7d63bb1892cf2b9471e Signed-off-by: meimei <meimei@huawei.com>
Diffstat (limited to 'jjb/compass4nfv/compass-deploy.sh')
-rw-r--r--jjb/compass4nfv/compass-deploy.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/jjb/compass4nfv/compass-deploy.sh b/jjb/compass4nfv/compass-deploy.sh
index aa3bd3619..256717953 100644
--- a/jjb/compass4nfv/compass-deploy.sh
+++ b/jjb/compass4nfv/compass-deploy.sh
@@ -29,10 +29,15 @@ cd $WORKSPACE
export OS_VERSION=${COMPASS_OS_VERSION}
export OPENSTACK_VERSION=${COMPASS_OPENSTACK_VERSION}
-if [[ "${COMPASS_OS_VERSION_OPTION}" = "xenial" ]] && [[ "${OPENSTACK_VERSION}" = "mitaka" || "${OPENSTACK_VERSION}" = "newton" ]]; then
+if [[ "${COMPASS_OS_VERSION_OPTION}" = "xenial" ]] && [[ "${OPENSTACK_VERSION}" = "mitaka" ]]; then
export OPENSTACK_VERSION=${OPENSTACK_VERSION}_${COMPASS_OS_VERSION_OPTION}
export OS_VERSION=${COMPASS_OS_VERSION_OPTION}
fi
+if [[ "${OPENSTACK_VERSION}" = "newton" ]]; then
+ export OS_VERSION="xenial"
+ export OPENSTACK_VERSION=${OPENSTACK_VERSION}_${OS_VERSION}
+fi
+
if [[ "${DEPLOY_SCENARIO}" =~ "-ocl" ]]; then
export NETWORK_CONF_FILE=network_ocl.yml