From: Andrew Schoen Date: Fri, 30 Sep 2016 19:08:51 +0000 (-0500) Subject: ceph-dev-setup: on failure make sure BRANCH and SHA1 are set correctly X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=c7e8a254096e987ac526dec8c6178899e0843042;p=ceph-build.git 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 --- diff --git a/ceph-dev-setup/build/failure b/ceph-dev-setup/build/failure index 19f15842..573ff655 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"