aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-apps-rsync-download-changeid.sh
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-06-09 19:16:00 +0200
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-06-09 22:03:01 +0200
commitcf1fc8e08722790752176df0d875a1be8e9c3a32 (patch)
tree8607eda81c8c6e543bc0861881482053b204e295 /jjb/common/include-apps-rsync-download-changeid.sh
parent60ab5c6e78b375c51051a7eacccf5f9ba3c9b37f (diff)
Update application build to support multiarch builds and upload
Change-Id: I1998a8a0ae8ad16029fb834e87f06cdc760426d1 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common/include-apps-rsync-download-changeid.sh')
-rw-r--r--jjb/common/include-apps-rsync-download-changeid.sh12
1 files changed, 5 insertions, 7 deletions
diff --git a/jjb/common/include-apps-rsync-download-changeid.sh b/jjb/common/include-apps-rsync-download-changeid.sh
index ad07c9f1..d6e9f8a3 100644
--- a/jjb/common/include-apps-rsync-download-changeid.sh
+++ b/jjb/common/include-apps-rsync-download-changeid.sh
@@ -12,21 +12,19 @@ export RSYNCDST="/srv/download/AGL/upload/ci/${GERRIT_CHANGE_NUMBER}/${GERRIT_PA
export RSYNCSRC=$(pwd)/UPLOAD/
# construct upload folder
-mv UPLOAD UPLOAD2 || true
-rm -rf UPLOAD2 || true
+#mv UPLOAD UPLOAD2 || true
+rm -rf UPLOAD/${TARGETARCH} || true
mkdir -p UPLOAD/${TARGETARCH}
export DEST=$(pwd)/UPLOAD/${TARGETARCH}
-pwd
-
+pushd ${MYPROJECT}
ls
-
ls package
-
cp package/*.wgt $DEST
-tree $DEST
ls -alh $DEST
+LANG=C tree $RSYNCSRC
+popd
ssh -o StrictHostKeyChecking=no jenkins-slave@10.30.72.8 mkdir -p ${RSYNCDST}
rsync -avr -L -e "ssh -o StrictHostKeyChecking=no" $RSYNCSRC jenkins-slave@10.30.72.8:$RSYNCDST