diff --git a/modules/openstack_project/files/jenkins_job_builder/config/designate.yaml b/modules/openstack_project/files/jenkins_job_builder/config/designate.yaml index cc9123d1a9..5eccef14ff 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/designate.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/designate.yaml @@ -21,13 +21,17 @@ export PROJECTS="stackforge/python-designateclient $PROJECTS" function pre_test_hook { - # Install designate devstack integration - DESIGNATE_BASE=/opt/stack/new/designate - DEVSTACK_BASE=/opt/stack/new/devstack - cp -R $DESIGNATE_BASE/contrib/devstack/* $DEVSTACK_BASE/ + cd /opt/stack/new/designate/contrib/devstack + ./pre_test_hook.sh } export -f pre_test_hook + function post_test_hook { + cd /opt/stack/new/designate/contrib/devstack + ./post_test_hook.sh + } + export -f post_test_hook + cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh