From 1a17c62e44018e5503ec2878739399e6c6de7721 Mon Sep 17 00:00:00 2001 From: Timofey Durakov Date: Fri, 13 Nov 2015 10:01:13 +0300 Subject: [PATCH] Fix for order of commands in live migration job Need to export hook first, then run devstack gate. TrivialFix Change-Id: I663960bacfae3ffcc3ba4dd6db7a825b89643df6 --- jenkins/jobs/devstack-gate.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkins/jobs/devstack-gate.yaml b/jenkins/jobs/devstack-gate.yaml index b483347e1d..e0ebf921aa 100644 --- a/jenkins/jobs/devstack-gate.yaml +++ b/jenkins/jobs/devstack-gate.yaml @@ -2033,12 +2033,12 @@ if [ "$BRANCH_OVERRIDE" != "default" ] ; then export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE fi - cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh - ./safe-devstack-vm-gate-wrap.sh function post_test_hook {{ /opt/stack/new/nova/nova/tests/live_migration/run_tests.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 publishers: - devstack-logs