Fix the collection of integration tests artifacts
Don't rely on a particular workspace name, as it changes when job's name changes. Depends-On: I28d84235fb51a49492ed9c96794ba74f317f66b6 Change-Id: I63e45ee89711b429d0d878303aefeec4b159125a Closes-Bug: #1625253
This commit is contained in:
parent
3149a19af3
commit
2fec0a1ae8
@ -12,11 +12,13 @@ sudo apt-get -y purge firefox
|
||||
sudo dpkg -i 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
|
||||
retval=$?
|
||||
|
||||
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
|
||||
exit $retval
|
||||
|
Loading…
Reference in New Issue
Block a user