aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-apps-rsync-download-apprepo.sh
blob: 3d8e1e10850260efaa3c8e6b7e6af96562a16582 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

#set -x
set -e

echo -e "\n\n\n"
echo "#########################################"
echo -e "\n\n\n"
#                                       project branch date(latest)
export RSYNCDST="/srv/download/AGL/apps/"
export RSYNCSRC=$(pwd)/UPLOAD/
LANG=C tree $RSYNCSRC

set

exit 0
ssh -o StrictHostKeyChecking=no jenkins-slave@10.30.72.8 mkdir -p ${RSYNCDST}
rsync -avr -l --copy-unsafe-links -e "ssh -o StrictHostKeyChecking=no" $RSYNCSRC jenkins-slave@10.30.72.8:$RSYNCDST