diff options
author | 2017-09-18 00:52:47 +0200 | |
---|---|---|
committer | 2017-09-18 01:47:46 +0200 | |
commit | c03de42226fa655cca3db103b3cdc291b829f405 (patch) | |
tree | ebfd686773edb7640818acf694b065b64b7e1732 /jjb/common/include-apps-prepare-upload-folder.sh | |
parent | 72525273dc11c1d61a7091cb1cdad171a2e321c3 (diff) |
Update application CI job and extend local test script
Change-Id: I0f6609aeddc4b9b2d335921d980db6f4978b2cb6
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common/include-apps-prepare-upload-folder.sh')
-rw-r--r-- | jjb/common/include-apps-prepare-upload-folder.sh | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/jjb/common/include-apps-prepare-upload-folder.sh b/jjb/common/include-apps-prepare-upload-folder.sh new file mode 100644 index 00000000..e883e610 --- /dev/null +++ b/jjb/common/include-apps-prepare-upload-folder.sh @@ -0,0 +1,36 @@ +#!/bin/bash + +#set -x +set -e + +echo -e "\n\n\n" +echo "#########################################" +echo -e "\n\n\n" + + + +# construct upload folder +#mv UPLOAD UPLOAD2 || true +if test x"" = x"${AGLBRANCH}" ; then + rm -rf UPLOAD/${TARGETARCH} || true + mkdir -p UPLOAD/${TARGETARCH} + export DEST=$(pwd)/UPLOAD/${TARGETARCH} +else + rm -rf UPLOAD/${AGLBRANCH}/${TARGETARCH} || true + mkdir -p UPLOAD/${AGLBRANCH}/${TARGETARCH} + export DEST=$(pwd)/UPLOAD/${AGLBRANCH}/${TARGETARCH} +fi + +pushd ${MYPROJECT} +pwd + +ls -alh + +ls + +ls package || true + +cp package/*.wgt $DEST +ls -alh $DEST + +popd |