Use {name} instead of ZUUL_PROJECT in ansible role post_test_hook

Otherwise it shows 'openstack/$PROJECT', making tests to fail as
the path does not exist.
e.g.

https://review.openstack.org/#/c/342099/ , patchset 18.

{name} just contains the project name being tested, so just use it.

Change-Id: Ib41e31eba87c863723ede7b89ca81a4c871ad5e5
This commit is contained in:
Ricardo Carrillo Cruz 2016-07-18 13:49:40 +02:00
parent b5334b1186
commit a8fe0209c3

View File

@ -51,7 +51,7 @@
fi
function post_test_hook {{
$BASE/new/$ZUUL_PROJECT/tests/hooks/post_test_hook.sh
$BASE/new/{name}/tests/hooks/post_test_hook.sh
}}
export -f post_test_hook