From: Alfredo Deza Date: Wed, 28 Sep 2016 19:05:06 +0000 (-0400) Subject: ceph-dev-build: create a failure script to post failed build status X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5724d2195c0e915c06c8e3c248c99615e7533693;p=ceph-build.git ceph-dev-build: create a failure script to post failed build status Signed-off-by: Alfredo Deza --- diff --git a/ceph-dev-build/build/failure b/ceph-dev-build/build/failure new file mode 100644 index 00000000..ed25471a --- /dev/null +++ b/ceph-dev-build/build/failure @@ -0,0 +1,8 @@ +#!/bin/bash -ex + +# note: the failed_build_status call relies on normalized variable names that +# are infered by the builds themselves. If the build fails before these are +# set, they will be posted with empty values + +# update shaman with the failed build status +failed_build_status "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH