
The set -x enabled line-by-line tracing within a bash script. This makes it easier to follow gate logs. Change-Id: I7a164cf94f661929d96f2c3d41ec0d2ad1530e32
16 lines
422 B
Bash
Executable File
16 lines
422 B
Bash
Executable File
#!/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
|
|
|