summaryrefslogtreecommitdiffstats
path: root/jjb/functest/functest.yml
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2015-12-14 15:51:43 +0100
committerjose.lausuch <jose.lausuch@ericsson.com>2015-12-14 18:09:44 +0100
commit0e2b737225fb181aa36c09789f6b1f5ce1555319 (patch)
treeed427846763ff3b040250929a9728255bae2ec9e /jjb/functest/functest.yml
parent785ce4c9930e67b5ddcd19bb7ce3a30188f510fa (diff)
Add a docker volume to store rally results
They will be pushed to artifacts from the jumphost Change-Id: I9560846ee1efb7b653c37238e90e98ac7bf6e76c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'jjb/functest/functest.yml')
-rw-r--r--jjb/functest/functest.yml10
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