bugfix: TestAPI auto deploy success but shown as fail 41/39841/2
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Tue, 22 Aug 2017 03:25:15 +0000 (11:25 +0800)
committerSerenaFeng <feng.xiaowei@zte.com.cn>
Tue, 22 Aug 2017 03:28:38 +0000 (11:28 +0800)
when execute 'curl -s --head  --request GET http://testresults.opnfv.org/test'
'HTTP/1.1 301 Moved Permanently' will be returned rather than 200 OK,
result in the connectivity check fail. To fix this problem,
use 'http://testresults.opnfv.org/test/' instead.

Change-Id: I5d6916c15858b3f431a2ab18aeef7f352cb9e31b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
jjb/releng/automate.yml

index 9f2e1ff..c6ca37f 100644 (file)
             sudo bash ./jjb/releng/docker-deploy.sh "sudo docker run -dti --name testapi -p 8082:8000
             -e mongodb_url=mongodb://172.17.0.1:27017
             -e base_url=http://testresults.opnfv.org/test opnfv/testapi" \
-            "http://testresults.opnfv.org/test" "testapi"
+            "http://testresults.opnfv.org/test/" "testapi"
 
 - builder:
     name: 'reporting-automate-docker-deploy-macro'