Skip to content

Commit 676a0e9

Browse files
committed
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
1 parent bee0491 commit 676a0e9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

openstackclient/tests/functional/post_test_hook.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ function generate_testr_results {
1818
fi
1919
}
2020

21-
OPENSTACKCLIENT_DIR=$(cd $(dirname "$0") && pwd)
21+
export OPENSTACKCLIENT_DIR="$BASE/new/python-openstackclient"
2222
sudo chown -R jenkins:stack $OPENSTACKCLIENT_DIR
2323

24+
# Go to the openstackclient dir
25+
cd $OPENSTACKCLIENT_DIR
26+
2427
# Run tests
2528
echo "Running openstackclient functional test suite"
2629
set +e
2730

28-
# Go to the openstackclient dir
29-
cd $OPENSTACKCLIENT_DIR
30-
3131
# Source environment variables to kick things off
3232
source ~stack/devstack/openrc admin admin
3333
echo 'Running tests with:'

0 commit comments

Comments
 (0)