summaryrefslogtreecommitdiff
path: root/tools/gate/integration/post_test_hook.sh
blob: ddb64e2697d95a657773f403cd2c91c45317ef99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

# This script will be executed inside post_test_hook function in devstack gate

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
exit $retval