-# set once, functe config file could be use to avoid such hardcoded path
-dir_result="$HOME/functest/results"
+# Result directory in the docker file
+# to be used only with CI
+dir_result="/home/opnfv/functest/results"
+
+# Clean the results directory
+# remove json file for rally, export only html
+# json should have been pushed into the DB
+rm -f $dir_result/rally/*.json