]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-build: filter BRANCH in build/failure
authorAndrew Schoen <aschoen@redhat.com>
Fri, 30 Sep 2016 19:06:03 +0000 (14:06 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Fri, 30 Sep 2016 19:06:03 +0000 (14:06 -0500)
When the postscriptbuild fires it passes that script fresh parameters
from ceph-dev, so we need to filter the value of BRANCH again or we get
it info in shaman that look like 'origin/*'.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-dev-build/build/failure

index ed25471a25376d2ee364bcf8f79bde30efef80b9..6274d32e96b074ab24866f8d4633297c4415b515 100644 (file)
@@ -3,6 +3,7 @@
 # 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
+BRANCH=`branch_slash_filter $BRANCH`
 
 # update shaman with the failed build status
 failed_build_status "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH