summaryrefslogtreecommitdiffstats
path: root/bin/lvc_retreive_artifacts.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/lvc_retreive_artifacts.sh')
-rwxr-xr-xbin/lvc_retreive_artifacts.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/lvc_retreive_artifacts.sh b/bin/lvc_retreive_artifacts.sh
new file mode 100755
index 00000000..4ec30577
--- /dev/null
+++ b/bin/lvc_retreive_artifacts.sh
@@ -0,0 +1,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."