summaryrefslogtreecommitdiffstats
path: root/bin/lvc_retrieve_artifacts.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/lvc_retrieve_artifacts.sh')
-rwxr-xr-xbin/lvc_retrieve_artifacts.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/lvc_retrieve_artifacts.sh b/bin/lvc_retrieve_artifacts.sh
new file mode 100755
index 00000000..146558b6
--- /dev/null
+++ b/bin/lvc_retrieve_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_NODE:$TRIG_RESULTS/ /$TRIG_RESULTS/
+chmod 775 $TRIG_RESULTS
+echo "$(date -u) - the end."