1f0c90f3a8
This patch updates the imported code to reflect octavia-dashboard. More work is required to make this work with the Octavia v2 API. This will be done in followup patches. Change-Id: I7363105a53642d0003036cada21c5b0cc25efc1a
20 lines
429 B
Bash
Executable File
20 lines
429 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# This script will be executed inside post_test_hook function in devstack gate
|
|
|
|
set -x
|
|
|
|
DIR=${BASH_SOURCE%/*}
|
|
source $DIR/commons $@
|
|
|
|
set +e
|
|
cd /opt/stack/new/octavia-dashboard
|
|
sudo -H -u stack tox -e py27integration
|
|
retval=$?
|
|
set -e
|
|
|
|
if [ -d ${OCTAVIA_DASHBOARD_SCREENSHOTS_DIR}/ ]; then
|
|
cp -r ${OCTAVIA_DASHBOARD_SCREENSHOTS_DIR}/ /home/jenkins/workspace/gate-octavia-dashboard-dsvm-integration/
|
|
fi
|
|
exit $retval
|