diff options
Diffstat (limited to 'jjb/common/include-agl-kci-publish-build-meta.sh')
-rw-r--r-- | jjb/common/include-agl-kci-publish-build-meta.sh | 7 |
1 files changed, 7 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 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 |