summaryrefslogtreecommitdiff
path: root/tools/gate/integration/post_test_hook.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gate/integration/post_test_hook.sh')
-rwxr-xr-xtools/gate/integration/post_test_hook.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/gate/integration/post_test_hook.sh b/tools/gate/integration/post_test_hook.sh
index ddb64e269..f8dd33ab9 100755
--- a/tools/gate/integration/post_test_hook.sh
+++ b/tools/gate/integration/post_test_hook.sh
@@ -2,9 +2,12 @@
# This script will be executed inside post_test_hook function in devstack gate
+set -x
+
cd /opt/stack/new/horizon
sudo -H -u stack tox -e py27integration
retval=$?
+
if [ -d openstack_dashboard/test/integration_tests/integration_tests_screenshots/ ]; then
cp -r openstack_dashboard/test/integration_tests/integration_tests_screenshots/ /home/jenkins/workspace/gate-horizon-dsvm-integration/
fi