16cc3cd5cb
Using scripts inside horizon repo in test hooks we could not bother infra folks each time when we need to do some change to test job. The second part of the proposed change is to run these scripts at gate, see https://review.openstack.org/#/c/263457/ Related-Bug: #1526791 Change-Id: Ic2d60df846e876530662046d75c3e56e7841ba30
13 lines
413 B
Bash
Executable File
13 lines
413 B
Bash
Executable File
#!/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
|
|
|