From a97bc5608d53f17a2a783b381a12b94a213ef370 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Tue, 25 May 2021 15:54:35 -0400 Subject: [PATCH] kernel: Export sha1 as an env variable so shaman build URLs work Signed-off-by: David Galloway --- kernel/build/setup | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5