From: Jan-Simon Möller Date: Sun, 13 Aug 2017 10:49:43 +0000 (+0200) Subject: Pull down the submodules within the app X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=c8b1008aca50eefab11b3751db932d0f5593c0eb;p=ci-management.git Pull down the submodules within the app Change-Id: I64a7ed6370dcaee19495caf2be5af1143b6514b3 Signed-off-by: Jan-Simon Möller --- diff --git a/jjb/common/include-apps-build-app.sh b/jjb/common/include-apps-build-app.sh index babd2907..0febb1a1 100644 --- a/jjb/common/include-apps-build-app.sh +++ b/jjb/common/include-apps-build-app.sh @@ -46,7 +46,7 @@ if [[ ! x"yes" = x"$HANDLED" ]] && $(echo "$TARGETPROJECT" | grep -q "apps/"); t # clone git rm -rf ${MYPROJECT} - git clone --recursive https://${GERRIT_HOST}/gerrit/${GERRIT_PROJECT}.git + git clone --recurse-submodules --recursive https://${GERRIT_HOST}/gerrit/${GERRIT_PROJECT}.git pushd ${MYPROJECT} git log -1 --pretty=oneline if test x"" != x"${TARGETREFSPEC}" ; then