Merge "Fix the collection of integration tests artifacts" into stable/newton
This commit is contained in:
commit
65dae20bcd
|
@ -12,11 +12,13 @@ sudo apt-get -y purge firefox
|
||||||
sudo dpkg -i firefox.deb
|
sudo dpkg -i firefox.deb
|
||||||
sudo rm firefox.deb
|
sudo rm firefox.deb
|
||||||
|
|
||||||
cd /opt/stack/new/horizon
|
HORIZON_DIR=/opt/stack/new/horizon
|
||||||
|
pushd $HORIZON_DIR
|
||||||
sudo -H -E -u stack tox -e py27integration
|
sudo -H -E -u stack tox -e py27integration
|
||||||
retval=$?
|
retval=$?
|
||||||
|
|
||||||
if [ -d openstack_dashboard/test/integration_tests/test_reports/ ]; then
|
if [ -d openstack_dashboard/test/integration_tests/test_reports/ ]; then
|
||||||
cp -r openstack_dashboard/test/integration_tests/test_reports/ /home/jenkins/workspace/gate-horizon-dsvm-integration-$1/
|
popd
|
||||||
|
cp -r $HORIZON_DIR/openstack_dashboard/test/integration_tests/test_reports/ ./
|
||||||
fi
|
fi
|
||||||
exit $retval
|
exit $retval
|
||||||
|
|
Loading…
Reference in New Issue