add a handling process when testapi_url is None 07/37307/1
authorzhihui wu <wu.zhihui1@zte.com.cn>
Thu, 13 Jul 2017 01:49:26 +0000 (09:49 +0800)
committerzhihui wu <wu.zhihui1@zte.com.cn>
Thu, 13 Jul 2017 01:49:26 +0000 (09:49 +0800)
Change-Id: Ic1a27a0b9328f0343d6df51d863bf1ad1eb15992
Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
tests/ci/run_ci.sh

index 5c62644..02dfca0 100644 (file)
@@ -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