aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/ci-apps-verify/ci-apps-jjb.local.sh
blob: 404ce61ea131b7331ed7b6071a8aa9d3c199db93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash

set -x
export AGLBRANCH=master
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="cb8db512e462af970735aa86781ca2cfa58d0760"
export GERRIT_HOST="gerrit.automotivelinux.org"
export GERRIT_PORT="29418"

export -p > env.save

THISPWD=$(pwd)
for TARGETARCH in aarch64 arm x86-64; do
pushd $THISPWD

for i in `compgen -e | grep -v ^PATH`; do
    unset $i
done

source env.save

rm -rf ~/agl-sdk || true

. ../common/include-apps-header.sh
. ../common/include-apps-fetch-install-sdk.sh
. ../common/include-apps-build-app.sh
. ../common/include-apps-prepare-upload-folder.sh
# do not really upload
#. ../common/include-apps-rsync-download-changeid.sh

popd

ls -R UPLOAD

done