aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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