diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2016-12-31 12:25:01 +0100 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2016-12-31 12:25:01 +0100 |
commit | f21661f1bdf1ee71ffc1fb10b93309459368d546 (patch) | |
tree | 92adbd10d638f63743a135609d3cf92443bb7cd6 /jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh | |
parent | 177e665eaca5c62e53ca0cb69fa15d4d4ab962e6 (diff) |
release-jjb-chinook-snapshot
Change-Id: I3f7d63125e980d9801263e939e58effc4230903b
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh')
-rw-r--r-- | jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh b/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh new file mode 100644 index 00000000..96771423 --- /dev/null +++ b/jjb/release-jjb-chinook-snapshot/include-release-jjb-chinook-snapshot-rsync.sh @@ -0,0 +1,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
\ No newline at end of file |