aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh
blob: 96771423dee03e421ba681e93ff080ce3efd5561 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

#set -x
set -e

#ls -alh

export RSYNCSRC="$(pwd)/mirror/"
export RSYNCDST="jenkins-slave@10.30.72.8:/srv/download/AGL/mirror/"

echo "would do rsync -avr -e \"ssh -o StrictHostKeyChecking=no\" $RSYNCSRC $RSYNCDST "

if x"true" = x"$UPLOAD" ; then
echo upload
fi

exit 0