unwedge the gate

since changing the infra job to call the new bash script location,
the functional tests now have a permission error:
py.error.EACCES: [Permission denied]: mkdir('/opt/stack/new/python-openstackclient/.tox',)

Change-Id: Ibe7057c99feac952d80156fb996d0193e1b0e497
This commit is contained in:
Steve Martinelli 2016-09-09 22:23:20 -04:00
parent bee04914b8
commit 676a0e9696
1 changed files with 4 additions and 4 deletions

View File

@ -18,16 +18,16 @@ function generate_testr_results {
fi
}
OPENSTACKCLIENT_DIR=$(cd $(dirname "$0") && pwd)
export OPENSTACKCLIENT_DIR="$BASE/new/python-openstackclient"
sudo chown -R jenkins:stack $OPENSTACKCLIENT_DIR
# Go to the openstackclient dir
cd $OPENSTACKCLIENT_DIR
# Run tests
echo "Running openstackclient functional test suite"
set +e
# Go to the openstackclient dir
cd $OPENSTACKCLIENT_DIR
# Source environment variables to kick things off
source ~stack/devstack/openrc admin admin
echo 'Running tests with:'