aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-repo.sh
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-07-26 13:56:15 +0200
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-07-26 13:56:15 +0200
commit06d2754dd81c1e04d42b6acfcc767e9e23c6b584 (patch)
tree430c07b3ae3a467b7d656fb8d9c49e55e5be270d /jjb/common/include-agl-repo.sh
parent21ccef43cb43ca7028100be529563f9ca6e48ae7 (diff)
Special case meta-renesas-rcar-gen3 as branches are not aligned
Change-Id: I6c4d7192c0b121beb50e777e49ecec9193361596 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common/include-agl-repo.sh')
-rw-r--r--jjb/common/include-agl-repo.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/jjb/common/include-agl-repo.sh b/jjb/common/include-agl-repo.sh
index fee52137..1d27c71d 100644
--- a/jjb/common/include-agl-repo.sh
+++ b/jjb/common/include-agl-repo.sh
@@ -19,7 +19,11 @@ cd repoclone
export REPODIR=`pwd`
if test x"" = x"${RELEASE_VERSION}" -a x"" = x"${RELEASE_BRANCH}" ; then
- repo init --reference=/opt/AGL/preclone -q -b $TARGETBRANCH -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo
+ if test x"meta-renesas-rcar-gen3" = x"${TARGETPROJECT}" ; then
+ repo init --reference=/opt/AGL/preclone -q -b master -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo
+ else
+ repo init --reference=/opt/AGL/preclone -q -b $TARGETBRANCH -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo
+ fi
else
repo init --reference=/opt/AGL/preclone -q -b $TARGETBRANCH -m ${RELEASE_BRANCH}_${RELEASE_VERSION}.xml -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo
fi