diff options
Diffstat (limited to 'jjb/common/include-apps-rsync-download-changeid.sh')
-rw-r--r-- | jjb/common/include-apps-rsync-download-changeid.sh | 12 |
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 |