From c7e8a254096e987ac526dec8c6178899e0843042 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Fri, 30 Sep 2016 14:08:51 -0500 Subject: [PATCH] ceph-dev-setup: on failure make sure BRANCH and SHA1 are set correctly When the job fails it gets fresh parameters from the ceph-dev job, so we have to set these variables again to avoid things refs like 'origin/*' in shaman. Signed-off-by: Andrew Schoen --- ceph-dev-setup/build/failure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ceph-dev-setup/build/failure b/ceph-dev-setup/build/failure index 19f15842d..573ff655c 100644 --- a/ceph-dev-setup/build/failure +++ b/ceph-dev-setup/build/failure @@ -3,4 +3,7 @@ # update shaman with the failed build status. At this point there aren't any # architectures or distro information, so we just report this with the current # (ceph-dev-setup) build information that includes log and build urls +BRANCH=`branch_slash_filter $BRANCH` +SHA1=${GIT_COMMIT} + failed_build_status "ceph" -- 2.47.3