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

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