group-based-policy/gbpservice/tests/contrib/post_test_rally_hook.sh
Sumit Naiksatam 40d7431594 Fix error in Rally job hook
Change-Id: Id2460256dcb8a291166034b96cadfecf2615c243
2015-07-31 10:51:38 -07:00

16 lines
170 B
Bash

#!/bin/bash
source functions-gbp
set -x
trap prepare_logs ERR
run_gbp_rally
exit_code=$?
# Prepare the log files for Jenkins to upload
prepare_logs
exit $exit_code