]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-build: create a failure script to post failed build status
authorAlfredo Deza <adeza@redhat.com>
Wed, 28 Sep 2016 19:05:06 +0000 (15:05 -0400)
committerAlfredo Deza <adeza@redhat.com>
Wed, 28 Sep 2016 19:09:18 +0000 (15:09 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-dev-build/build/failure [new file with mode: 0644]

diff --git a/ceph-dev-build/build/failure b/ceph-dev-build/build/failure
new file mode 100644 (file)
index 0000000..ed25471
--- /dev/null
@@ -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