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.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a97bc5608d53f17a2a783b381a12b94a213ef370;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 b3fe421a..e698f596 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