From: David Galloway Date: Tue, 25 May 2021 19:54:35 +0000 (-0400) Subject: kernel: Export sha1 as an env variable so shaman build URLs work X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1825%2Fhead;p=ceph-build.git kernel: Export sha1 as an env variable so shaman build URLs work Signed-off-by: David Galloway --- diff --git a/kernel/build/setup b/kernel/build/setup index b3fe421a9..e698f5963 100644 --- a/kernel/build/setup +++ b/kernel/build/setup @@ -84,5 +84,9 @@ cd "$WORKSPACE" # Clean the git repo git clean -fxd +# Export the SHA1 so links work here: https://shaman.ceph.com/builds/kernel/ +# This gets sent to update_build_status which calls submit_build_status in build_utils.sh. +export SHA1="${GIT_COMMIT}" + # create build status in shaman create_build_status "started" "kernel" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $ARCH