diff options
author | 2018-04-27 23:12:44 +0200 | |
---|---|---|
committer | 2018-04-28 00:18:10 +0200 | |
commit | 2353fe40cad9d9cc230f0617c879100f5b484bf3 (patch) | |
tree | 08bdd1cd15bfafa867642e712840b43abc7a63ee /jjb/common/include-xds-prepare-upload-folder.sh | |
parent | 6857c02981667d84241ba8f232396071c530eeb1 (diff) |
Add template for build of xds-server in CI
Change-Id: I15fe3da53ef882657161111cfb179cf8307778a1
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common/include-xds-prepare-upload-folder.sh')
-rw-r--r-- | jjb/common/include-xds-prepare-upload-folder.sh | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/jjb/common/include-xds-prepare-upload-folder.sh b/jjb/common/include-xds-prepare-upload-folder.sh new file mode 100644 index 00000000..e28e462a --- /dev/null +++ b/jjb/common/include-xds-prepare-upload-folder.sh @@ -0,0 +1,31 @@ +#!/bin/bash + +#set -x +set -e + +echo -e "\n\n\n" +echo "#########################################" +echo -e "\n\n\n" + + + +# construct upload folder +#mv UPLOAD UPLOAD2 || true +rm -rf UPLOAD/${AGLBRANCH} || true +mkdir -p UPLOAD/${AGLBRANCH}/ +export DEST=$(pwd)/UPLOAD/${AGLBRANCH}/ + +pushd ${MYPROJECT} +pwd + +ls -alh + +ls + +ls package || true + +cp src/gerrit.automotivelinux.org/gerrit/${GERRIT_PROJECT}/*.zip $DEST + +ls -alh $DEST + +popd |