Do build and upload multiple wgt files for applications 97/25097/1
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 11 Aug 2020 15:24:19 +0000 (17:24 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 11 Aug 2020 15:24:19 +0000 (17:24 +0200)
This change will allow to build and upload
- release
- debug
- coverage
- test
wgt files.

Bug-AGL: SPEC-3482
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I5e7adb40442dd8a9abc3268e4e635c2451e54732

jjb/ci-apps-verify/ci-apps-jjb.local.sh
jjb/common/include-apps-build-app.sh
jjb/common/include-apps-prepare-upload-folder.sh

index 3248c72..404ce61 100755 (executable)
@@ -1,12 +1,12 @@
 #!/bin/bash
 
-#set -x
+set -x
 export AGLBRANCH=master
-export GERRIT_REFSPEC="refs/changes/51/9551/2"
-export GERRIT_PROJECT="apps/mediaplayer"
-export GERRIT_CHANGE_NUMBER="10799"
+export GERRIT_REFSPEC="refs/changes/46/25046/1"
+export GERRIT_PROJECT="apps/agl-service-bluetooth"
+export GERRIT_CHANGE_NUMBER="25046"
 export GERRIT_PATCHSET_NUMBER="1"
-export GERRIT_PATCHSET_REVISION="1a1ff962da92aff5a1d3e757710c725e03238458"
+export GERRIT_PATCHSET_REVISION="cb8db512e462af970735aa86781ca2cfa58d0760"
 export GERRIT_HOST="gerrit.automotivelinux.org"
 export GERRIT_PORT="29418"
 
index 4a70820..112d46c 100644 (file)
@@ -60,7 +60,7 @@ if [[ ! x"yes" = x"$HANDLED" ]] && $(echo "$TARGETPROJECT" | grep -q "apps/"); t
             pip install --user git-review
             git review -d ${GERRIT_CHANGE_NUMBER},${GERRIT_PATCHSET_NUMBER}
           fi
-          sleep 2
+          #sleep 2
           # if not reset, we leave it to master
         fi
 
@@ -69,7 +69,7 @@ if [[ ! x"yes" = x"$HANDLED" ]] && $(echo "$TARGETPROJECT" | grep -q "apps/"); t
            git submodule init && git submodule update
         fi
 
-        git log -1 --pretty=oneline
+        git log -1 --pretty=oneline | more
 
         export DONE=0
         export isAUTOBUILD=0
@@ -90,8 +90,11 @@ if [[ ! x"yes" = x"$HANDLED" ]] && $(echo "$TARGETPROJECT" | grep -q "apps/"); t
            echo "  autobuild/agl/autobuild package-all DEST=somefolder"
            exit 1
         fi
+    ls -alh
+    ls -alh package || true
 
     popd
 
     HANDLED="yes"
 fi
+
index 7bb69fe..803cc54 100644 (file)
@@ -22,44 +22,12 @@ else
 fi
 
 pushd ${MYPROJECT}
-pwd
-ls -alh
+#pwd
+ls -alh package
 
 if test x"$isAUTOBUILD" = x"1" ; then
-  if [ "$(ls -l package/*.wgt | wc -l)" = "1" ] ; then
-    echo "isAUTOBUILD"
-    # use just ./package/ for wgt's
-    ls package || true
-    cp package/*.wgt $DEST
-  elif [ "$(ls -l build/package/*.wgt | wc -l)" = "1" ] ; then
-    # use just ./build/package/ for wgt's
-    ls build/package || true
-    cp build/package/*.wgt $DEST
-  fi
+  cp package/*.wgt $DEST
 fi
-######################################################################
-# /!\/!\/!\   DEPRECATED FALLBACK WAY TO BUILD AGL APPS /!\/!\/!\    #
-######################################################################
-
-if test x"$isCMAKE" = x"1" ; then
-  echo "isCMAKE"
-  # use cmake build/package folder for wgt's ...
-  ls build/package/ || true
-  cp build/package/*.wgt $DEST
-fi
-if test x"$isMAKE" = x"1" ; then
-    echo "isMAKE"
-    # use just ./package/ for wgt's
-    ls package || true
-    cp package/*.wgt $DEST
-fi
-if test x"$isQMAKE" = x"1" ; then
-    echo "isQMAKE"
-    # use just ./package/ for wgt's
-    ls package || true
-    cp package/*.wgt $DEST
-fi
-
 
 ls -alh $DEST