From 6dc333a3e0fc28db67683863e815a60770506978 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Mon, 10 Feb 2020 10:53:00 +0100 Subject: SPEC-2978: clone the release branches We get to a point where we have board differences between releases also in releng-scripts. This patch adapt ci-management to clone the $AGLBRANCH instead of just 'release'. Bug-AGL: SPEC-2978 Change-Id: I759a857655200f4a8ca833173557219f8a0282ca Signed-off-by: Corentin LABBE --- jjb/common/include-agl-run-test-prepare.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jjb/common/include-agl-run-test-prepare.sh') diff --git a/jjb/common/include-agl-run-test-prepare.sh b/jjb/common/include-agl-run-test-prepare.sh index 33970672..9cbb9268 100644 --- a/jjb/common/include-agl-run-test-prepare.sh +++ b/jjb/common/include-agl-run-test-prepare.sh @@ -10,9 +10,9 @@ cd $REPODIR # clone repo for templates and related utils, add to $PATH for later use if [ ! -e releng-scripts ]; then - git clone --branch release https://git.automotivelinux.org/AGL/releng-scripts + git clone --branch $AGLBRANCH https://git.automotivelinux.org/AGL/releng-scripts else - (cd releng-scripts; git remote update; git checkout -f origin/release) + (cd releng-scripts; git remote update; git checkout -f origin/$AGLBRANCH) fi if [ -e releng-scripts/utils ]; then -- cgit 1.2.3-korg