From c4b624415493eed4be32f62a9dd172430072f460 Mon Sep 17 00:00:00 2001 From: Anton Arefiev Date: Wed, 26 Aug 2015 10:58:25 +0300 Subject: [PATCH] Call post hook from ironicclient in functional tests The benefit from this approach is it will immediately pick up proposed changes on ironicclient side and runs job. It allows us to see the change breakes tests or not w/o redeploy. Depends-On: Id476430d01a57a83bd4ee42b2d03e681835dfec3 Change-Id: I49ac8356b97868724aea3183416b750b6676fb17 --- jenkins/jobs/ironic.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkins/jobs/ironic.yaml b/jenkins/jobs/ironic.yaml index 7247766320..364a6f2d3c 100644 --- a/jenkins/jobs/ironic.yaml +++ b/jenkins/jobs/ironic.yaml @@ -62,8 +62,8 @@ export DEVSTACK_LOCAL_CONFIG="enable_plugin ironic git://git.openstack.org/openstack/ironic" function post_test_hook {{ - source $BASE/new/devstack/openrc admin admin - (cd /opt/stack/new/python-ironicclient && sudo -H -u stack ./tools/run_functional.sh) + # Configure and run functional tests + $BASE/new/python-ironicclient/ironicclient/tests/functional/hooks/post_test_hook.sh }} export -f post_test_hook