aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2020-02-10 10:53:00 +0100
committerCorentin LABBE <clabbe@baylibre.com>2020-02-10 10:54:09 +0100
commit6dc333a3e0fc28db67683863e815a60770506978 (patch)
tree662b8c81734911941b10df643636018648fd8f6c
parent76b384eca036242381a142a70334d4c39471d833 (diff)
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 <clabbe@baylibre.com>
-rw-r--r--jjb/common/include-agl-run-test-prepare.sh4
1 files changed, 2 insertions, 2 deletions
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