From a669101deb6226fa6b2f288ff72bc43e1fa726a2 Mon Sep 17 00:00:00 2001 From: zhihui wu Date: Thu, 13 Jul 2017 09:49:26 +0800 Subject: add a handling process when testapi_url is None Change-Id: Ic1a27a0b9328f0343d6df51d863bf1ad1eb15992 Signed-off-by: zhihui wu --- tests/ci/run_ci.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/ci/run_ci.sh b/tests/ci/run_ci.sh index 5c62644b..02dfca09 100644 --- a/tests/ci/run_ci.sh +++ b/tests/ci/run_ci.sh @@ -76,7 +76,11 @@ cd /home/opnfv/workspace/ qtip setup eval `ssh-agent` -qtip run --extra-vars "testapi_url=$testapi_url" +if [[ -z $testapi_url ]];then + qtip run +else + qtip run --extra-vars "testapi_url=$testapi_url" +fi qtip teardown # Remove ssh public key from installer -- cgit 1.2.3-korg