aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/pre-fetch/include-rsync-prefetch.sh
blob: 6269c39dbb9aa50899268467e84d89f687391f8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

#set -x
set -e

#ls -alh

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

rsync -avr -e "ssh -o StrictHostKeyChecking=no" $RSYNCSRC $RSYNCDST

exit 0