Add a docker volume to store rally results
[releng.git] / jjb / functest / res-build.sh
index a9c5dbe..9d42577 100644 (file)
@@ -7,9 +7,9 @@ export PATH=$PATH:/usr/local/bin/
 git_sha1="$(git rev-parse HEAD)"
 res_build_date=$(date -u +"%Y-%m-%d_%H-%M-%S")
 
-# Result directory in the docker file
+# Result directory in the jumphost
 # to be used only with CI
-dir_result="/home/opnfv/functest/results"
+dir_result="${HOME}/opnfv/functest/reports"
 
 # Clean the results directory
 # remove json file for rally, export only html
@@ -20,7 +20,7 @@ rm -f $dir_result/rally/*.json
 # date is generated by functest so on the artifact, the results shall be under functest/<testbed id>/date/
 testbed=$NODE_NAME
 
-project_artifact=functest/$testbed/$res_build_date
+project_artifact=logs/functest/$testbed/$res_build_date
 
 # copy folder to artifact
 if [ -d "$dir_result" ]; then