From 509d6162e743f6fcc36d34445bdb332acc103807 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Mon, 29 Mar 2021 09:08:03 +0000 Subject: SPEC-3414: use agl-publish --kernel-version We need to provide --kernel-version to agl-publish Change-Id: I6f4aead97abf7c5c04f4ff007024ee8046f3522b Bug-AGL: SPEC-3414 Signed-off-by: Corentin LABBE --- jjb/common/include-agl-kci-publish-build-meta.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'jjb/common') diff --git a/jjb/common/include-agl-kci-publish-build-meta.sh b/jjb/common/include-agl-kci-publish-build-meta.sh index 26f2bf0b..5a79524a 100644 --- a/jjb/common/include-agl-kci-publish-build-meta.sh +++ b/jjb/common/include-agl-kci-publish-build-meta.sh @@ -16,13 +16,19 @@ kci-publish() { if echo $GERRIT_PROJECT |grep -q apps ;then # for app BUILD_VERSION="AGL-app-gerrit-$GERRIT_CHANGE_NUMBER-$GERRIT_PATCHSET_NUMBER" + KERNEL_VERSION="$BUILD_VERSION" + echo "APP: $BUILD_VERSION $KERNEL_VERSION" else if [ -z "$RELEASE_BRANCH" ];then # for CI BUILD_VERSION="AGL-gerrit-$GERRIT_CHANGE_NUMBER-$GERRIT_PATCHSET_NUMBER" + KERNEL_VERSION="$DIST_BUILD_TOPIC" + echo "CI: $BUILD_VERSION $KERNEL_VERSION" else # for release BUILD_VERSION="AGL-gerrit-$RELEASE_BRANCH-$RELEASE_VERSION" + KERNEL_VERSION="$DIST_BB_DISTRO_VERSION" + echo "RELEASE: $BUILD_VERSION $KERNEL_VERSION" fi fi @@ -67,6 +73,7 @@ kci-publish() { --commit $DIST_BUILD_HASH \ --arch $TARGETARCH \ --branch $GERRIT_BRANCH \ + --kernel_version $KERNEL_VERSION \ --api http://kernelci.dev.baylibre.com:8081/ # DEBUG purpose, verify what is uploaded if [ -e agl-build-meta ];then -- cgit 1.2.3-korg