summaryrefslogtreecommitdiffstats
path: root/bin/lvc_retreive_artifacts.sh
blob: 146558b602872db14239f6d7f990a3ccc2593b01 (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_NODE:$TRIG_RESULTS/ /$TRIG_RESULTS/
chmod 775 $TRIG_RESULTS
echo "$(date -u) - the end."