From 9b309a51289a1f82201d743055d5589bcfa64541 Mon Sep 17 00:00:00 2001 From: meimei Date: Mon, 18 Jul 2016 16:11:19 +0800 Subject: [compass] COMPASS vm Support ubuntu 16.04 JIRA: COMPASS-431 Change-Id: I42b632170f4423627b57bdc21f5d5718a46067b0 Signed-off-by: meimei --- jjb/compass4nfv/compass-ci-jobs.yml | 5 +++++ jjb/compass4nfv/compass-deploy.sh | 3 +++ 2 files changed, 8 insertions(+) (limited to 'jjb/compass4nfv') diff --git a/jjb/compass4nfv/compass-ci-jobs.yml b/jjb/compass4nfv/compass-ci-jobs.yml index cfa8051c0..6bfc73778 100644 --- a/jjb/compass4nfv/compass-ci-jobs.yml +++ b/jjb/compass4nfv/compass-ci-jobs.yml @@ -220,6 +220,11 @@ choices: - 'mitaka' - 'liberty' + - choice: + name: COMPASS_OS_VERSION_OPTION + choices: + - '' + - 'xenial' ######################## # trigger macros diff --git a/jjb/compass4nfv/compass-deploy.sh b/jjb/compass4nfv/compass-deploy.sh index 68a93a15b..025984990 100644 --- a/jjb/compass4nfv/compass-deploy.sh +++ b/jjb/compass4nfv/compass-deploy.sh @@ -46,6 +46,9 @@ cd $WORKSPACE export OS_VERSION=${COMPASS_OS_VERSION} export OPENSTACK_VERSION=${COMPASS_OPENSTACK_VERSION} +if [[ "${COMPASS_OS_VERSION_OPTION}" = "xenial" ]] && [[ "${OPENSTACK_VERSION}" = "mitaka" ]]; then + export OPENSTACK_VERSION=${OPENSTACK_VERSION}_${OS_VERSION} +fi ./deploy.sh --dha ${DHA_CONF} --network ${NETWORK_CONF} if [ $? -ne 0 ]; then echo "depolyment failed!" -- cgit 1.2.3-korg