]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-setup: on failure make sure BRANCH and SHA1 are set correctly 499/head
authorAndrew Schoen <aschoen@redhat.com>
Fri, 30 Sep 2016 19:08:51 +0000 (14:08 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Fri, 30 Sep 2016 19:08:51 +0000 (14:08 -0500)
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 <aschoen@redhat.com>
ceph-dev-setup/build/failure

index 19f15842dc9c9d641508d78e9b96bd41c9c9ca41..573ff655cbd3c540e8618b111a43df0816ef1af5 100644 (file)
@@ -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"