aboutsummaryrefslogtreecommitdiff
path: root/lt-qcom-linux
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linaro.org>2019-02-26 15:55:33 -0600
committerAnibal Limon <anibal.limon@linaro.org>2019-02-27 20:20:54 +0000
commit5be6be8296f5e8902f462a2a7ddd44df50a361eb (patch)
tree34b985d5c83511a6e6e9aca5dbb0b97bac93761d /lt-qcom-linux
parent6055a11fde4385a1823063f8b36920f5dc6e8ac4 (diff)
lt-qcom-linux-build.yaml: Publish builds by branch name
We aim to track changes in different Kernel branches in order to build/publish using the same job add branch name to the folder tree. Change-Id: Ibabaf79104e237d25e4e98317e1f71c248d48e66 Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Diffstat (limited to 'lt-qcom-linux')
-rw-r--r--lt-qcom-linux/build-kernel.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/lt-qcom-linux/build-kernel.sh b/lt-qcom-linux/build-kernel.sh
index b4539b4d..75a5eb67 100644
--- a/lt-qcom-linux/build-kernel.sh
+++ b/lt-qcom-linux/build-kernel.sh
@@ -58,3 +58,7 @@ cp build/arch/$ARCH/boot/Image* ${WORKSPACE}/out
(cd build/arch/$ARCH/boot/dts && cp -a --parents $(find . -name *.dtb) ${WORKSPACE}/out/dtbs)
popd
+
+# publish builds by branch
+BRANCH_NAME_URL=$(echo ${KERNEL_BRANCH} | sed -e 's/[^A-Za-z0-9._-]/_/g')
+echo "PUB_DEST=member-builds/qcomlt/kernel/${BRANCH_NAME_URL}/${BUILD_NUMBER}" > pub_dest_parameters