aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2021-11-05 13:14:50 +0100
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2021-11-05 13:14:50 +0100
commitd4cf4fb8b6b85c34495086d1af2fa05ea5b4174f (patch)
treeec22f6b8397c2cc4f427c70a17685b31d0221d60
parent47e67bd0fc909dcd6021d168caea9ff0a2d43a67 (diff)
Add missing commit variable
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I7f6a95201bac7ef409fbac9171cbbdd5a8932bf0
-rw-r--r--jjb/common/include-agl-kci-publish-build-meta.sh2
1 files changed, 2 insertions, 0 deletions
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 \