From 1e6660ff25a5e9426cbec2cf57d606d38db1911c Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Tue, 4 May 2021 07:51:35 +0000 Subject: SPEC-3414: publish build on AGL's kernelCI This patch duplicate the agl-publish call but with AGL's kernelCI API. This patch needs AGL token to be added as secret on jenkins. Change-Id: I624fd9336fe120968e096db07e3f191c538c02df Bug-AGL: SPEC-3414 Signed-off-by: Corentin LABBE --- jjb/common/include-agl-kci-publish-build-meta.sh | 9 +++++++++ 1 file changed, 9 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 f8d8d895..885b8c91 100644 --- a/jjb/common/include-agl-kci-publish-build-meta.sh +++ b/jjb/common/include-agl-kci-publish-build-meta.sh @@ -83,6 +83,15 @@ kci-publish() { --branch $GERRIT_BRANCH \ --kernel_version $KERNEL_VERSION \ --api http://kernelci.dev.baylibre.com:8081/ + + $RELENG/utils/agl-publish.py --machine ${TARGETMACHINE} \ + --build_version $BUILD_VERSION \ + --commit $DIST_BUILD_HASH \ + --arch $TARGETARCH \ + --fsr $FSR \ + --branch $GERRIT_BRANCH \ + --kernel_version $KERNEL_VERSION \ + --api https://kernelci.automotivelinux.org:8081/ # DEBUG purpose, verify what is uploaded if [ -e agl-build-meta ];then find agl-build-meta -type f | xargs cat -- cgit 1.2.3-korg