diff options
Diffstat (limited to 'jjb/functest/functest.yml')
-rw-r--r-- | jjb/functest/functest.yml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/jjb/functest/functest.yml b/jjb/functest/functest.yml index c45fdb2c0..39bbb72ec 100644 --- a/jjb/functest/functest.yml +++ b/jjb/functest/functest.yml @@ -148,7 +148,7 @@ - 'functest-cleanup' - 'set-functest-env' - 'functest-all' -# - 'functest-store-results' + - 'functest-store-results' - builder: name: functest-suite-builder @@ -194,8 +194,14 @@ 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 - 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 |