diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2021-04-19 12:50:37 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2021-04-19 12:50:37 +0000 |
commit | d48ccd9c3cc8351aa656fa743bd14d52b7777117 (patch) | |
tree | e20f64ef4d0c6878a638c0c12789423b3eb757d2 | |
parent | ca76aeca55f0fda97644eedef4b86e017209907c (diff) | |
parent | 972acec5432f9615b61390afa2fda207c7625133 (diff) |
Merge "SPEC-3414: provide file server resource option"
-rw-r--r-- | jjb/common/include-agl-kci-publish-build-meta.sh | 5 |
1 files changed, 5 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 5a79524a..b4dec252 100644 --- a/jjb/common/include-agl-kci-publish-build-meta.sh +++ b/jjb/common/include-agl-kci-publish-build-meta.sh @@ -12,23 +12,27 @@ kci-publish() { fi echo "DEBUG: GERRIT_PROJECT $GERRIT_PROJECT" + FSR="" # check GERRIT_PROJECT to find if we build an app or not 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" + FSR="AGL/snapshots/$GERRIT_BRANCH/latest/$TARGETMACHINE" 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" + FSR="AGL/upload/ci/$GERRIT_CHANGE_NUMBER/$GERRIT_PATCHSET_NUMBER/$TARGETMACHINE" else # for release BUILD_VERSION="AGL-gerrit-$RELEASE_BRANCH-$RELEASE_VERSION" KERNEL_VERSION="$DIST_BB_DISTRO_VERSION" echo "RELEASE: $BUILD_VERSION $KERNEL_VERSION" + FSR="AGL/release/$RELEASE_BRANCH/$RELEASE_VERSION/$TARGETMACHINE" fi fi @@ -72,6 +76,7 @@ kci-publish() { --build_version $BUILD_VERSION \ --commit $DIST_BUILD_HASH \ --arch $TARGETARCH \ + --fsr $FSR \ --branch $GERRIT_BRANCH \ --kernel_version $KERNEL_VERSION \ --api http://kernelci.dev.baylibre.com:8081/ |