summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
785ce4c)
They will be pushed to artifacts from the jumphost
Change-Id: I9560846ee1efb7b653c37238e90e98ac7bf6e76c
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
- 'functest-cleanup'
- 'set-functest-env'
- 'functest-all'
- 'functest-cleanup'
- 'set-functest-env'
- 'functest-all'
-# - 'functest-store-results'
+ - 'functest-store-results'
- builder:
name: functest-suite-builder
- builder:
name: functest-suite-builder
labconfig="-v ${LAB_CONFIG}:/home/opnfv/functest/conf/openstack.creds"
fi
labconfig="-v ${LAB_CONFIG}:/home/opnfv/functest/conf/openstack.creds"
fi
+ dir_result="${HOME}/opnfv/functest/reports"
+ mkdir -f ${dir_result}
+ rm -rf ${dir_result}/*
+
+ $res_volume="-v ${dir_result}:/home/opnfv/functest/results"
+
docker pull opnfv/functest:latest_stable
docker pull opnfv/functest:latest_stable
- cmd="docker run -id -e $envs ${labconfig} ${sshkey} opnfv/functest:latest_stable /bin/bash"
+ cmd="docker run -id -e $envs ${labconfig} ${sshkey} ${res_volume} opnfv/functest:latest_stable /bin/bash"
echo "Functest: Running docker run command: ${cmd}"
${cmd}
docker ps -a
echo "Functest: Running docker run command: ${cmd}"
${cmd}
docker ps -a
git_sha1="$(git rev-parse HEAD)"
res_build_date=$(date -u +"%Y-%m-%d_%H-%M-%S")
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
# 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
# Clean the results directory
# remove json file for rally, export only html
# date is generated by functest so on the artifact, the results shall be under functest/<testbed id>/date/
testbed=$NODE_NAME
# 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
# copy folder to artifact
if [ -d "$dir_result" ]; then