aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhihui wu <wu.zhihui1@zte.com.cn>2017-07-13 09:49:26 +0800
committerzhihui wu <wu.zhihui1@zte.com.cn>2017-07-13 09:49:26 +0800
commita669101deb6226fa6b2f288ff72bc43e1fa726a2 (patch)
tree5798392c6bb9e69052e9d366991b93b8ec053865
parentd218f94274ac94c36d2c843f73b83290f761a8f6 (diff)
add a handling process when testapi_url is None
Change-Id: Ic1a27a0b9328f0343d6df51d863bf1ad1eb15992 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
-rw-r--r--tests/ci/run_ci.sh6
1 files changed, 5 insertions, 1 deletions
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