diff options
Diffstat (limited to 'jjb/common/include-apps-build-app.sh')
-rw-r--r-- | jjb/common/include-apps-build-app.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/jjb/common/include-apps-build-app.sh b/jjb/common/include-apps-build-app.sh index 694dcf7d..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 @@ -73,6 +73,12 @@ if [[ ! x"yes" = x"$HANDLED" ]] && $(echo "$TARGETPROJECT" | grep -q "apps/"); t conf.d/autobuild/agl/autobuild package DEST=$(pwd)/package/ export DONE=1 fi + if test x"0" = x"$DONE" -a -f CMakeLists.txt; then + cmake . + make + make package || true + export DONE=1 + fi if test x"0" = x"$DONE" -a -f Makefile ; then make make package |