aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2021-05-04 07:51:35 +0000
committerCorentin LABBE <clabbe@baylibre.com>2021-06-23 14:16:45 +0000
commit1e6660ff25a5e9426cbec2cf57d606d38db1911c (patch)
treefc7e36f5ae053237878709500fc1b5e49027ba25
parent023cd31c26bb6ae00dd0e08be54f92bbf628123b (diff)
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 <clabbe@baylibre.com>
-rw-r--r--jjb/common/include-agl-kci-publish-build-meta.sh9
1 files changed, 9 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 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