From: zhihui wu Date: Thu, 13 Jul 2017 01:49:26 +0000 (+0800) Subject: add a handling process when testapi_url is None X-Git-Tag: opnfv-5.0.0~64^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=a669101deb6226fa6b2f288ff72bc43e1fa726a2;p=qtip.git add a handling process when testapi_url is None Change-Id: Ic1a27a0b9328f0343d6df51d863bf1ad1eb15992 Signed-off-by: zhihui wu --- 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