From 8a334ca43a8a5c4fb901c162d6b953fbbad70543 Mon Sep 17 00:00:00 2001 From: sharath Date: Wed, 6 Jun 2018 21:45:16 +0530 Subject: [PATCH] adding the DMM download step Change-Id: I707afff64be5457233bfa87d47d13dc8df4e3a6a Signed-off-by: sharath --- jjb/csit/include-raw-csit-dmm-functional-virl.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/jjb/csit/include-raw-csit-dmm-functional-virl.sh b/jjb/csit/include-raw-csit-dmm-functional-virl.sh index f2bef39c7..43fb02572 100644 --- a/jjb/csit/include-raw-csit-dmm-functional-virl.sh +++ b/jjb/csit/include-raw-csit-dmm-functional-virl.sh @@ -14,6 +14,15 @@ set -xeu -o pipefail +# Clone dmm and start tests +git clone https://gerrit.fd.io/r/dmm + +# If the git clone fails, complain clearly and exit +if [ $? != 0 ]; then + echo "Failed to run: git clone https://gerrit.fd.io/r/dmm" + exit 1 +fi + # execute DMM bootstrap script if it exists if [ -e bootstrap-DMM.sh ] then -- 2.16.6