blob: 4ec305774aa1ff3fb8c04a7a577cd5d3e72c3609 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash
# Copyright 2015 Holger Levsen <holger@layer-acht.org>
# released under the GPLv=2
DEBUG=true
. /srv/jenkins/bin/common-functions.sh
common_init "$@"
# main
echo "$(date -u) - Starting to rsync results."
rsync -r -v -e "ssh -o 'Batchmode = yes'" $TRIG_HOST:$TRIG_RESULTS/ $TRIG_RESULTS/
chmod 775 $RESULTS
echo "$(date -u) - the end."
|