diff options
author | 2018-06-15 22:14:26 +0200 | |
---|---|---|
committer | 2018-06-15 22:14:26 +0200 | |
commit | 0bac36c42b2dfd915c2ff1e89406a05456266f68 (patch) | |
tree | 92064f4af499fe02b92503724772ba2526ca1673 /jjb/common/include-agl-run-test-rsync-changeid.sh | |
parent | 7674c15ca818e14a8599b3f20b34ef3b9d89f655 (diff) |
Also upload changeID artifacts to storagebox
Change-Id: I96df1500304f1325acbb8691cd350e4e501fbebf
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common/include-agl-run-test-rsync-changeid.sh')
-rw-r--r-- | jjb/common/include-agl-run-test-rsync-changeid.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/jjb/common/include-agl-run-test-rsync-changeid.sh b/jjb/common/include-agl-run-test-rsync-changeid.sh index be3f68bb..b8de28c1 100644 --- a/jjb/common/include-agl-run-test-rsync-changeid.sh +++ b/jjb/common/include-agl-run-test-rsync-changeid.sh @@ -10,6 +10,7 @@ echo "\n\n\n" export RSYNCDST="/srv/download/AGL/upload/ci/${GERRIT_CHANGE_NUMBER}/${GERRIT_PATCHSET_NUMBER}" export RSYNCSRC=$(pwd)/UPLOAD/ +export RSYNCSRC-storage=$(pwd)/UPLOAD-storage/ # construct upload folder mv UPLOAD UPLOAD2 || true @@ -17,6 +18,8 @@ rm -rf UPLOAD2 || true mkdir -p UPLOAD/${MACHINE} export DEST=$(pwd)/UPLOAD/${MACHINE} +export DEST2=$(pwd)/UPLOAD-storage/AGL/upload/ci/${GERRIT_CHANGE_NUMBER}/${GERRIT_PATCHSET_NUMBER}/ +mkdir -p ${DEST2} cd $REPODIR @@ -30,6 +33,7 @@ for i in DEVICE_DTB DEVICE_KERNEL DEVICE_INITRAMFS DEVICE_NBDROOT; do FILE=$(eval echo \$${i}) if [ -n "$FILE" ]; then cp -avL tmp/deploy/images/${TARGETMACHINE}/${FILE} ${DEST}/ + cp -avL tmp/deploy/images/${TARGETMACHINE}/${FILE} ${DEST2}/ fi done @@ -39,3 +43,9 @@ ls -alhR $DEST 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 + + + +#storagebox: +rsync -avr --progress -e "ssh -p23 -o StrictHostKeyChecking=no" ${RSYNCSRC-storage}/ u180031-sub2@u180031-sub2.your-storagebox.de:./ + |