From: Jan-Simon Möller Date: Fri, 5 Nov 2021 12:14:50 +0000 (+0100) Subject: Add missing commit variable X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=d4cf4fb8b6b85c34495086d1af2fa05ea5b4174f;p=ci-management.git Add missing commit variable Signed-off-by: Jan-Simon Möller Change-Id: I7f6a95201bac7ef409fbac9171cbbdd5a8932bf0 --- diff --git a/jjb/common/include-agl-kci-publish-build-meta.sh b/jjb/common/include-agl-kci-publish-build-meta.sh index 885b8c91..26db2385 100644 --- a/jjb/common/include-agl-kci-publish-build-meta.sh +++ b/jjb/common/include-agl-kci-publish-build-meta.sh @@ -75,6 +75,8 @@ kci-publish() { echo "DEBUG: arch $TARGETARCH" echo "DEBUG: branch $GERRIT_BRANCH" + [[ -z $DIST_BUILD_HASH ]] && DIST_BUILD_HASH="$BUILD_VERSION" + $RELENG/utils/agl-publish.py --machine ${TARGETMACHINE} \ --build_version $BUILD_VERSION \ --commit $DIST_BUILD_HASH \